1 |
commit: 0ce4053c132ab6496b33d1c2402615c9999a9c55 |
2 |
Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 18:47:09 2019 +0000 |
4 |
Commit: Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 18:53:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce4053c |
7 |
|
8 |
media-plugins/vdr-dvbapi: version bump |
9 |
|
10 |
this version need |
11 |
>=media-video/vdr-2.4 |
12 |
|
13 |
Package-Manager: Portage-2.3.82, Repoman-2.3.18 |
14 |
Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org> |
15 |
|
16 |
media-plugins/vdr-dvbapi/Manifest | 1 + |
17 |
media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.5.ebuild | 92 ++++++++++++++++++++++++ |
18 |
2 files changed, 93 insertions(+) |
19 |
|
20 |
diff --git a/media-plugins/vdr-dvbapi/Manifest b/media-plugins/vdr-dvbapi/Manifest |
21 |
index c736ff3e9ca..cba8d0ff97a 100644 |
22 |
--- a/media-plugins/vdr-dvbapi/Manifest |
23 |
+++ b/media-plugins/vdr-dvbapi/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST vdr-dvbapi-2.1.1.tar.gz 82813 BLAKE2B 2dd2b4aa11a645b4168ebbae962371f94a6e70ff905b06230048a69921f31521468506f2959ce5d5327b4cf61edc620686210520239e751e142e524751640e0d SHA512 fb632e66c9e477663eb1edf5e630a20b2165495c89d5bd6294d74d6a28c8386021d90914c9c6b958ea3c5c1d0958cc69efa5c65ef72c510c224d676f1eca39ae |
26 |
DIST vdr-dvbapi-2.2.2.tar.gz 83995 BLAKE2B 6ddd9cc4e3edbd504505b7bbb9c40e203d53faab43b3d1afe9b9834cf3d751ba469536b5f27c24cfb04afeba1378ee3ac8dc0885db8a4576ce7a275233c88ca6 SHA512 01d3a6368e0233a7b96b6ea57b28884a004a130d63da2b2958b1616a1108e83389b68cbe32ec7fc6be65d6741912c4f46621b659fb13dba56e594a1a18af2c63 |
27 |
DIST vdr-plugin-dvbapi-2.2.4.tar.gz 94419 BLAKE2B 326346b418ece22674aa0d84efd798a9eb8e958586d24385b4e468c11478f63ed89e94c742c57c5b1e955dc598db29a39e3730d71c93005aa6dcda262545e4e2 SHA512 d1313e927978fcf150ae14e570c16059caeeec07992066b03282295147872da3bdb191209408539c2a70c2ada868f731e9e5504a8dd737143f86e33a85fdf0c7 |
28 |
+DIST vdr-plugin-dvbapi-2.2.5.tar.gz 95270 BLAKE2B dbab07bc7df8fdc7ec009b82723631a5e61cb1d4a9afdad16e32282a3e71d6bc87e7c78ec8cea73690606bda504c19bdd9123d1ca7a4e712b15ca884c77dabaa SHA512 7036705ddf706192774f511cab813c64d092a1db1c635003e28d6960d3d46ef484f44b86c15fae782d29ada728eae1861d009d91cb71ad77cb0a1b2ad316069b |
29 |
|
30 |
diff --git a/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.5.ebuild b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.5.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..975b899864a |
33 |
--- /dev/null |
34 |
+++ b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.5.ebuild |
35 |
@@ -0,0 +1,92 @@ |
36 |
+# Copyright 2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit vdr-plugin-2 |
42 |
+ |
43 |
+MY_P="vdr-plugin-dvbapi-${PV}" |
44 |
+ |
45 |
+DESCRIPTION="VDR Plugin: allows connect VDR to OScam" |
46 |
+HOMEPAGE="https://github.com/manio/vdr-plugin-dvbapi" |
47 |
+SRC_URI="https://github.com/manio/vdr-plugin-dvbapi/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2+" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 dvbcsa" |
53 |
+ |
54 |
+DEPEND=">=media-video/vdr-2.1.4 |
55 |
+ dvbcsa? ( media-libs/libdvbcsa )" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+DOCS=( "FAQ" "HISTORY" "INSTALL" "README" "FFdecsa/docs" ) |
59 |
+QA_FLAGS_IGNORED=" |
60 |
+ usr/lib/vdr/plugins/libvdr-dvbapi.* |
61 |
+ usr/lib64/vdr/plugins/libvdr-dvbapi.*" |
62 |
+S="${WORKDIR}/${MY_P}" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ vdr-plugin-2_src_prepare |
66 |
+ |
67 |
+ # respect the system CXXFLAGS |
68 |
+ sed -e "s:FLAGS:CXXFLAGS:" -i FFdecsa/Makefile || die "modifying FFdecsa/Makefile" |
69 |
+ |
70 |
+ if use dvbcsa; then |
71 |
+ sed -e "s:PLUGIN = dvbapi:PLUGIN = dvbapi\nLIBDVBCSA = 1:" -i Makefile || die "modifying Makefile" |
72 |
+ else |
73 |
+ # Prepare flags for FFdeCSA |
74 |
+ if [[ -n "${VDR_DVBAPI_PARALLEL}" ]]; then |
75 |
+ PARALLEL="${VDR_DVBAPI_PARALLEL}" |
76 |
+ else |
77 |
+ # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE |
78 |
+ # [64] Athlon64 (SSE2) does much better with 64_LONG |
79 |
+ # [32] Athlon64 (SSE2) does best with MMX |
80 |
+ # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE |
81 |
+ # [32] AthlonXP (SSE) has MMX faster |
82 |
+ |
83 |
+ # To avoid parsing -march=, we use ugly assumption that Intels don't |
84 |
+ # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, |
85 |
+ # and LONG is best on 64-bit AMD CPUs. |
86 |
+ |
87 |
+ if ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse2; then |
88 |
+ PARALLEL=PARALLEL_128_SSE2 |
89 |
+ elif ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse; then |
90 |
+ PARALLEL=PARALLEL_128_SSE |
91 |
+ elif use amd64; then |
92 |
+ PARALLEL=PARALLEL_64_LONG |
93 |
+ elif use cpu_flags_x86_mmx; then |
94 |
+ PARALLEL=PARALLEL_64_MMX |
95 |
+ else |
96 |
+ # fallback values: |
97 |
+ # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 |
98 |
+ # PARALLEL_64_2INT fails with gcc4.4 on x86 |
99 |
+ # PARALLEL_128_4INT seems to be the fastest non-failing fallback |
100 |
+ PARALLEL=PARALLEL_128_4INT |
101 |
+ fi |
102 |
+ |
103 |
+ ewarn "VDR_DVBAPI_PARALLEL in your system make.conf is not set, guessing" |
104 |
+ ewarn "value from CPU_FLAGS_X86 USEflags, result: ${PARALLEL}" |
105 |
+ ewarn "This setting may be suboptimal, so you'll probably want to tweak" |
106 |
+ ewarn "it yourself." |
107 |
+ ewarn |
108 |
+ ewarn "To do this, unpack the source and run the script in" |
109 |
+ ewarn "\t<unpackdir>/${MY_P}/extra/FFdecsa-benchmark.sh" |
110 |
+ ewarn "and add the output value from PARALLEL_MODE= to your system make.conf as" |
111 |
+ ewarn "\tVDR_DVBAPI_PARALLEL=<your parameter>" |
112 |
+ ewarn |
113 |
+ fi |
114 |
+ export PARALLEL |
115 |
+ fi |
116 |
+} |
117 |
+ |
118 |
+pkg_postinst() { |
119 |
+ vdr-plugin-2_pkg_postinst |
120 |
+ |
121 |
+ elog "This software might be illegal in some countries or violate" |
122 |
+ elog "rules of your DVB provideri. Please respect these rules." |
123 |
+ elog |
124 |
+ elog "We do not offer support of any kind." |
125 |
+ elog "Asking for keys or for installation help will be ignored by gentoo developers!" |
126 |
+ elog |
127 |
+} |