Gentoo Archives: gentoo-commits

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