Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-dvbapi/, media-plugins/vdr-dvbapi/files/
Date: Mon, 29 Aug 2022 18:39:58
Message-Id: 1661798349.026b11d13172bdcc1322d46dac71faf4fc81473d.asturm@gentoo
1 commit: 026b11d13172bdcc1322d46dac71faf4fc81473d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 21:46:53 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 18:39:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026b11d1
7
8 media-plugins/vdr-dvbapi: drop 2.2.4, EAPI-6--
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 media-plugins/vdr-dvbapi/Manifest | 1 -
13 .../vdr-dvbapi/files/kernel-4.14-fix.diff | 15 ----
14 media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.4.ebuild | 93 ----------------------
15 3 files changed, 109 deletions(-)
16
17 diff --git a/media-plugins/vdr-dvbapi/Manifest b/media-plugins/vdr-dvbapi/Manifest
18 index 5eda0bbb5d93..a081dcfd8bfb 100644
19 --- a/media-plugins/vdr-dvbapi/Manifest
20 +++ b/media-plugins/vdr-dvbapi/Manifest
21 @@ -1,2 +1 @@
22 -DIST vdr-plugin-dvbapi-2.2.4.tar.gz 94419 BLAKE2B 326346b418ece22674aa0d84efd798a9eb8e958586d24385b4e468c11478f63ed89e94c742c57c5b1e955dc598db29a39e3730d71c93005aa6dcda262545e4e2 SHA512 d1313e927978fcf150ae14e570c16059caeeec07992066b03282295147872da3bdb191209408539c2a70c2ada868f731e9e5504a8dd737143f86e33a85fdf0c7
23 DIST vdr-plugin-dvbapi-2.2.5.tar.gz 95270 BLAKE2B dbab07bc7df8fdc7ec009b82723631a5e61cb1d4a9afdad16e32282a3e71d6bc87e7c78ec8cea73690606bda504c19bdd9123d1ca7a4e712b15ca884c77dabaa SHA512 7036705ddf706192774f511cab813c64d092a1db1c635003e28d6960d3d46ef484f44b86c15fae782d29ada728eae1861d009d91cb71ad77cb0a1b2ad316069b
24
25 diff --git a/media-plugins/vdr-dvbapi/files/kernel-4.14-fix.diff b/media-plugins/vdr-dvbapi/files/kernel-4.14-fix.diff
26 deleted file mode 100644
27 index 07644ab418ca..000000000000
28 --- a/media-plugins/vdr-dvbapi/files/kernel-4.14-fix.diff
29 +++ /dev/null
30 @@ -1,15 +0,0 @@
31 ---- a/CA.h 2017-03-28 11:14:07.000000000 +0200
32 -+++ b/CA.h 2018-03-27 00:47:51.231750662 +0200
33 -@@ -9,4 +9,12 @@
34 - unsigned char cw[16];
35 - } ca_descr_aes_t;
36 -
37 -+#ifndef CA_SET_PID /* removed in kernel 4.14 */
38 -+typedef struct ca_pid {
39 -+ unsigned int pid;
40 -+ int index; /* -1 == disable */
41 -+} ca_pid_t;
42 -+#define CA_SET_PID _IOW('o', 135, struct ca_pid)
43 - #endif
44 -+
45 -+#endif // __CA_H
46
47 diff --git a/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.4.ebuild b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.4.ebuild
48 deleted file mode 100644
49 index 35df01ca84a5..000000000000
50 --- a/media-plugins/vdr-dvbapi/vdr-dvbapi-2.2.4.ebuild
51 +++ /dev/null
52 @@ -1,93 +0,0 @@
53 -# Copyright 1999-2021 Gentoo Authors
54 -# Distributed under the terms of the GNU General Public License v2
55 -
56 -EAPI=6
57 -
58 -inherit vdr-plugin-2
59 -
60 -MY_P="vdr-plugin-dvbapi-${PV}"
61 -
62 -DESCRIPTION="VDR Plugin: allows connect VDR to OScam"
63 -HOMEPAGE="https://github.com/manio/vdr-plugin-dvbapi"
64 -SRC_URI="https://github.com/manio/vdr-plugin-dvbapi/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
65 -
66 -KEYWORDS="amd64 x86"
67 -SLOT="0"
68 -LICENSE="GPL-2+"
69 -IUSE="cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 dvbcsa"
70 -
71 -DEPEND=">=media-video/vdr-2.1.4
72 - dvbcsa? ( media-libs/libdvbcsa )"
73 -RDEPEND="${DEPEND}"
74 -
75 -S="${WORKDIR}/${MY_P}"
76 -
77 -DOCS=( "FAQ" "HISTORY" "INSTALL" "README" "FFdecsa/docs" )
78 -
79 -src_prepare() {
80 - vdr-plugin-2_src_prepare
81 -
82 - if use dvbcsa; then
83 - sed -e "/PLUGIN = dvbapi/a LIBDVBCSA = 1" -i Makefile || die "modifying Makefile"
84 - fi
85 -
86 - # respect the system CXXFLAGS
87 - sed -e "s:FLAGS:CXXFLAGS:" -i FFdecsa/Makefile || die "modifying FFdecsa/Makefile"
88 -
89 - # Prepare flags for FFdeCSA
90 - if [[ -n "${VDR_DVBAPI_PARALLEL}" ]]; then
91 - PARALLEL="${VDR_DVBAPI_PARALLEL}"
92 - else
93 - # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE
94 - # [64] Athlon64 (SSE2) does much better with 64_LONG
95 - # [32] Athlon64 (SSE2) does best with MMX
96 - # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE
97 - # [32] AthlonXP (SSE) has MMX faster
98 -
99 - # To avoid parsing -march=, we use ugly assumption that Intels don't
100 - # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs,
101 - # and LONG is best on 64-bit AMD CPUs.
102 -
103 - if ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse2; then
104 - PARALLEL=PARALLEL_128_SSE2
105 - elif ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse; then
106 - PARALLEL=PARALLEL_128_SSE
107 - elif use amd64; then
108 - PARALLEL=PARALLEL_64_LONG
109 - elif use cpu_flags_x86_mmx; then
110 - PARALLEL=PARALLEL_64_MMX
111 - else
112 - # fallback values:
113 - # PARALLEL_32_INT fails with gcc4.4 on x86&amd64
114 - # PARALLEL_64_2INT fails with gcc4.4 on x86
115 - # PARALLEL_128_4INT seems to be the fastest non-failing fallback
116 - PARALLEL=PARALLEL_128_4INT
117 - fi
118 -
119 - ewarn "VDR_DVBAPI_PARALLEL in your system make.conf is not set, guessing"
120 - ewarn "value from CPU_FLAGS_X86 USEflags, result: ${PARALLEL}"
121 - ewarn "This setting may be suboptimal, so you'll probably want to tweak"
122 - ewarn "it yourself."
123 - ewarn
124 - ewarn "To do this, unpack the source and run the script in"
125 - ewarn "\t<unpackdir>/${MY_P}/extra/FFdecsa-benchmark.sh"
126 - ewarn "and add the output value from PARALLEL_MODE= to your system make.conf as"
127 - ewarn "\tVDR_DVBAPI_PARALLEL=<your parameter>"
128 - ewarn
129 - fi
130 -
131 - export PARALLEL
132 -
133 - eapply "${FILESDIR}/kernel-4.14-fix.diff"
134 -}
135 -
136 -pkg_postinst() {
137 - vdr-plugin-2_pkg_postinst
138 -
139 - elog "This software might be illegal in some countries or violate"
140 - elog "rules of your DVB provider. Please respect these rules."
141 - elog
142 - elog "We do not offer support of any kind."
143 - elog "Asking for keys or for installation help will be ignored by gentoo developers!"
144 - elog
145 -}