1 |
commit: dbb7f0ea8131dc57d5db1b559c162ad088d35e76 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 1 03:20:33 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 1 03:20:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbb7f0ea |
7 |
|
8 |
media-tv/linuxtv-dvb-apps: cleanup old |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../linuxtv-dvb-apps-1.1.1.20140321.ebuild | 92 ---------------------- |
14 |
1 file changed, 92 deletions(-) |
15 |
|
16 |
diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321.ebuild |
17 |
deleted file mode 100644 |
18 |
index 616e5095aba..00000000000 |
19 |
--- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,92 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit toolchain-funcs vcs-snapshot |
28 |
- |
29 |
-HOMEPAGE="https://www.linuxtv.org/" |
30 |
-DESCRIPTION="Small utils for DVB to scan, zap, view signal strength" |
31 |
-SRC_URI="https://www.linuxtv.org/hg/dvb-apps/archive/3d43b280298c.tar.bz2 -> ${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 ~arm ppc x86" |
36 |
-IUSE="alevt usb" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- alevt? ( |
40 |
- !media-video/alevt |
41 |
- media-libs/libpng:0= |
42 |
- media-libs/zvbi[v4l] |
43 |
- sys-libs/zlib |
44 |
- x11-libs/libX11 |
45 |
- ) |
46 |
- usb? ( virtual/libusb:0 ) |
47 |
-" |
48 |
-DEPEND="${RDEPEND} |
49 |
- dev-lang/perl |
50 |
- virtual/linuxtv-dvb-headers |
51 |
-" |
52 |
-RDEPEND+=" |
53 |
- media-tv/dtv-scan-tables |
54 |
-" |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-1.1.1.20100223-ldflags.patch |
58 |
- "${FILESDIR}"/${PN}-1.1.1.20100223-alevt.patch |
59 |
- "${FILESDIR}"/${PN}-1.1.1.20100223-perl526.patch |
60 |
- "${FILESDIR}"/${PN}-no-ca_set_pid.patch |
61 |
-) |
62 |
- |
63 |
-src_prepare() { |
64 |
- default |
65 |
- |
66 |
- # do not compile test-progs, incompatible with videodev2.h |
67 |
- sed -i '/-C test/d' Makefile || die |
68 |
- |
69 |
- # remove copy of header-files |
70 |
- rm -rv "${S}"/include/ || die |
71 |
-} |
72 |
- |
73 |
-src_compile() { |
74 |
- emake V=1 CC=$(tc-getCC) $(usex usb "ttusb_dec_reset=1" "") |
75 |
- use alevt && emake -C util/alevt CC=$(tc-getCC) OPT="${CFLAGS}" |
76 |
-} |
77 |
- |
78 |
-src_install() { |
79 |
- emake V=1 prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" \ |
80 |
- $(usex usb "ttusb_dec_reset=1" "") \ |
81 |
- DESTDIR="${D}" INSTDIR="${T}" install |
82 |
- |
83 |
- if use alevt ; then |
84 |
- dodir /usr/share/{applications,man/man1} |
85 |
- emake -C util/alevt DESTDIR="${D}" install |
86 |
- fi |
87 |
- |
88 |
- # rename scan to scan-dvb |
89 |
- mv "${ED}"/usr/bin/scan{,-dvb} || die |
90 |
- |
91 |
- # install zap-files |
92 |
- local dir="" |
93 |
- for dir in dvb-{s,c,t} atsc ; do |
94 |
- insinto /usr/share/dvb/zap/${dir} |
95 |
- doins "${S}"/util/szap/channels-conf/${dir}/* |
96 |
- done |
97 |
- |
98 |
- # install remote-key files |
99 |
- insinto /usr/share/dvb/av7110_loadkeys |
100 |
- doins util/av7110_loadkeys/*.rc* |
101 |
- |
102 |
- # install Documentation |
103 |
- dodoc README |
104 |
- newdoc util/scan/README README.scan-dvb |
105 |
- newdoc util/szap/README README.zap |
106 |
- newdoc util/av7110_loadkeys/README README.av7110_loadkeys |
107 |
- |
108 |
- use usb && newdoc util/ttusb_dec_reset/README README.ttusb_dec_reset |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- elog "/usr/bin/scan has been installed as scan-dvb." |
113 |
-} |