diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-09-24 20:04:56 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-09-24 20:04:56 +0000 |
commit | 5adb7cfd78807c4a5be1399210d3379fe3903fea (patch) | |
tree | 563692d2603ca4fc59021f97bd2bf7dfaa209cdf /media-tv/linuxtv-dvb-apps | |
parent | Simplified rules a bit. Let user configure max inode nr of /dev, solving bug ... (diff) | |
download | gentoo-2-5adb7cfd78807c4a5be1399210d3379fe3903fea.tar.gz gentoo-2-5adb7cfd78807c4a5be1399210d3379fe3903fea.tar.bz2 gentoo-2-5adb7cfd78807c4a5be1399210d3379fe3903fea.zip |
latest upstream snapshot. Includes many scan file updates. Drops duplicate installs of scan files in /usr/share/dvb.
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-tv/linuxtv-dvb-apps')
3 files changed, 100 insertions, 1 deletions
diff --git a/media-tv/linuxtv-dvb-apps/ChangeLog b/media-tv/linuxtv-dvb-apps/ChangeLog index 5c194d774d3e..1d611bf89f1f 100644 --- a/media-tv/linuxtv-dvb-apps/ChangeLog +++ b/media-tv/linuxtv-dvb-apps/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-tv/linuxtv-dvb-apps # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.33 2007/08/11 19:18:58 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.34 2007/09/24 20:04:55 cardoe Exp $ + +*linuxtv-dvb-apps-1.1.1.20070924 (24 Sep 2007) + + 24 Sep 2007; Doug Goldstein <cardoe@gentoo.org> + +linuxtv-dvb-apps-1.1.1.20070924.ebuild: + latest upstream snapshot. Includes many scan file updates. Drops duplicate + installs of scan files in /usr/share/dvb. 11 Aug 2007; Markus Rothe <corsair@gentoo.org> linuxtv-dvb-apps-1.1.1.20070114.ebuild: diff --git a/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20070924 b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20070924 new file mode 100644 index 000000000000..f2384c77860d --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20070924 @@ -0,0 +1,3 @@ +MD5 bb5519df1ad3078f83c9a9f84bc1815e linuxtv-dvb-apps-20070924.tar.bz2 306662 +RMD160 c21c0aba869d47f8f8e4c2bf62b2a23476a8e5c3 linuxtv-dvb-apps-20070924.tar.bz2 306662 +SHA256 1cb3e2c40512fb3f2d89df7319bdbdf472a05f03ac3333729738810c3a58fc37 linuxtv-dvb-apps-20070924.tar.bz2 306662 diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild new file mode 100644 index 000000000000..84a318233628 --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20070924.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit eutils versionator multilib + +MY_P="${PN}-$(get_version_component_range 4)" + +IUSE="usb" +SLOT="0" +HOMEPAGE="http://www.linuxtv.org/" +DESCRIPTION="small utils for DVB to scan, zap, view signal strength, ..." +LICENSE="GPL-2" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" + +RDEPEND="usb? ( >=dev-libs/libusb-0.1.10a )" +DEPEND="${DEPEND} + media-tv/linuxtv-dvb-headers" + +S="${WORKDIR}/dvb-apps-4bca5d49c9bd" + +src_unpack() +{ + unpack ${A} + + cd ${S} + + # disables compilation of ttusb_dec_reset which requires libusb + if ! use usb; then + sed -i util/Makefile \ + -e '/ttusb_dec_reset/d' \ + -e '/dib3000-watch/d' + fi + + # do not compile test-progs + sed -i Makefile -e '/-C test/d' + + # remove copy of header-files + rm -rf ${S}/include +} + +src_compile() +{ + # interferes with variable in Makefile + unset ARCH + + emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) || die "failed to compile" +} + +src_install() +{ + # interferes with variable in Makefile + unset ARCH + + insinto /usr/bin + emake bindir=/usr/bin datadir=/usr/share libdir=/usr/$(get_libdir) prefix=/usr \ + DESTDIR=${D} INSTDIR=${T} install || die "install failed" + + # rename scan to dvbscan + mv ${D}/usr/bin/scan ${D}/usr/bin/dvbscan + + # install zap-files + for dir in dvb-{s,c,t} atsc; do + insinto /usr/share/dvb/zap/${dir} + doins ${S}/util/szap/channels-conf/${dir}/* + done + + # install remote-key files + insinto /usr/share/dvb/av7110_loadkeys + doins ${S}/util/av7110_loadkeys/*.rc* + + # install Documentation + dodoc README TODO + newdoc util/scan/README README.dvbscan + newdoc util/szap/README README.zap + newdoc util/av7110_loadkeys/README README.av7110_loadkeys + + use usb && newdoc util/ttusb_dec_reset/README README.ttusb_dec_reset +} + +pkg_postinst() +{ + elog "Please read the documentation in /usr/share/doc/${PF}." + elog "The channel lists and other files are installed in" + elog "/usr/share/dvb" + elog + elog "The scanning utility is now installed as dvbscan." +} |