diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-11-26 20:25:17 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-11-26 20:25:17 +0000 |
commit | df4955dc4d1e73d466c51b751fa42ef8e3a0761e (patch) | |
tree | e6794f0409dc678b579d1e7b97daa672e3bd7bfa /media-tv/linuxtv-dvb-apps | |
parent | Add live svn ebuild. (diff) | |
download | gentoo-2-df4955dc4d1e73d466c51b751fa42ef8e3a0761e.tar.gz gentoo-2-df4955dc4d1e73d466c51b751fa42ef8e3a0761e.tar.bz2 gentoo-2-df4955dc4d1e73d466c51b751fa42ef8e3a0761e.zip |
New snapshot. Small bugfixes. Basically adds new scanfiles.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'media-tv/linuxtv-dvb-apps')
3 files changed, 99 insertions, 1 deletions
diff --git a/media-tv/linuxtv-dvb-apps/ChangeLog b/media-tv/linuxtv-dvb-apps/ChangeLog index 3995641a96f4..b5008e1f4765 100644 --- a/media-tv/linuxtv-dvb-apps/ChangeLog +++ b/media-tv/linuxtv-dvb-apps/ChangeLog @@ -1,6 +1,12 @@ # 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.35 2007/10/15 15:27:14 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.36 2007/11/26 20:25:17 zzam Exp $ + +*linuxtv-dvb-apps-1.1.1.20071126 (26 Nov 2007) + + 26 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> + +linuxtv-dvb-apps-1.1.1.20071126.ebuild: + New snapshot. Small bugfixes. Basically adds new scanfiles. 15 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> metadata.xml: Assign package to media-tv herd only. diff --git a/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20071126 b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20071126 new file mode 100644 index 000000000000..8e5197f08480 --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.1.20071126 @@ -0,0 +1,3 @@ +MD5 62581ce0517656c9bc288711fcce293e linuxtv-dvb-apps-20071126.tar.bz2 306951 +RMD160 33d271e837fced1fdb8a587eb4e9b8226e0d10ed linuxtv-dvb-apps-20071126.tar.bz2 306951 +SHA256 bf79dc46135d0a3ee978293ab38b17e898dbf06501c67c93dd6726c6b621e0fa linuxtv-dvb-apps-20071126.tar.bz2 306951 diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20071126.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20071126.ebuild new file mode 100644 index 000000000000..33d57b706a57 --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20071126.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.20071126.ebuild,v 1.1 2007/11/26 20:25:17 zzam 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-06d58a93512c" + +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." +} |