summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2018-05-01 20:18:48 +0200
committerMichael Weber <xmw@gentoo.org>2018-05-01 20:19:31 +0200
commitbdefa8aa7233f5b79bc4c259d42f052bf41e4217 (patch)
tree0c2460be5800ee6c83859e1bd629680d7a1e9892 /media-libs
parentx11-libs/libfakekey: Remove 0.1-r1 (diff)
downloadgentoo-bdefa8aa7233f5b79bc4c259d42f052bf41e4217.tar.gz
gentoo-bdefa8aa7233f5b79bc4c259d42f052bf41e4217.tar.bz2
gentoo-bdefa8aa7233f5b79bc4c259d42f052bf41e4217.zip
media-libs/libdcp: Version bump
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libdcp/Manifest1
-rw-r--r--media-libs/libdcp/libdcp-1.5.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libdcp/Manifest b/media-libs/libdcp/Manifest
index d42adc72973f..3a8f89d8deae 100644
--- a/media-libs/libdcp/Manifest
+++ b/media-libs/libdcp/Manifest
@@ -1,2 +1,3 @@
DIST libdcp-1.3.4.tar.bz2 737458 BLAKE2B 6780222106677bc91b1093c470a078d8bb16dff11d32515e3296438beb4fbed084e8a0fbc09601243d6a348d5ae75019b098be09e9ac3f0b92659872d3c28d11 SHA512 bcf7c2218a55d3cc4cb1edf4c84592ce5952892d7f57a652cd3157aa5d34f041a4759aa7fd50451bfbe13985195424ba29a62c9c3a163367583e4c65ec5b19b1
DIST libdcp-1.4.4.tar.bz2 739413 BLAKE2B dd04da12fd24cc4ec01fb5eb2a04d73cbe0ed1eb8e4c11a6ea0c52806715a1de20ab22924635b8bf3a271a8509959fcd6ac8dbbd5d87cb402273b8b8ca887f8a SHA512 589634eb56bc23437752a9b32e849332cd8e0f04991c63f583ce06ab7343f02226bc1e2faead13edba2dab9bca86c89adaf83df7779c427f167e461c2d6dabbd
+DIST libdcp-1.5.2.tar.bz2 754546 BLAKE2B 69cedd7a782fe89e538b893a6f919515e87bbb24331a189cde6d16bafcc9d2a442156a5db58eb963088511ca2b233a24695d1a124a7830f955f8074b1b059d30 SHA512 717486e06af2f89795dcaff09ccea38eeba786a55bc3df01acc576749a475df4a6dbd74b3edaceb08af5615468c24f45fec0527b315e2e5842683333f9118499
diff --git a/media-libs/libdcp/libdcp-1.5.2.ebuild b/media-libs/libdcp/libdcp-1.5.2.ebuild
new file mode 100644
index 000000000000..6df4350313eb
--- /dev/null
+++ b/media-libs/libdcp/libdcp-1.5.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+inherit python-any-r1 waf-utils
+
+DESCRIPTION="create and read Digital Cinema Packages using JPEG2000 and WAV files"
+HOMEPAGE="http://carlh.net/libdcp"
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="1.0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-cpp/glibmm:2
+ dev-cpp/libxmlpp:2.6
+ >=dev-libs/boost-1.61.0
+ >=dev-libs/libcxml-0.15.4
+ dev-libs/libsigc++:2
+ dev-libs/libxml2
+ dev-libs/openssl:0
+ dev-libs/xmlsec
+ >=media-libs/libasdcp-cth-0.1.3
+ media-libs/openjpeg:2
+ || ( media-gfx/graphicsmagick media-gfx/imagemagick )"
+DEPEND="${RDEPEND}
+ dev-util/waf
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ test? ( app-text/xmldiff )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.3.3-no-ldconfig.patch
+ "${FILESDIR}"/${PN}-1.3.4-respect-cxxflags.patch )
+
+src_prepare() {
+ rm -v waf || die
+ export WAF_BINARY=${EROOT}usr/bin/waf
+
+ ewarn "Some tests failing due missing files/certs are disabled."
+ sed -e '/atmos_test.cc/d' \
+ -e '/certificates_test.cc/d' \
+ -e '/dcp_test.cc/d' \
+ -e '/decryption_test.cc/d' \
+ -e '/read_smpte_subtitle_test.cc/d' \
+ -e '/sound_frame_test.cc/d' \
+ -i test/wscript || die
+
+ default
+}
+
+src_test() {
+ ./build/test/tests || die
+}