1 |
commit: 98649862e7990e13b062e3c344aafed43ac8b524 |
2 |
Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 11 16:40:52 2014 +0000 |
4 |
Commit: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 11 16:40:52 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/vdr/devel.git;a=commit;h=98649862 |
7 |
|
8 |
cleanup old |
9 |
|
10 |
Package-Manager: portage-2.2.11-r1 |
11 |
Manifest-Sign-Key: 34C2808A |
12 |
|
13 |
--- |
14 |
media-plugins/vdr-sc/ChangeLog | 6 + |
15 |
media-plugins/vdr-sc/Manifest | 21 +--- |
16 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20100119.ebuild | 120 ------------------- |
17 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20100228.ebuild | 119 ------------------- |
18 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20101013.ebuild | 119 ------------------- |
19 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20110911.ebuild | 119 ------------------- |
20 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20111122.ebuild | 119 ------------------- |
21 |
media-plugins/vdr-sc/vdr-sc-0.9.3.20120815.ebuild | 137 ---------------------- |
22 |
8 files changed, 11 insertions(+), 749 deletions(-) |
23 |
|
24 |
diff --git a/media-plugins/vdr-sc/ChangeLog b/media-plugins/vdr-sc/ChangeLog |
25 |
index 73f752a..ff90be5 100644 |
26 |
--- a/media-plugins/vdr-sc/ChangeLog |
27 |
+++ b/media-plugins/vdr-sc/ChangeLog |
28 |
@@ -2,6 +2,12 @@ |
29 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
# $Header: $ |
31 |
|
32 |
+ 11 Aug 2014; Joerg Bornkessel <hd_brummy@g.o> |
33 |
+ -vdr-sc-0.9.3.20100119.ebuild, -vdr-sc-0.9.3.20100228.ebuild, |
34 |
+ -vdr-sc-0.9.3.20101013.ebuild, -vdr-sc-0.9.3.20110911.ebuild, |
35 |
+ -vdr-sc-0.9.3.20111122.ebuild, -vdr-sc-0.9.3.20120815.ebuild: |
36 |
+ cleanup old |
37 |
+ |
38 |
27 Jan 2014; Joerg Bornkessel <hd_brummy@g.o> |
39 |
vdr-sc-0.9.3.20120815-r1.ebuild, |
40 |
+files/vdr-sc-0.9.3.20120815_vdr-2.1.4_compilefix.diff: |
41 |
|
42 |
diff --git a/media-plugins/vdr-sc/Manifest b/media-plugins/vdr-sc/Manifest |
43 |
index 92ed3e7..371015e 100644 |
44 |
--- a/media-plugins/vdr-sc/Manifest |
45 |
+++ b/media-plugins/vdr-sc/Manifest |
46 |
@@ -4,26 +4,15 @@ Hash: SHA256 |
47 |
AUX vdr-sc-0.9.3.20100119-makefile-csaflags.diff 1024 SHA256 cc42d1f1af04251486195eb6fbb8a2d014baab88ba83e331bf8eeb7a9010ee80 SHA512 73d865284c12fdd2ecc0b1a1b265f1733c3b95533736e5179c321705fdbbc2b217f3cb49a4defee4f1d03020c7134f3cd1e68f0da5916a1784b9efa348405ab2 WHIRLPOOL 2b2e834ac39cac7e91904060bdbbed24d86e8dadd8e1881aa061e207c6e6201e0388bf7be51c9bb3f04764ea6313a58046b8b0230dc93b0bb9a44f0a1f5820a2 |
48 |
AUX vdr-sc-0.9.3.20120815_makefile.diff 822 SHA256 71507b442940bf7c71ea40f2b8b47b882defd4bc4f0852d52fbc2f4e4b7494e0 SHA512 7339a522a6d17fe979608fbd3ed3d66b59c6cdbb77a466c27b89b227fd2ba2c7cc4330370d9000ab16db987471687979be8549f9d24f2ac7db94cf67931a7e1b WHIRLPOOL 1b0a9d1a45dabb27b4437687a8ce8fae1eac4a867679f1f272b20d3d3255f6356517f2bd9dda389a0274bfa35958bf7101be2e85bc43a3247839505ad9de300e |
49 |
AUX vdr-sc-0.9.3.20120815_vdr-2.1.4_compilefix.diff 2041 SHA256 3d3c3c1ce17e4fdceae68316c5500d88edb7e5f3c3b0dbadfc9f738d6f63473b SHA512 e33b50c28ce1e790867fa0cd1d241c769b69edc6a78e60bc30a77fabc8347ada51d11a4fae1f649466906a6520b7ebb119eb41f01bd136b298d5667ceeae2299 WHIRLPOOL ae71e16358429943bb89ab4e291ecf40fa696fc5cea191033856419a93ed86e8c31af7910ec9cbb0da59c05c7f27d55664b2bd79e359217c41096816ac34dea3 |
50 |
-DIST vdr-sc-0.9.3.20100119.tar.gz 578199 SHA256 7b5b9213c185804b4f4c5f21ec2fef86a676e7b0a27a3948ecfffd761587d7b5 |
51 |
-DIST vdr-sc-0.9.3.20100228.tar.gz 591975 SHA256 37a449098e76c7ecae14985fca1a026daae57b94b42d52eae94c3e8f59371182 |
52 |
-DIST vdr-sc-0.9.3.20101013.tar.gz 590736 SHA256 526a73e8802d20a46f85db906cf3d127f92a9abcc136f09e0f413097b4ec0574 |
53 |
-DIST vdr-sc-0.9.3.20110911.tar.gz 2506089 SHA256 f6eaf42dd2252a50d2f64c9e7cfc9e3ecd2ef7749fa50f9be04f8334973d051d |
54 |
-DIST vdr-sc-0.9.3.20111122.tar.gz 2541241 SHA256 2a2a0e2c1bacf560ca5e0cecc4592f707d95933b8b41f1a70f5fda650c609429 |
55 |
DIST vdr-sc-0.9.3.20120721.tar.gz 581826 SHA256 373eecdac3c959ad0840861ed23d3e7afb5e7a055b4cb046bd136e0d4047d7e6 SHA512 1ae7c66baf191f554bb2ae1b4d0e8ca976348438c6fc4a0f06160ccda58be6d377e7c2542ec26085adf0646372ece627ae8abc650877f827059ee04faed69d4d WHIRLPOOL 89bfbc4cd968f6265c99b74ae476f6917bec91d30f0ed133d47a20633969bb1b9e6caac342e429ea2dacf0104b11b618e4e0a193209165d6472c102bfcabe7b0 |
56 |
-EBUILD vdr-sc-0.9.3.20100119.ebuild 3365 SHA256 8a7a83a180023b7be7b55fdb082570833f01808f154720675fe3788741f62b53 SHA512 6bf32cfc1b88930bb56c7145341a702442cd01f81d61a78b1edb6f03347f1091a3e251a6790a49916ff859ecf1a84ff42f58aff5c64501eed30686945f30e2c1 WHIRLPOOL fd3e09363a15a748b7a3db23a577ed495d8a2ae7a5847947683f3d8f75f972f89da0ece2072fb66d14cdea66d72346151b1ad5bb3b20a6b9a1622e87b046ead3 |
57 |
-EBUILD vdr-sc-0.9.3.20100228.ebuild 3240 SHA256 1d8545515d37885e7f15d0e931704120a1359694bf52805e3d099b833715e45d SHA512 066147a911c86dd10fbb081c5333d88bc9d7971fb0ee7f46936aef6ea4c1c6f5db4059deec16b3f1fddeee78ae83d8c6ec66d8e39256bf09ab037d34beae4a0e WHIRLPOOL 7e82fbfa596b96e97c8824a54a454b58d02ac583a0f6296687575d30b18a2ff94586dd6ac2c1bdbffb61b6791c0b9d76a3f24e6a6aad4b003a1441e020913fde |
58 |
-EBUILD vdr-sc-0.9.3.20101013.ebuild 3240 SHA256 c5d2b176b26772aa930919b19ed01f224cc67cbdb1781f478036b972d61db479 SHA512 7da5607feea7b9328b26661d1412d12047cd7e720ab348209b77e47883125ad55d87e6c56f6d1a6f42790abf14d13d686529bed609afe89e8a869d40b88a5d4f WHIRLPOOL bc8698b369b43795c9e52da9549535229ccf5c64464ab55ea46e51e57256da8296eba49caf65db8ac8226104d768249e2406e3c01b0aef44d5178294a85b0a7f |
59 |
-EBUILD vdr-sc-0.9.3.20110911.ebuild 3240 SHA256 d940b8f94f873046a966d0527489906ed2acb54577829d4e5222b6159d6759a8 SHA512 cad2bce9c34dc0b1685ef95c8ec7fe9827884f701e3b432d2a2bc1af8d89f61dc9f522d3e3ecf0372ad7dda17a03ac711d94aaf6e12533956e493d6deff5ade2 WHIRLPOOL 94e852f3a2c8eabc69cff12776e3e9fd51f00d5fbd55cec4aa8384c60802ddbf50136adc67d8e82d829cf7c05d94e5068a2c07f1d73cc8343d14250b5fef67ee |
60 |
-EBUILD vdr-sc-0.9.3.20111122.ebuild 3240 SHA256 4a3294e4108594262d2f67e3c02760784658194cec3026c8a6499e19a3c0b49d SHA512 dac60eb5a9e15f007bf2c530ec196e7b3baf534cf6b4cac5e2f31b226c0440ab7ea628a54655d91a61730f9349f9659ae8397fd0edeb2a32554a0808973e9398 WHIRLPOOL 7fba5f522fafec80d4d8b25f5fbff4276d4732b9c8fc2b2347faf2f73cbcc66827083276efbd71141678f8ccc62aeac4efbbe95fb1ee92bf386a295b4fba086b |
61 |
EBUILD vdr-sc-0.9.3.20120815-r1.ebuild 4185 SHA256 dcb2cf78e921e94c7c8114171265c08d244b59a438b74405e03f3bf650b16980 SHA512 c312c72040cf74962e1bcc2639133b13959b4e2672cf40f59ed9636241414b73d40d55090db7025a782971ddaa26e76c98073e30407573cca10428a6abd5b988 WHIRLPOOL 239361894e4caa3e9fa047111e560a4d9971bd0a2e7a744900629b6fb899ee084014621f5314e20efcc6904da5ac51fa227c5b65c2f7b10c097a391e6c0d5c0a |
62 |
-EBUILD vdr-sc-0.9.3.20120815.ebuild 3959 SHA256 1a9abdf0c53b5c35d2da1a7775a7536858a7ecf2f9e088e4967040d340b0eeaa SHA512 a13c9fd8ca743b9a1a4693c1d5df8b0e767aae5e95a5e247fde58e088443441c7c23c3d6215cc13efa1a9421ba2455dfaefcdec30c812e52bea78c13067dea29 WHIRLPOOL 0c60dea0eada576871f2021ea290cf2892be6c2d8c791d2c171c33c26fa9c8eef1a93a400572a153b720d8a5e2129438f39e7d7ddca79c995b08ddbf2f65e162 |
63 |
-MISC ChangeLog 2285 SHA256 360779fd612ce54bd6167b2202a47284d845211500f0d9bb64f252a74f450abb SHA512 6064c7dc40340da346c6da5252464600e55bfb8fe3a5226bc664db1be69df5828c6cf3e98472619d3d767b2e2bace7448fb299743549930b11df704d4af8d6e0 WHIRLPOOL b1ebe67acfb07d674bfe86294b0b1bbf07d68313d64e8d7633bcd760cd44b60508ea5e59bd20c9ce566d420dd3e4de74390ea46cb42576785f4e7f662f9c7f9e |
64 |
+MISC ChangeLog 2547 SHA256 95901057f91756e0627f68ec21c343966c9af4b10e8f93ae0069690d3ff2400c SHA512 11c9831a02b96dfc8339ffe64d26e98b85f8e3aaa38979f08b82b805dd623768d7835410d18c394a946e9383bdddf21a68dbdfcd01637de9e6b638aceb084135 WHIRLPOOL b672e893f4ac7188a1069640431660304a02a3fa92ccdcf514f51c3a12c79a35cc161f92042426234d4c5ccc22c7fbad6582c771ddb5f61bc7eddebdea36eec8 |
65 |
MISC metadata.xml 1209 SHA256 69a03f6195737dd38bc8f6a67cf55fff9c38ba1581afffbc0708858a0aaed513 SHA512 e6fd4d9140593e64a3561d4eb7babb8fd5d556851233a3b6866e2762d77396b3194fb2adf19eccd8d84ecadfbd0bd14f8c4b236a011a9133d6bf132b858eaa78 WHIRLPOOL 7089a3e3c975ef2888ce9cb1648d37892eb998fb74bace60f6421f2dbac859fc5fc87c72a3d0087fb608b9f52f025f868df67c5187342627cd1b9c5a4ec9abf2 |
66 |
-----BEGIN PGP SIGNATURE----- |
67 |
-Version: GnuPG v2.0.19 (GNU/Linux) |
68 |
+Version: GnuPG v2.0.22 (GNU/Linux) |
69 |
Comment: added by hd_brummy@g.o |
70 |
|
71 |
-iD8DBQFS5pwLdn07HTTCgIoRCPDoAJ4lRrVunF+BGlecXjlU5F3NcYCe6QCfU7xb |
72 |
-4m+qk3KS/+GgYbUm1kDiMos= |
73 |
-=Mk6R |
74 |
+iD8DBQFT6PIUdn07HTTCgIoRCMIbAJ40/eWbv8YFtES71iWAxHZY3qR61ACfbuoi |
75 |
+GtPIhuNbo8Vv0y2ZQfQTy/k= |
76 |
+=o4gA |
77 |
-----END PGP SIGNATURE----- |
78 |
|
79 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20100119.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20100119.ebuild |
80 |
deleted file mode 100644 |
81 |
index 5f7ea18..0000000 |
82 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20100119.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,120 +0,0 @@ |
85 |
-# Copyright 1999-2010 Gentoo Foundation |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
-# $Header: $ |
88 |
- |
89 |
-EAPI="2" |
90 |
- |
91 |
-RESTRICT="mirror" |
92 |
- |
93 |
-inherit vdr-plugin |
94 |
- |
95 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
96 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
97 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
98 |
-SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
99 |
- |
100 |
-LICENSE="GPL-2" |
101 |
-SLOT="0" |
102 |
-KEYWORDS="~x86 ~amd64" |
103 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
104 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
105 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess" |
106 |
- |
107 |
-DEPEND=">=media-video/vdr-1.7.11 |
108 |
- >=dev-libs/openssl-0.9.7" |
109 |
-RDEPEND="${DEPEND}" |
110 |
- |
111 |
-src_prepare() { |
112 |
- vdr-plugin_src_prepare |
113 |
- |
114 |
- # Respect environment CXXFLAGS in FFdeCSA |
115 |
- epatch "${FILESDIR}"/${P}-makefile-csaflags.diff |
116 |
- |
117 |
- # This is needed in order to compile viaccess plugin |
118 |
- sed -i -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
119 |
- Makefile.system || die "sed failed" |
120 |
- |
121 |
- # Prepare flags for FFdeCSA |
122 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
123 |
- PARALLEL="${VDR_SC_PARALLEL}" |
124 |
- else |
125 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
126 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
127 |
- # [32] Athlon64 (SSE2) does best with MMX |
128 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
129 |
- # [32] AthlonXP (SSE) has MMX faster |
130 |
- |
131 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
132 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
133 |
- # and LONG is best on 64-bit AMD CPUs. |
134 |
- |
135 |
- if ! use 3dnow && use sse2; then |
136 |
- PARALLEL=PARALLEL_128_SSE2 |
137 |
- elif ! use 3dnow && use sse; then |
138 |
- PARALLEL=PARALLEL_128_SSE |
139 |
- elif use amd64; then |
140 |
- PARALLEL=PARALLEL_64_LONG |
141 |
- elif use mmx; then |
142 |
- PARALLEL=PARALLEL_64_MMX |
143 |
- else |
144 |
- # fallback values: |
145 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
146 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
147 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
148 |
- |
149 |
- PARALLEL=PARALLEL_128_4INT |
150 |
- fi |
151 |
- |
152 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
153 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
154 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
155 |
- fi |
156 |
- |
157 |
- export PARALLEL |
158 |
- |
159 |
- # Remove unwanted plugins |
160 |
- cd systems/ || die "cd systems/ failed" |
161 |
- local fl |
162 |
- for fl in *; do |
163 |
- # Remember to update IUSE when bumping! |
164 |
- |
165 |
- if ! use "${fl}"; then |
166 |
- einfo "Removing ${fl} plugin" |
167 |
- rm -r -- "${fl}" |
168 |
- fi |
169 |
- done |
170 |
-} |
171 |
- |
172 |
-src_test() { |
173 |
- cd FFdecsa/ || die "cd failed" |
174 |
- |
175 |
- # We don't need to care about PARALLEL or FLAGS, FFdecsa itself is already |
176 |
- # compiled and FFdecsa_test uses almost no code of its' own. |
177 |
- |
178 |
- emake FLAGS="${CXXFLAGS}" FFdecsa_test || die "emake failed" |
179 |
- ./FFdecsa_test || die "FFdeCSA selftest failed, please try other VDR_SC_PARALLEL" |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- vdr-plugin_src_install |
184 |
- |
185 |
- exeinto "${VDR_PLUGIN_DIR}" |
186 |
- doexe libsc-*.so.* || die "doexe failed" |
187 |
- |
188 |
- docinto FFdecsa |
189 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
190 |
- |
191 |
- docinto examples |
192 |
- dodoc examples/* || die "dodoc examples failed" |
193 |
-} |
194 |
- |
195 |
-pkg_postinst() { |
196 |
- vdr-plugin_pkg_postinst |
197 |
- |
198 |
- elog "This software might be illegal in some countries or violate" |
199 |
- elog "rules of your DVB provider" |
200 |
- elog "Please respect these rules." |
201 |
- echo |
202 |
- elog "We do not offer support of any kind" |
203 |
- elog "Asking for keys or for installation help will be is ignored by gentoo developers!" |
204 |
-} |
205 |
|
206 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20100228.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20100228.ebuild |
207 |
deleted file mode 100644 |
208 |
index 30165cf..0000000 |
209 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20100228.ebuild |
210 |
+++ /dev/null |
211 |
@@ -1,119 +0,0 @@ |
212 |
-# Copyright 1999-2010 Gentoo Foundation |
213 |
-# Distributed under the terms of the GNU General Public License v2 |
214 |
-# $Header: $ |
215 |
- |
216 |
-EAPI="2" |
217 |
- |
218 |
-RESTRICT="mirror" |
219 |
- |
220 |
-inherit vdr-plugin |
221 |
- |
222 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
223 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
224 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
225 |
-SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
226 |
- |
227 |
-LICENSE="GPL-2" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="~x86 ~amd64" |
230 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
231 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
232 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess" |
233 |
- |
234 |
-DEPEND=">=media-video/vdr-1.7.11 |
235 |
- >=dev-libs/openssl-0.9.7" |
236 |
-RDEPEND="${DEPEND}" |
237 |
- |
238 |
-# dirty fix, fails on more jobserver on FFdecsa |
239 |
-export MAKEOPTS="-j1" |
240 |
- |
241 |
-src_prepare() { |
242 |
- vdr-plugin_src_prepare |
243 |
- |
244 |
- sed -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
245 |
- -e 's:^LIBDIR.*$:LIBDIR = ${S}:' \ |
246 |
- -i Makefile.system || "sed Makefile.system failed" |
247 |
- |
248 |
- sed -e "s: -march=\$(CPUOPT)::" \ |
249 |
- -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \ |
250 |
- -e "s:ci.c:ci.h:" \ |
251 |
- -i Makefile || die "sed Makefile failed" |
252 |
- |
253 |
- sed -e "s:FLAGS:CXXFLAGS:" \ |
254 |
- -i FFdecsa/Makefile || die "sed FFdecsa Makefile failed" |
255 |
- |
256 |
- # Prepare flags for FFdeCSA |
257 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
258 |
- PARALLEL="${VDR_SC_PARALLEL}" |
259 |
- else |
260 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
261 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
262 |
- # [32] Athlon64 (SSE2) does best with MMX |
263 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
264 |
- # [32] AthlonXP (SSE) has MMX faster |
265 |
- |
266 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
267 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
268 |
- # and LONG is best on 64-bit AMD CPUs. |
269 |
- |
270 |
- if ! use 3dnow && use sse2; then |
271 |
- PARALLEL=PARALLEL_128_SSE2 |
272 |
- elif ! use 3dnow && use sse; then |
273 |
- PARALLEL=PARALLEL_128_SSE |
274 |
- elif use amd64; then |
275 |
- PARALLEL=PARALLEL_64_LONG |
276 |
- elif use mmx; then |
277 |
- PARALLEL=PARALLEL_64_MMX |
278 |
- else |
279 |
- # fallback values: |
280 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
281 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
282 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
283 |
- |
284 |
- PARALLEL=PARALLEL_128_4INT |
285 |
- fi |
286 |
- |
287 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
288 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
289 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
290 |
- fi |
291 |
- |
292 |
- export PARALLEL |
293 |
- |
294 |
- # Remove unwanted plugins |
295 |
- cd systems/ || die "cd systems/ failed" |
296 |
- local fl |
297 |
- for fl in *; do |
298 |
- # Remember to update IUSE when bumping! |
299 |
- |
300 |
- if ! use "${fl}"; then |
301 |
- einfo "Removing ${fl} plugin" |
302 |
- rm -r -- "${fl}" |
303 |
- fi |
304 |
- done |
305 |
-} |
306 |
- |
307 |
-src_install() { |
308 |
- vdr-plugin_src_install |
309 |
- |
310 |
- exeinto "${VDR_PLUGIN_DIR}" |
311 |
- doexe libsc-*.so.* || die "doexe failed" |
312 |
- |
313 |
- docinto FFdecsa |
314 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
315 |
- |
316 |
- docinto examples |
317 |
- dodoc examples/* || die "dodoc examples failed" |
318 |
-} |
319 |
- |
320 |
-pkg_postinst() { |
321 |
- vdr-plugin_pkg_postinst |
322 |
- |
323 |
- elog "This software might be illegal in some countries or violate" |
324 |
- elog "rules of your DVB provider" |
325 |
- elog "Please respect these rules." |
326 |
- echo |
327 |
- elog "We do not offer support of any kind" |
328 |
- elog "Asking for keys or for installation help will be is ignored by gentoo developers!" |
329 |
- echo |
330 |
-} |
331 |
|
332 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20101013.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20101013.ebuild |
333 |
deleted file mode 100644 |
334 |
index 86c0ba2..0000000 |
335 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20101013.ebuild |
336 |
+++ /dev/null |
337 |
@@ -1,119 +0,0 @@ |
338 |
-# Copyright 1999-2011 Gentoo Foundation |
339 |
-# Distributed under the terms of the GNU General Public License v2 |
340 |
-# $Header: $ |
341 |
- |
342 |
-EAPI="3" |
343 |
- |
344 |
-RESTRICT="mirror" |
345 |
- |
346 |
-inherit vdr-plugin |
347 |
- |
348 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
349 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
350 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
351 |
-SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
352 |
- |
353 |
-LICENSE="GPL-2" |
354 |
-SLOT="0" |
355 |
-KEYWORDS="~x86 ~amd64" |
356 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
357 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
358 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess" |
359 |
- |
360 |
-DEPEND=">=media-video/vdr-1.7.11 |
361 |
- >=dev-libs/openssl-0.9.7" |
362 |
-RDEPEND="${DEPEND}" |
363 |
- |
364 |
-# dirty fix, fails on more jobserver on FFdecsa |
365 |
-export MAKEOPTS="-j1" |
366 |
- |
367 |
-src_prepare() { |
368 |
- vdr-plugin_src_prepare |
369 |
- |
370 |
- sed -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
371 |
- -e 's:^LIBDIR.*$:LIBDIR = ${S}:' \ |
372 |
- -i Makefile.system || "sed Makefile.system failed" |
373 |
- |
374 |
- sed -e "s: -march=\$(CPUOPT)::" \ |
375 |
- -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \ |
376 |
- -e "s:ci.c:ci.h:" \ |
377 |
- -i Makefile || die "sed Makefile failed" |
378 |
- |
379 |
- sed -e "s:FLAGS:CXXFLAGS:" \ |
380 |
- -i FFdecsa/Makefile || die "sed FFdecsa Makefile failed" |
381 |
- |
382 |
- # Prepare flags for FFdeCSA |
383 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
384 |
- PARALLEL="${VDR_SC_PARALLEL}" |
385 |
- else |
386 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
387 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
388 |
- # [32] Athlon64 (SSE2) does best with MMX |
389 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
390 |
- # [32] AthlonXP (SSE) has MMX faster |
391 |
- |
392 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
393 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
394 |
- # and LONG is best on 64-bit AMD CPUs. |
395 |
- |
396 |
- if ! use 3dnow && use sse2; then |
397 |
- PARALLEL=PARALLEL_128_SSE2 |
398 |
- elif ! use 3dnow && use sse; then |
399 |
- PARALLEL=PARALLEL_128_SSE |
400 |
- elif use amd64; then |
401 |
- PARALLEL=PARALLEL_64_LONG |
402 |
- elif use mmx; then |
403 |
- PARALLEL=PARALLEL_64_MMX |
404 |
- else |
405 |
- # fallback values: |
406 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
407 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
408 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
409 |
- |
410 |
- PARALLEL=PARALLEL_128_4INT |
411 |
- fi |
412 |
- |
413 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
414 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
415 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
416 |
- fi |
417 |
- |
418 |
- export PARALLEL |
419 |
- |
420 |
- # Remove unwanted plugins |
421 |
- cd systems/ || die "cd systems/ failed" |
422 |
- local fl |
423 |
- for fl in *; do |
424 |
- # Remember to update IUSE when bumping! |
425 |
- |
426 |
- if ! use "${fl}"; then |
427 |
- einfo "Removing ${fl} plugin" |
428 |
- rm -r -- "${fl}" |
429 |
- fi |
430 |
- done |
431 |
-} |
432 |
- |
433 |
-src_install() { |
434 |
- vdr-plugin_src_install |
435 |
- |
436 |
- exeinto "${VDR_PLUGIN_DIR}" |
437 |
- doexe libsc-*.so.* || die "doexe failed" |
438 |
- |
439 |
- docinto FFdecsa |
440 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
441 |
- |
442 |
- docinto examples |
443 |
- dodoc examples/* || die "dodoc examples failed" |
444 |
-} |
445 |
- |
446 |
-pkg_postinst() { |
447 |
- vdr-plugin_pkg_postinst |
448 |
- |
449 |
- elog "This software might be illegal in some countries or violate" |
450 |
- elog "rules of your DVB provider" |
451 |
- elog "Please respect these rules." |
452 |
- echo |
453 |
- elog "We do not offer support of any kind" |
454 |
- elog "Asking for keys or for installation help will be is ignored by gentoo developers!" |
455 |
- echo |
456 |
-} |
457 |
|
458 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20110911.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20110911.ebuild |
459 |
deleted file mode 100644 |
460 |
index f29d732..0000000 |
461 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20110911.ebuild |
462 |
+++ /dev/null |
463 |
@@ -1,119 +0,0 @@ |
464 |
-# Copyright 1999-2011 Gentoo Foundation |
465 |
-# Distributed under the terms of the GNU General Public License v2 |
466 |
-# $Header: $ |
467 |
- |
468 |
-EAPI="3" |
469 |
- |
470 |
-RESTRICT="mirror" |
471 |
- |
472 |
-inherit vdr-plugin |
473 |
- |
474 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
475 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
476 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
477 |
-SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
478 |
- |
479 |
-LICENSE="GPL-2" |
480 |
-SLOT="0" |
481 |
-KEYWORDS="~amd64 ~x86" |
482 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
483 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
484 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess" |
485 |
- |
486 |
-DEPEND=">=media-video/vdr-1.7.11 |
487 |
- >=dev-libs/openssl-0.9.7" |
488 |
-RDEPEND="${DEPEND}" |
489 |
- |
490 |
-# dirty fix, fails on more jobserver on FFdecsa |
491 |
-export MAKEOPTS="-j1" |
492 |
- |
493 |
-src_prepare() { |
494 |
- vdr-plugin_src_prepare |
495 |
- |
496 |
- sed -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
497 |
- -e 's:^LIBDIR.*$:LIBDIR = ${S}:' \ |
498 |
- -i Makefile.system || "sed Makefile.system failed" |
499 |
- |
500 |
- sed -e "s: -march=\$(CPUOPT)::" \ |
501 |
- -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \ |
502 |
- -e "s:ci.c:ci.h:" \ |
503 |
- -i Makefile || die "sed Makefile failed" |
504 |
- |
505 |
- sed -e "s:FLAGS:CXXFLAGS:" \ |
506 |
- -i FFdecsa/Makefile || die "sed FFdecsa Makefile failed" |
507 |
- |
508 |
- # Prepare flags for FFdeCSA |
509 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
510 |
- PARALLEL="${VDR_SC_PARALLEL}" |
511 |
- else |
512 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
513 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
514 |
- # [32] Athlon64 (SSE2) does best with MMX |
515 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
516 |
- # [32] AthlonXP (SSE) has MMX faster |
517 |
- |
518 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
519 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
520 |
- # and LONG is best on 64-bit AMD CPUs. |
521 |
- |
522 |
- if ! use 3dnow && use sse2; then |
523 |
- PARALLEL=PARALLEL_128_SSE2 |
524 |
- elif ! use 3dnow && use sse; then |
525 |
- PARALLEL=PARALLEL_128_SSE |
526 |
- elif use amd64; then |
527 |
- PARALLEL=PARALLEL_64_LONG |
528 |
- elif use mmx; then |
529 |
- PARALLEL=PARALLEL_64_MMX |
530 |
- else |
531 |
- # fallback values: |
532 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
533 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
534 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
535 |
- |
536 |
- PARALLEL=PARALLEL_128_4INT |
537 |
- fi |
538 |
- |
539 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
540 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
541 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
542 |
- fi |
543 |
- |
544 |
- export PARALLEL |
545 |
- |
546 |
- # Remove unwanted plugins |
547 |
- cd systems/ || die "cd systems/ failed" |
548 |
- local fl |
549 |
- for fl in *; do |
550 |
- # Remember to update IUSE when bumping! |
551 |
- |
552 |
- if ! use "${fl}"; then |
553 |
- einfo "Removing ${fl} plugin" |
554 |
- rm -r -- "${fl}" |
555 |
- fi |
556 |
- done |
557 |
-} |
558 |
- |
559 |
-src_install() { |
560 |
- vdr-plugin_src_install |
561 |
- |
562 |
- exeinto "${VDR_PLUGIN_DIR}" |
563 |
- doexe libsc-*.so.* || die "doexe failed" |
564 |
- |
565 |
- docinto FFdecsa |
566 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
567 |
- |
568 |
- docinto examples |
569 |
- dodoc examples/* || die "dodoc examples failed" |
570 |
-} |
571 |
- |
572 |
-pkg_postinst() { |
573 |
- vdr-plugin_pkg_postinst |
574 |
- |
575 |
- elog "This software might be illegal in some countries or violate" |
576 |
- elog "rules of your DVB provider" |
577 |
- elog "Please respect these rules." |
578 |
- echo |
579 |
- elog "We do not offer support of any kind" |
580 |
- elog "Asking for keys or for installation help will be is ignored by gentoo developers!" |
581 |
- echo |
582 |
-} |
583 |
|
584 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20111122.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20111122.ebuild |
585 |
deleted file mode 100644 |
586 |
index 9f35718..0000000 |
587 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20111122.ebuild |
588 |
+++ /dev/null |
589 |
@@ -1,119 +0,0 @@ |
590 |
-# Copyright 1999-2012 Gentoo Foundation |
591 |
-# Distributed under the terms of the GNU General Public License v2 |
592 |
-# $Header: $ |
593 |
- |
594 |
-EAPI="3" |
595 |
- |
596 |
-RESTRICT="mirror" |
597 |
- |
598 |
-inherit vdr-plugin |
599 |
- |
600 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
601 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
602 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
603 |
-SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
604 |
- |
605 |
-LICENSE="GPL-2" |
606 |
-SLOT="0" |
607 |
-KEYWORDS="~amd64 ~x86" |
608 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
609 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
610 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess" |
611 |
- |
612 |
-DEPEND=">=media-video/vdr-1.7.11 |
613 |
- >=dev-libs/openssl-0.9.7" |
614 |
-RDEPEND="${DEPEND}" |
615 |
- |
616 |
-# dirty fix, fails on more jobserver on FFdecsa |
617 |
-export MAKEOPTS="-j1" |
618 |
- |
619 |
-src_prepare() { |
620 |
- vdr-plugin_src_prepare |
621 |
- |
622 |
- sed -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
623 |
- -e 's:^LIBDIR.*$:LIBDIR = ${S}:' \ |
624 |
- -i Makefile.system || "sed Makefile.system failed" |
625 |
- |
626 |
- sed -e "s: -march=\$(CPUOPT)::" \ |
627 |
- -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \ |
628 |
- -e "s:ci.c:ci.h:" \ |
629 |
- -i Makefile || die "sed Makefile failed" |
630 |
- |
631 |
- sed -e "s:FLAGS:CXXFLAGS:" \ |
632 |
- -i FFdecsa/Makefile || die "sed FFdecsa Makefile failed" |
633 |
- |
634 |
- # Prepare flags for FFdeCSA |
635 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
636 |
- PARALLEL="${VDR_SC_PARALLEL}" |
637 |
- else |
638 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
639 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
640 |
- # [32] Athlon64 (SSE2) does best with MMX |
641 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
642 |
- # [32] AthlonXP (SSE) has MMX faster |
643 |
- |
644 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
645 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
646 |
- # and LONG is best on 64-bit AMD CPUs. |
647 |
- |
648 |
- if ! use 3dnow && use sse2; then |
649 |
- PARALLEL=PARALLEL_128_SSE2 |
650 |
- elif ! use 3dnow && use sse; then |
651 |
- PARALLEL=PARALLEL_128_SSE |
652 |
- elif use amd64; then |
653 |
- PARALLEL=PARALLEL_64_LONG |
654 |
- elif use mmx; then |
655 |
- PARALLEL=PARALLEL_64_MMX |
656 |
- else |
657 |
- # fallback values: |
658 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
659 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
660 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
661 |
- |
662 |
- PARALLEL=PARALLEL_128_4INT |
663 |
- fi |
664 |
- |
665 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
666 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
667 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
668 |
- fi |
669 |
- |
670 |
- export PARALLEL |
671 |
- |
672 |
- # Remove unwanted plugins |
673 |
- cd systems/ || die "cd systems/ failed" |
674 |
- local fl |
675 |
- for fl in *; do |
676 |
- # Remember to update IUSE when bumping! |
677 |
- |
678 |
- if ! use "${fl}"; then |
679 |
- einfo "Removing ${fl} plugin" |
680 |
- rm -r -- "${fl}" |
681 |
- fi |
682 |
- done |
683 |
-} |
684 |
- |
685 |
-src_install() { |
686 |
- vdr-plugin_src_install |
687 |
- |
688 |
- exeinto "${VDR_PLUGIN_DIR}" |
689 |
- doexe libsc-*.so.* || die "doexe failed" |
690 |
- |
691 |
- docinto FFdecsa |
692 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
693 |
- |
694 |
- docinto examples |
695 |
- dodoc examples/* || die "dodoc examples failed" |
696 |
-} |
697 |
- |
698 |
-pkg_postinst() { |
699 |
- vdr-plugin_pkg_postinst |
700 |
- |
701 |
- elog "This software might be illegal in some countries or violate" |
702 |
- elog "rules of your DVB provider" |
703 |
- elog "Please respect these rules." |
704 |
- echo |
705 |
- elog "We do not offer support of any kind" |
706 |
- elog "Asking for keys or for installation help will be is ignored by gentoo developers!" |
707 |
- echo |
708 |
-} |
709 |
|
710 |
diff --git a/media-plugins/vdr-sc/vdr-sc-0.9.3.20120815.ebuild b/media-plugins/vdr-sc/vdr-sc-0.9.3.20120815.ebuild |
711 |
deleted file mode 100644 |
712 |
index 9c68820..0000000 |
713 |
--- a/media-plugins/vdr-sc/vdr-sc-0.9.3.20120815.ebuild |
714 |
+++ /dev/null |
715 |
@@ -1,137 +0,0 @@ |
716 |
-# Copyright 1999-2012 Gentoo Foundation |
717 |
-# Distributed under the terms of the GNU General Public License v2 |
718 |
-# $Header: $ |
719 |
- |
720 |
-EAPI="4" |
721 |
- |
722 |
-RESTRICT="mirror" |
723 |
- |
724 |
-inherit vdr-plugin-2 |
725 |
- |
726 |
-HG_REVISION="29b7b5f231c8" |
727 |
-HG_REVISION_DATE="20120721" |
728 |
- |
729 |
-DESCRIPTION="VDR Plugin: SoftCAM" |
730 |
-HOMEPAGE="http://207.44.152.197/vdr2.htm#sc" |
731 |
-#SRC_URI="http://207.44.152.197/${P}.tar.gz" |
732 |
-#SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" |
733 |
-SRC_URI="http://85.17.209.13:6100/archive/${HG_REVISION}.tar.gz -> vdr-sc-0.9.3.${HG_REVISION_DATE}.tar.gz" |
734 |
- |
735 |
-LICENSE="GPL-2" |
736 |
-SLOT="0" |
737 |
-KEYWORDS="~amd64 ~x86" |
738 |
-IUSE="3dnow +cardclient +conax +constcw +cryptoworks +irdeto mmx |
739 |
- +nagra +nds +sc-conax +sc-cryptoworks +sc-irdeto +sc-nagra +sc-seca |
740 |
- +sc-viaccess +sc-videoguard2 +seca +shl sse sse2 +viaccess |
741 |
- dvbsddevice dvbhddevice" |
742 |
- |
743 |
-DEPEND=">=media-video/vdr-1.7.21 |
744 |
- >=dev-libs/openssl-0.9.7 |
745 |
- dvbsddevice? ( >=media-plugins/vdr-dvbsddevice-0.0.5-r1 ) |
746 |
- dvbhddevice? ( >=media-plugins/vdr-dvbhddevice-0.0.4_p20120614 )" |
747 |
-RDEPEND="${DEPEND}" |
748 |
- |
749 |
-S="${WORKDIR}/sc-${HG_REVISION}" |
750 |
- |
751 |
-# dirty fix, fails on more jobserver on FFdecsa |
752 |
-export MAKEOPTS="-j1" |
753 |
- |
754 |
-src_prepare() { |
755 |
- vdr-plugin-2_src_prepare |
756 |
- |
757 |
- sed -e 's:^SINCLUDES += :&-I/usr/include/vdr :' \ |
758 |
- -e 's:^LIBDIR.*$:LIBDIR = ${S}:' \ |
759 |
- -i Makefile.system || "sed Makefile.system failed" |
760 |
- |
761 |
- sed -e "s: -march=\$(CPUOPT)::" \ |
762 |
- -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \ |
763 |
- -e "s:ci.c:ci.h:" \ |
764 |
- -i Makefile || die "sed Makefile failed" |
765 |
- |
766 |
- sed -e "s:FLAGS:CXXFLAGS:" \ |
767 |
- -i FFdecsa/Makefile || die "sed FFdecsa Makefile failed" |
768 |
- |
769 |
- # Prepare flags for FFdeCSA |
770 |
- if [ -n "${VDR_SC_PARALLEL}" ]; then |
771 |
- PARALLEL="${VDR_SC_PARALLEL}" |
772 |
- else |
773 |
- # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
774 |
- # [64] Athlon64 (SSE2) does much better with 64_LONG |
775 |
- # [32] Athlon64 (SSE2) does best with MMX |
776 |
- # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
777 |
- # [32] AthlonXP (SSE) has MMX faster |
778 |
- |
779 |
- # To avoid parsing -march=, we use ugly assumption that Intels don't |
780 |
- # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
781 |
- # and LONG is best on 64-bit AMD CPUs. |
782 |
- |
783 |
- if ! use 3dnow && use sse2; then |
784 |
- PARALLEL=PARALLEL_128_SSE2 |
785 |
- elif ! use 3dnow && use sse; then |
786 |
- PARALLEL=PARALLEL_128_SSE |
787 |
- elif use amd64; then |
788 |
- PARALLEL=PARALLEL_64_LONG |
789 |
- elif use mmx; then |
790 |
- PARALLEL=PARALLEL_64_MMX |
791 |
- else |
792 |
- # fallback values: |
793 |
- # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
794 |
- # PARALLEL_64_2INT fails with gcc4.4 on x86 |
795 |
- # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
796 |
- |
797 |
- PARALLEL=PARALLEL_128_4INT |
798 |
- fi |
799 |
- |
800 |
- ewarn "VDR_SC_PARALLEL not set, guessing value from USEflags (${PARALLEL})." |
801 |
- ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." |
802 |
- ewarn "More info in docs/FFdecsa/how_to_compile.txt." |
803 |
- fi |
804 |
- |
805 |
- export PARALLEL |
806 |
- |
807 |
- # plugin dvbhddevice dvbsddevice with transfermode support |
808 |
- export WITH_DVBSDDEVICE=0 WITH_DVBHDDEVICE=0 |
809 |
- epatch "${FILESDIR}/${P}_makefile.diff" |
810 |
- sed -e 's:"../dvbhddevice/dvbhdffdevice.h":<dvbhdffdevice.h>:' -i device-hd.c |
811 |
- sed -e 's:"../dvbsddevice/dvbsdffdevice.h":<dvbsdffdevice.h>:' -i device-sd.c |
812 |
- use dvbsddevice && WITH_DVBSDDEVICE=1 |
813 |
- use dvbhddevice && WITH_DVBHDDEVICE=1 |
814 |
- |
815 |
- # Remove unwanted plugins |
816 |
- cd systems/ || die "cd systems/ failed" |
817 |
- |
818 |
- local fl |
819 |
- for fl in *; do |
820 |
- |
821 |
- # Remember to update IUSE when bumping! |
822 |
- if ! use "${fl}"; then |
823 |
- einfo "Removing ${fl} plugin" |
824 |
- rm -r -- "${fl}" |
825 |
- fi |
826 |
- done |
827 |
-} |
828 |
- |
829 |
-src_install() { |
830 |
- vdr-plugin-2_src_install |
831 |
- |
832 |
- exeinto "${VDR_PLUGIN_DIR}" |
833 |
- doexe libsc-*.so.* || die "doexe failed" |
834 |
- |
835 |
- docinto FFdecsa |
836 |
- dodoc FFdecsa/docs/* || die "dodoc FFdecsa failed" |
837 |
- |
838 |
- docinto examples |
839 |
- dodoc examples/* || die "dodoc examples failed" |
840 |
-} |
841 |
- |
842 |
-pkg_postinst() { |
843 |
- vdr-plugin-2_pkg_postinst |
844 |
- |
845 |
- elog "This software might be illegal in some countries or violate" |
846 |
- elog "rules of your DVB provider" |
847 |
- elog "Please respect these rules." |
848 |
- elog |
849 |
- elog "We do not offer support of any kind" |
850 |
- elog "Asking for keys or for installation help will be ignored by gentoo developers!" |
851 |
- elog |
852 |
-} |