Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/linuxtv-dvb-apps: ChangeLog linuxtv-dvb-apps-1.1.1.20070924.ebuild
Date: Mon, 24 Sep 2007 20:27:46
Message-Id: E1IZuAp-0003SW-W2@stork.gentoo.org
1 cardoe 07/09/24 20:04:55
2
3 Modified: ChangeLog
4 Added: linuxtv-dvb-apps-1.1.1.20070924.ebuild
5 Log:
6 latest upstream snapshot. Includes many scan file updates. Drops duplicate installs of scan files in /usr/share/dvb.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.34 media-tv/linuxtv-dvb-apps/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 11 Aug 2007 19:18:58 -0000 1.33
23 +++ ChangeLog 24 Sep 2007 20:04:55 -0000 1.34
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-tv/linuxtv-dvb-apps
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.33 2007/08/11 19:18:58 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.34 2007/09/24 20:04:55 cardoe Exp $
29 +
30 +*linuxtv-dvb-apps-1.1.1.20070924 (24 Sep 2007)
31 +
32 + 24 Sep 2007; Doug Goldstein <cardoe@g.o>
33 + +linuxtv-dvb-apps-1.1.1.20070924.ebuild:
34 + latest upstream snapshot. Includes many scan file updates. Drops duplicate
35 + installs of scan files in /usr/share/dvb.
36
37 11 Aug 2007; Markus Rothe <corsair@g.o>
38 linuxtv-dvb-apps-1.1.1.20070114.ebuild:
39
40
41
42 1.1 media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild?rev=1.1&content-type=text/plain
46
47 Index: linuxtv-dvb-apps-1.1.1.20070924.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild,v 1.1 2007/09/24 20:04:55 cardoe Exp $
52
53 inherit eutils versionator multilib
54
55 MY_P="${PN}-$(get_version_component_range 4)"
56
57 IUSE="usb"
58 SLOT="0"
59 HOMEPAGE="http://www.linuxtv.org/"
60 DESCRIPTION="small utils for DVB to scan, zap, view signal strength, ..."
61 LICENSE="GPL-2"
62 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
63 KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
64
65 RDEPEND="usb? ( >=dev-libs/libusb-0.1.10a )"
66 DEPEND="${DEPEND}
67 media-tv/linuxtv-dvb-headers"
68
69 S="${WORKDIR}/dvb-apps-4bca5d49c9bd"
70
71 src_unpack()
72 {
73 unpack ${A}
74
75 cd ${S}
76
77 # disables compilation of ttusb_dec_reset which requires libusb
78 if ! use usb; then
79 sed -i util/Makefile \
80 -e '/ttusb_dec_reset/d' \
81 -e '/dib3000-watch/d'
82 fi
83
84 # do not compile test-progs
85 sed -i Makefile -e '/-C test/d'
86
87 # remove copy of header-files
88 rm -rf ${S}/include
89 }
90
91 src_compile()
92 {
93 # interferes with variable in Makefile
94 unset ARCH
95
96 emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) || die "failed to compile"
97 }
98
99 src_install()
100 {
101 # interferes with variable in Makefile
102 unset ARCH
103
104 insinto /usr/bin
105 emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) prefix=/usr \
106 DESTDIR=${D} INSTDIR=${T} install || die "install failed"
107
108 # rename scan to dvbscan
109 mv ${D}/usr/bin/scan ${D}/usr/bin/dvbscan
110
111 # install zap-files
112 for dir in dvb-{s,c,t} atsc; do
113 insinto /usr/share/dvb/zap/${dir}
114 doins ${S}/util/szap/channels-conf/${dir}/*
115 done
116
117 # install remote-key files
118 insinto /usr/share/dvb/av7110_loadkeys
119 doins ${S}/util/av7110_loadkeys/*.rc*
120
121 # install Documentation
122 dodoc README TODO
123 newdoc util/scan/README README.dvbscan
124 newdoc util/szap/README README.zap
125 newdoc util/av7110_loadkeys/README README.av7110_loadkeys
126
127 use usb && newdoc util/ttusb_dec_reset/README README.ttusb_dec_reset
128 }
129
130 pkg_postinst()
131 {
132 elog "Please read the documentation in /usr/share/doc/${PF}."
133 elog "The channel lists and other files are installed in"
134 elog "/usr/share/dvb"
135 elog
136 elog "The scanning utility is now installed as dvbscan."
137 }
138
139
140
141 --
142 gentoo-commits@g.o mailing list