1 |
commit: 28faa4f2c2d3c7604c5e581d7d569027846500b0 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 09:58:31 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 17:35:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28faa4f2 |
7 |
|
8 |
media-libs/libasdcp-cth: Initial import (needed for dcpomatic). |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
media-libs/libasdcp-cth/Manifest | 2 ++ |
13 |
.../files/libasdcp-cth-0.1.1-no-ldconfig.patch | 12 +++++++++++ |
14 |
.../libasdcp-cth-0.1.2-respect-cxxflags.patch | 14 ++++++++++++ |
15 |
media-libs/libasdcp-cth/libasdcp-cth-0.1.2.ebuild | 25 ++++++++++++++++++++++ |
16 |
media-libs/libasdcp-cth/libasdcp-cth-0.1.3.ebuild | 25 ++++++++++++++++++++++ |
17 |
media-libs/libasdcp-cth/metadata.xml | 8 +++++++ |
18 |
6 files changed, 86 insertions(+) |
19 |
|
20 |
diff --git a/media-libs/libasdcp-cth/Manifest b/media-libs/libasdcp-cth/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..4e9d3e7392d |
23 |
--- /dev/null |
24 |
+++ b/media-libs/libasdcp-cth/Manifest |
25 |
@@ -0,0 +1,2 @@ |
26 |
+DIST libasdcp-cth-0.1.2.tar.bz2 636832 SHA256 062d435a767091df30614a1252a81323c097027a9d01e067b2326f76c3ffc3da SHA512 c0bcbc9dfba9ee24f67dcbfdce44cc45c6836c1ada32de6631857dc02eeb94817e591118237bc8173e47940cebac3113b4fef8a038462abb1a184a2f706ba9ab WHIRLPOOL c5a2bd3bc1f5a31e3fb9e7d5cdd513d76202a30217ed774004d8b4cf3a15e0851aa3073275411be4bfa2ba68dfb55cdad548d68085d6622e67a6c3703d8c875a |
27 |
+DIST libasdcp-cth-0.1.3.tar.bz2 637004 SHA256 0a5f37fd56b8a02e176a3a2c08aa261eee836c1fef6c5d21fda7de4f40dace58 SHA512 db707a39e79ce4dcda7f20610b4fc3d1609d75dc9cc1f14a6bf7627231993882e843a3ebd9abb540a3f746c2898f94fa7bfd0617eb7c85d243585e4647e218c6 WHIRLPOOL aea95db6aeba8e7498bfc525609d53f9494abceca7facf5b2857e95af0b4960d8c3f78fcfbdccae673622f855e1dc1378a02e89515620f172c77c5e993f5308d |
28 |
|
29 |
diff --git a/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.1-no-ldconfig.patch b/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.1-no-ldconfig.patch |
30 |
new file mode 100644 |
31 |
index 00000000000..097f31ecabb |
32 |
--- /dev/null |
33 |
+++ b/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.1-no-ldconfig.patch |
34 |
@@ -0,0 +1,12 @@ |
35 |
+--- libasdcp-cth-0.1.1/wscript |
36 |
++++ libasdcp-cth-0.1.1/wscript |
37 |
+@@ -84,8 +84,7 @@ |
38 |
+ bld.add_post_fun(post) |
39 |
+ |
40 |
+ def post(ctx): |
41 |
+- if ctx.cmd == 'install': |
42 |
+- ctx.exec_command('/sbin/ldconfig') |
43 |
++ pass |
44 |
+ |
45 |
+ def tags(bld): |
46 |
+ os.system('etags src/*.cc src/*.h') |
47 |
|
48 |
diff --git a/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.2-respect-cxxflags.patch b/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.2-respect-cxxflags.patch |
49 |
new file mode 100644 |
50 |
index 00000000000..15eeceb5842 |
51 |
--- /dev/null |
52 |
+++ b/media-libs/libasdcp-cth/files/libasdcp-cth-0.1.2-respect-cxxflags.patch |
53 |
@@ -0,0 +1,14 @@ |
54 |
+--- libasdcp-cth-0.1.2/wscript |
55 |
++++ libasdcp-cth-0.1.2/wscript |
56 |
+@@ -38,11 +38,6 @@ |
57 |
+ else: |
58 |
+ boost_lib_suffix = '' |
59 |
+ |
60 |
+- if conf.options.enable_debug: |
61 |
+- conf.env.append_value('CXXFLAGS', '-g') |
62 |
+- else: |
63 |
+- conf.env.append_value('CXXFLAGS', '-O2') |
64 |
+- |
65 |
+ conf.check_cxx(fragment=""" |
66 |
+ #include <boost/version.hpp>\n |
67 |
+ #if BOOST_VERSION < 104500\n |
68 |
|
69 |
diff --git a/media-libs/libasdcp-cth/libasdcp-cth-0.1.2.ebuild b/media-libs/libasdcp-cth/libasdcp-cth-0.1.2.ebuild |
70 |
new file mode 100644 |
71 |
index 00000000000..2ad7a280b6a |
72 |
--- /dev/null |
73 |
+++ b/media-libs/libasdcp-cth/libasdcp-cth-0.1.2.ebuild |
74 |
@@ -0,0 +1,25 @@ |
75 |
+# Copyright 1999-2017 Gentoo Foundation |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+ |
78 |
+EAPI=6 |
79 |
+ |
80 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) |
81 |
+PYTHON_REQ_USE="threads(+)" |
82 |
+inherit python-any-r1 waf-utils |
83 |
+ |
84 |
+DESCRIPTION="implementation of SMPTE and the MXF Interop Sound & Picture Track File format" |
85 |
+HOMEPAGE="http://carlh.net/asdcplib" |
86 |
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" |
87 |
+ |
88 |
+LICENSE="BSD" |
89 |
+SLOT="0" |
90 |
+KEYWORDS="~amd64" |
91 |
+IUSE="" |
92 |
+ |
93 |
+RDEPEND="dev-libs/boost |
94 |
+ dev-libs/openssl:0" |
95 |
+DEPEND="${RDEPEND} |
96 |
+ virtual/pkgconfig" |
97 |
+ |
98 |
+PATCHES=( "${FILESDIR}"/${PN}-0.1.1-no-ldconfig.patch |
99 |
+ "${FILESDIR}"/${PN}-0.1.2-respect-cxxflags.patch) |
100 |
|
101 |
diff --git a/media-libs/libasdcp-cth/libasdcp-cth-0.1.3.ebuild b/media-libs/libasdcp-cth/libasdcp-cth-0.1.3.ebuild |
102 |
new file mode 100644 |
103 |
index 00000000000..2ad7a280b6a |
104 |
--- /dev/null |
105 |
+++ b/media-libs/libasdcp-cth/libasdcp-cth-0.1.3.ebuild |
106 |
@@ -0,0 +1,25 @@ |
107 |
+# Copyright 1999-2017 Gentoo Foundation |
108 |
+# Distributed under the terms of the GNU General Public License v2 |
109 |
+ |
110 |
+EAPI=6 |
111 |
+ |
112 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) |
113 |
+PYTHON_REQ_USE="threads(+)" |
114 |
+inherit python-any-r1 waf-utils |
115 |
+ |
116 |
+DESCRIPTION="implementation of SMPTE and the MXF Interop Sound & Picture Track File format" |
117 |
+HOMEPAGE="http://carlh.net/asdcplib" |
118 |
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" |
119 |
+ |
120 |
+LICENSE="BSD" |
121 |
+SLOT="0" |
122 |
+KEYWORDS="~amd64" |
123 |
+IUSE="" |
124 |
+ |
125 |
+RDEPEND="dev-libs/boost |
126 |
+ dev-libs/openssl:0" |
127 |
+DEPEND="${RDEPEND} |
128 |
+ virtual/pkgconfig" |
129 |
+ |
130 |
+PATCHES=( "${FILESDIR}"/${PN}-0.1.1-no-ldconfig.patch |
131 |
+ "${FILESDIR}"/${PN}-0.1.2-respect-cxxflags.patch) |
132 |
|
133 |
diff --git a/media-libs/libasdcp-cth/metadata.xml b/media-libs/libasdcp-cth/metadata.xml |
134 |
new file mode 100644 |
135 |
index 00000000000..a535b885282 |
136 |
--- /dev/null |
137 |
+++ b/media-libs/libasdcp-cth/metadata.xml |
138 |
@@ -0,0 +1,8 @@ |
139 |
+<?xml version="1.0" encoding="UTF-8"?> |
140 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
141 |
+<pkgmetadata> |
142 |
+<maintainer type="person"> |
143 |
+<email>xmw@g.o</email> |
144 |
+<name>Michael Weber</name> |
145 |
+</maintainer> |
146 |
+</pkgmetadata> |