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.20100223.ebuild
Date: Tue, 23 Feb 2010 19:57:47
Message-Id: E1Nk0t3-0003Wi-Gt@stork.gentoo.org
1 zzam 10/02/23 19:57:41
2
3 Modified: ChangeLog
4 Added: linuxtv-dvb-apps-1.1.1.20100223.ebuild
5 Log:
6 Added new snapshot.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.44 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.44&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog?rev=1.44&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog?r1=1.43&r2=1.44
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v
19 retrieving revision 1.43
20 retrieving revision 1.44
21 diff -u -r1.43 -r1.44
22 --- ChangeLog 21 Dec 2008 14:48:57 -0000 1.43
23 +++ ChangeLog 23 Feb 2010 19:57:40 -0000 1.44
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-tv/linuxtv-dvb-apps
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.43 2008/12/21 14:48:57 nixnut Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.44 2010/02/23 19:57:40 zzam Exp $
30 +
31 +*linuxtv-dvb-apps-1.1.1.20100223 (23 Feb 2010)
32 +
33 + 23 Feb 2010; Matthias Schwarzott <zzam@g.o>
34 + +linuxtv-dvb-apps-1.1.1.20100223.ebuild:
35 + Added new snapshot.
36
37 21 Dec 2008; nixnut <nixnut@g.o>
38 linuxtv-dvb-apps-1.1.1.20080317.ebuild:
39
40
41
42 1.1 media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20100223.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.20100223.ebuild?rev=1.1&content-type=text/plain
46
47 Index: linuxtv-dvb-apps-1.1.1.20100223.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.20100223.ebuild,v 1.1 2010/02/23 19:57:40 zzam 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 !dev-db/xbase"
67 DEPEND="${RDEPEND}
68 media-tv/linuxtv-dvb-headers"
69 # !dev-db/xbase (bug #208596)
70
71 S="${WORKDIR}/dvb-apps-7de0663facd9"
72
73 src_unpack()
74 {
75 unpack ${A}
76
77 cd "${S}"
78
79 # do not compile test-progs
80 sed -i Makefile -e '/-C test/d'
81
82 # remove copy of header-files
83 rm -rf "${S}"/include
84 }
85
86 src_compile()
87 {
88 # ttusb_dec_reset requires libusb
89 myopts=""
90 use usb && myopts="${myopts} ttusb_dec_reset=1"
91
92 emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) \
93 ${myopts} || die "failed to compile"
94 }
95
96 src_install()
97 {
98 insinto /usr/bin
99 emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) prefix=/usr \
100 DESTDIR="${D}" INSTDIR="${T}" ${myopts} install || die "install failed"
101
102 # rename scan to dvbscan
103 mv "${D}"/usr/bin/scan "${D}"/usr/bin/dvbscan
104
105 # install zap-files
106 for dir in dvb-{s,c,t} atsc; do
107 insinto /usr/share/dvb/zap/${dir}
108 doins "${S}"/util/szap/channels-conf/${dir}/*
109 done
110
111 # install remote-key files
112 insinto /usr/share/dvb/av7110_loadkeys
113 doins "${S}"/util/av7110_loadkeys/*.rc*
114
115 # install Documentation
116 dodoc README
117 newdoc util/scan/README README.dvbscan
118 newdoc util/szap/README README.zap
119 newdoc util/av7110_loadkeys/README README.av7110_loadkeys
120
121 use usb && newdoc util/ttusb_dec_reset/README README.ttusb_dec_reset
122 }
123
124 pkg_postinst()
125 {
126 elog "Please read the documentation in /usr/share/doc/${PF}."
127 elog "The channel lists and other files are installed in"
128 elog "/usr/share/dvb"
129 elog
130 elog "The scanning utility is now installed as dvbscan."
131 }