Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libdcp/
Date: Thu, 25 May 2017 21:47:45
Message-Id: 1495748851.43b8e0649931f2fcbc04b59fade9b2fbf31a4b76.xmw@gentoo
1 commit: 43b8e0649931f2fcbc04b59fade9b2fbf31a4b76
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 25 21:23:09 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Thu May 25 21:47:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b8e064
7
8 media-libs/libdcp: Add live version for development media-video/dcpomatic.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-libs/libdcp/libdcp-9999.ebuild | 58 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 58 insertions(+)
14
15 diff --git a/media-libs/libdcp/libdcp-9999.ebuild b/media-libs/libdcp/libdcp-9999.ebuild
16 new file mode 100644
17 index 00000000000..5752e84d1dd
18 --- /dev/null
19 +++ b/media-libs/libdcp/libdcp-9999.ebuild
20 @@ -0,0 +1,58 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
27 +PYTHON_REQ_USE="threads(+)"
28 +inherit git-r3 python-any-r1 waf-utils
29 +
30 +DESCRIPTION="create and read Digital Cinema Packages using JPEG2000 and WAV files"
31 +HOMEPAGE="http://carlh.net/libdcp"
32 +EGIT_REPO_URI="https://github.com/cth103/${PN}.git"
33 +EGIT_BRANCH="1.0"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="1.0"
37 +KEYWORDS=""
38 +IUSE="test"
39 +
40 +RDEPEND="dev-cpp/glibmm:2
41 + dev-cpp/libxmlpp:2.6
42 + >=dev-libs/boost-1.61.0
43 + >=dev-libs/libcxml-0.15.4
44 + dev-libs/libsigc++:2
45 + dev-libs/libxml2
46 + dev-libs/openssl:0
47 + dev-libs/xmlsec
48 + >=media-libs/libasdcp-cth-0.1.3
49 + media-libs/openjpeg:2
50 + || ( media-gfx/graphicsmagick media-gfx/imagemagick )"
51 +DEPEND="${RDEPEND}
52 + dev-util/waf
53 + virtual/pkgconfig
54 + ${PYTHON_DEPS}
55 + test? ( app-text/xmldiff )"
56 +
57 +PATCHES=( "${FILESDIR}"/${PN}-1.3.3-no-ldconfig.patch
58 + "${FILESDIR}"/${PN}-1.3.4-respect-cxxflags.patch )
59 +
60 +src_prepare() {
61 + rm -v waf || die
62 + export WAF_BINARY=${EROOT}usr/bin/waf
63 +
64 + ewarn "Some tests failing due missing files/certs are disabled."
65 + sed -e '/atmos_test.cc/d' \
66 + -e '/certificates_test.cc/d' \
67 + -e '/dcp_test.cc/d' \
68 + -e '/decryption_test.cc/d' \
69 + -e '/read_smpte_subtitle_test.cc/d' \
70 + -e '/sound_frame_test.cc/d' \
71 + -i test/wscript || die
72 +
73 + default
74 +}
75 +
76 +src_test() {
77 + ./build/test/tests || die
78 +}