From: Michael Weber Date: Thu, 2 Mar 2017 17:33:52 +0000 (+0100) Subject: media-libs/libsub: Initial import (required for dcpomatic). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34875e6198672313e1e0e679d2c6768e077f5e0d;p=gentoo.git media-libs/libsub: Initial import (required for dcpomatic). Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/media-libs/libsub/Manifest b/media-libs/libsub/Manifest new file mode 100644 index 000000000000..e1efd00785d9 --- /dev/null +++ b/media-libs/libsub/Manifest @@ -0,0 +1,2 @@ +DIST libsub-1.1.13.tar.bz2 178168 SHA256 3ec6e40e3f45fc67b61e0746cb509c1e251fc22c639785deeba0b8459f657af2 SHA512 85785ce69e52ce8d5746a9cf15178a9e98d13f63a4c899d13ff5df40ab871fd8ddbea0261b7e01ab9220973c0f9b6f0faeefe94c7f0755eaf43ae2674c367ea6 WHIRLPOOL cfdbad5596870b0b266037a329c3baab207e86451c9413b4612831bc699e9690920448279b268837a6f1d31ce26e73965ade49fa58bb762e2e51c26248e87ed7 +DIST libsub-1.2.4.tar.bz2 179025 SHA256 0c37a37d5445598bba2088006b1542155d1a7528a62fd95cd094acbc44eb5d61 SHA512 c7e5f73b5e46322434c5ad3235c374311e30df0e4d794645a716867e696683883b1576fb206e85db6aebe649c9e59299abac86a513c9ac93bd5ebefec826a63e WHIRLPOOL c954910e43252aba9d9dfa060493f41a3ac605d6f1b8e8cda4f110cea56937db30599b93345e593ee676828b317f73734b29a1aa7ba291f25252042f044faf13 diff --git a/media-libs/libsub/files/libsub-1.1.12-no-ldconfig.patch b/media-libs/libsub/files/libsub-1.1.12-no-ldconfig.patch new file mode 100644 index 000000000000..b0752b28e1ec --- /dev/null +++ b/media-libs/libsub/files/libsub-1.1.12-no-ldconfig.patch @@ -0,0 +1,9 @@ +--- libsub-1.1.12/wscript ++++ libsub-1.1.12/wscript +@@ -148,5 +148,4 @@ + sys.exit(-1) + + def post(ctx): +- if ctx.cmd == 'install': +- ctx.exec_command('/sbin/ldconfig') ++ pass diff --git a/media-libs/libsub/files/libsub-1.1.13-respect-cxxflags.patch b/media-libs/libsub/files/libsub-1.1.13-respect-cxxflags.patch new file mode 100644 index 000000000000..59687755c653 --- /dev/null +++ b/media-libs/libsub/files/libsub-1.1.13-respect-cxxflags.patch @@ -0,0 +1,14 @@ +--- libsub-1.1.13/wscript ++++ libsub-1.1.13/wscript +@@ -24,11 +24,6 @@ + conf.env.DISABLE_TESTS = conf.options.disable_tests + conf.env.API_VERSION = API_VERSION + +- if conf.options.enable_debug: +- conf.env.append_value('CXXFLAGS', '-g') +- else: +- conf.env.append_value('CXXFLAGS', '-O3') +- + # Disable libxml++ deprecation warnings for now + conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations']) + diff --git a/media-libs/libsub/files/libsub-1.2.4-no-ldconfig.patch b/media-libs/libsub/files/libsub-1.2.4-no-ldconfig.patch new file mode 100644 index 000000000000..cfb645d0d894 --- /dev/null +++ b/media-libs/libsub/files/libsub-1.2.4-no-ldconfig.patch @@ -0,0 +1,12 @@ +--- libsub-1.2.4/wscript ++++ libsub-1.2.4/wscript +@@ -151,8 +151,7 @@ + sys.exit(-1) + + def post(ctx): +- if ctx.cmd == 'install': +- ctx.exec_command('/sbin/ldconfig') ++ pass + + def tags(bld): + os.system('etags src/*.cc src/*.h') diff --git a/media-libs/libsub/libsub-1.1.13.ebuild b/media-libs/libsub/libsub-1.1.13.ebuild new file mode 100644 index 000000000000..5d20b0e6fe7e --- /dev/null +++ b/media-libs/libsub/libsub-1.1.13.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit python-any-r1 waf-utils + +DESCRIPTION="read and write subtitles in a few different formats" +HOMEPAGE="http://carlh.net/libsub" +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-cpp/glibmm:2 + dev-cpp/libxmlpp:2.6 + dev-libs/boost:= + + + + +xmw@gentoo.org +Michael Weber + +