diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2005-11-20 14:21:57 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2005-11-20 14:21:57 +0000 |
commit | 0500dabf76757730c18c95ac95be15a4d23d0231 (patch) | |
tree | fdeb6fd0e96de8e8f693487a6b9ae0d22780a5bd /media-tv/linuxtv-dvb-apps | |
parent | Stable on mips. (diff) | |
download | historical-0500dabf76757730c18c95ac95be15a4d23d0231.tar.gz historical-0500dabf76757730c18c95ac95be15a4d23d0231.tar.bz2 historical-0500dabf76757730c18c95ac95be15a4d23d0231.zip |
Added patch to install evtest
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'media-tv/linuxtv-dvb-apps')
5 files changed, 97 insertions, 2 deletions
diff --git a/media-tv/linuxtv-dvb-apps/ChangeLog b/media-tv/linuxtv-dvb-apps/ChangeLog index 387950f906ee..c0f4bae146d8 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.8 2005/10/29 19:44:29 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-apps/ChangeLog,v 1.9 2005/11/20 14:21:56 zzam Exp $ + +*linuxtv-dvb-apps-1.1.0_p20050702-r1 (20 Nov 2005) + + 20 Nov 2005; Matthias Schwarzott <zzam@gentoo.org> + +files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-evtest.patch, + +linuxtv-dvb-apps-1.1.0_p20050702-r1.ebuild: + Added patch to install evtest 29 Oct 2005; Matthias Schwarzott <zzam@gentoo.org> linuxtv-dvb-apps-1.1.0.ebuild, linuxtv-dvb-apps-1.1.0_p20050702.ebuild: diff --git a/media-tv/linuxtv-dvb-apps/Manifest b/media-tv/linuxtv-dvb-apps/Manifest index 1b64bbdcc110..f317d1bbc580 100644 --- a/media-tv/linuxtv-dvb-apps/Manifest +++ b/media-tv/linuxtv-dvb-apps/Manifest @@ -1,9 +1,12 @@ MD5 1c27736f4ff65cfe105c80f9306823b2 linuxtv-dvb-apps-1.1.0.ebuild 2105 -MD5 7e81cbb7ee98cdbaefa091bfe580151b ChangeLog 1732 +MD5 226a0e65e2afe19bc05f1102e37e7b19 linuxtv-dvb-apps-1.1.0_p20050702-r1.ebuild 1858 +MD5 79c9a0002b6e8c094e2ac13daf0e8064 ChangeLog 1988 MD5 fe90bd3b536f39352b9bdd34940676d9 linuxtv-dvb-apps-1.1.0_p20050702.ebuild 1801 MD5 46b3654b1563aad69c575e55e8d67b61 metadata.xml 220 MD5 e59829ae0e470e61df8042ac7cae37ae files/digest-linuxtv-dvb-apps-1.1.0 74 MD5 6104b3f8ec6d578f2afa21d626a428c8 files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-datafiles.patch 649 MD5 086f7b665b6d4a51bc0c82a3a67c4c4c files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-ca_zap.patch 471 +MD5 9bb1b43a8444d5430d89839d0a6dba6c files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-evtest.patch 711 +MD5 f0abd17dd61428298069f80983583b6f files/digest-linuxtv-dvb-apps-1.1.0_p20050702-r1 79 MD5 a6d5954df07a40b6caaa2175bf51a3db files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-makefile-corrections.patch 10434 MD5 f0abd17dd61428298069f80983583b6f files/digest-linuxtv-dvb-apps-1.1.0_p20050702 79 diff --git a/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702-r1 b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702-r1 new file mode 100644 index 000000000000..d0626626963b --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/files/digest-linuxtv-dvb-apps-1.1.0_p20050702-r1 @@ -0,0 +1 @@ +MD5 23fd5f6e8db5a28e9513a3828c98d7c1 dvb-apps-snapshot-20050702.tar.bz2 158259 diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-evtest.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-evtest.patch new file mode 100644 index 000000000000..cd654b8568c7 --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.0_p20050702-gentoo-install-evtest.patch @@ -0,0 +1,16 @@ +diff -ru dvb-apps-orig/util/av7110_loadkeys/Makefile dvb-apps/util/av7110_loadkeys/Makefile +--- dvb-apps-orig/util/av7110_loadkeys/Makefile 2005-11-20 01:13:12.000000000 +0100 ++++ dvb-apps/util/av7110_loadkeys/Makefile 2005-11-20 01:13:44.000000000 +0100 +@@ -61,8 +61,10 @@ + $(RM) core* *.o input_keynames.h av7110_loadkeys evtest + + install: install-bin install-data +-install-bin: av7110_loadkeys ++install-bin: av7110_loadkeys evtest + install -m 755 av7110_loadkeys $(DESTDIR)$(bindir) ++ install -m 755 evtest $(DESTDIR)$(bindir) ++ + install-data: + mkdir -p $(DESTDIR)$(datadir)/dvb/av7110_loadkeys + cp *.rc5 *.rcmm $(DESTDIR)$(datadir)/dvb/av7110_loadkeys/ +Nur in dvb-apps/util/av7110_loadkeys: Makefile~. diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702-r1.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702-r1.ebuild new file mode 100644 index 000000000000..183024c4ddad --- /dev/null +++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.0_p20050702-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 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.0_p20050702-r1.ebuild,v 1.1 2005/11/20 14:21:57 zzam Exp $ + + +inherit eutils + +MY_P="${PN/linuxtv-/}-snapshot-${PV/*_p/}" + +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 ~x86" +S=${WORKDIR}/${MY_P} + +DEPEND="usb? ( >=dev-libs/libusb-0.1.10a )" +RDEPEND="${DEPEND}" + +src_unpack() +{ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo-makefile-corrections.patch + epatch ${FILESDIR}/${P}-gentoo-datafiles.patch + epatch ${FILESDIR}/${P}-gentoo-install-ca_zap.patch + epatch ${FILESDIR}/${P}-gentoo-install-evtest.patch + + # disables compilation of ttusb_dec_reset which requires libusb + use usb || sed -i util/Makefile -e '/ttusb_dec_reset/d' + + # do not compile test-progs + sed -i Makefile -e '/-C test/d' +} + +src_compile() +{ + # interferes with variable in Makefile + unset ARCH + + emake bindir=/usr/bin datadir=/usr/share libdir=/usr/lib || die "failed to compile" +} + +src_install() +{ + # interferes with variable in Makefile + unset ARCH + + emake bindir=/usr/bin datadir=/usr/share libdir=/usr/lib DESTDIR=${D} INSTDIR=${T} install || die "install failed" + + dodoc README TODO INSTALL + 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/READEM README.ttusb_dec_reset +} + +pkg_postinst() +{ + einfo "Please read the documentation in /usr/share/doc/${PF}." + einfo "The channel lists and other files are installed in" + einfo "/usr/share/dvb" + einfo + einfo "The scanning utility is now installed as dvbscan." +} |