diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2005-12-09 21:25:28 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2005-12-09 21:25:28 +0000 |
commit | 4c77948a0aa89dce70b8877a2e113255cf0fe648 (patch) | |
tree | f6e786f434635d93969ef6ac491cafaf73de75cd /media-tv/linuxtv-dvb | |
parent | Version bump for xfce-4.2.3.2. (diff) | |
download | gentoo-2-4c77948a0aa89dce70b8877a2e113255cf0fe648.tar.gz gentoo-2-4c77948a0aa89dce70b8877a2e113255cf0fe648.tar.bz2 gentoo-2-4c77948a0aa89dce70b8877a2e113255cf0fe648.zip |
moved to linux-mod.eclass, compile in firmware 2622 - hope this is not too new and works
(Portage version: 2.0.53)
Diffstat (limited to 'media-tv/linuxtv-dvb')
-rw-r--r-- | media-tv/linuxtv-dvb/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/Manifest | 10 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1-r2 | 2 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1-r2.ebuild | 85 |
4 files changed, 101 insertions, 5 deletions
diff --git a/media-tv/linuxtv-dvb/ChangeLog b/media-tv/linuxtv-dvb/ChangeLog index e5777a67969c..10352f206dd6 100644 --- a/media-tv/linuxtv-dvb/ChangeLog +++ b/media-tv/linuxtv-dvb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-tv/linuxtv-dvb # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb/ChangeLog,v 1.16 2005/12/03 17:01:48 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb/ChangeLog,v 1.17 2005/12/09 21:25:28 zzam Exp $ + +*linuxtv-dvb-1.1.1-r2 (09 Dec 2005) + + 09 Dec 2005; Matthias Schwarzott <zzam@gentoo.org> + +linuxtv-dvb-1.1.1-r2.ebuild: + moved to linux-mod.eclass, compile in firmware 2622 - hope this is not too + new and works 03 Dec 2005; Matthias Schwarzott <zzam@gentoo.org> linuxtv-dvb-1.1.1-r1.ebuild: diff --git a/media-tv/linuxtv-dvb/Manifest b/media-tv/linuxtv-dvb/Manifest index a00abe4e5043..0e67a9a2f701 100644 --- a/media-tv/linuxtv-dvb/Manifest +++ b/media-tv/linuxtv-dvb/Manifest @@ -1,7 +1,9 @@ -MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219 -MD5 b0924260da64da807f88467373957c76 linuxtv-dvb-1.0.1.ebuild 3083 -MD5 4010065590ab94cdcec344297d14712c linuxtv-dvb-1.1.1-r1.ebuild 3323 -MD5 e5b72363a281120292762849cdc2a9be ChangeLog 3746 +MD5 c4292de91b3ba31db0add45075b498f1 ChangeLog 3938 MD5 d2fe0d162036705e62a8498c876425e4 files/digest-linuxtv-dvb-1.0.1 69 MD5 716f0e92472d9b05854840321fab6fb1 files/digest-linuxtv-dvb-1.1.1-r1 70 +MD5 98b0cf29aa98f48fd9342649b93b6399 files/digest-linuxtv-dvb-1.1.1-r2 135 MD5 e1f301cd0191586916bc7c3cd2b02288 files/dvb 179 +MD5 b0924260da64da807f88467373957c76 linuxtv-dvb-1.0.1.ebuild 3083 +MD5 4010065590ab94cdcec344297d14712c linuxtv-dvb-1.1.1-r1.ebuild 3323 +MD5 bfa524388ba72f6584c02be1e5b67d14 linuxtv-dvb-1.1.1-r2.ebuild 2528 +MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219 diff --git a/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1-r2 b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1-r2 new file mode 100644 index 000000000000..42c06dcdfca9 --- /dev/null +++ b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1-r2 @@ -0,0 +1,2 @@ +MD5 2496d5ca3ae8ae61abc9cfce7bb60b05 dvb-ttpci-01.fw-2622 239956 +MD5 6dd599f24b7abecd1e32c203eaa7fa8a linuxtv-dvb-1.1.1.tar.bz2 327271 diff --git a/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1-r2.ebuild b/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1-r2.ebuild new file mode 100644 index 000000000000..4a8bc52e9960 --- /dev/null +++ b/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1-r2.ebuild @@ -0,0 +1,85 @@ +# 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/linuxtv-dvb-1.1.1-r2.ebuild,v 1.1 2005/12/09 21:25:28 zzam Exp $ + +inherit eutils linux-mod + +DVB_TTPCI_FW="dvb-ttpci-01.fw-2622" +DESCRIPTION="Standalone DVB driver for Linux kernel 2.4.x" +HOMEPAGE="http://www.linuxtv.org" +SRC_URI="http://www.linuxtv.org/download/dvb/${P}.tar.bz2 + http://www.linuxtv.org/download/dvb/firmware/${DVB_TTPCI_FW}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86" +IUSE="" +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${P}/build-2.4 + +pkg_setup() { + linux-mod_pkg_setup + if [[ ${KV_MAJOR}.${KV_MINOR} != 2.4 ]]; then + einfo "This ebuild only provides drivers for Kernel 2.4" + einfo "Kernel 2.6 has included drivers for DVB devices." + einfo "please use these" + die "Kernel 2.6 not supported" + fi + + einfo "Please make sure that the following option is enabled" + einfo "in your current kernel 'Multimedia devices'" + einfo "and /usr/src/linux point's to your current kernel" + einfo "or make will die." + einfo + MODULE_NAMES="dvb(dvb:${S})" + BUILD_PARAMS="KDIR=${KERNEL_DIR}" + BUILD_TARGETS="build" +} + +src_unpack() { + unpack ${A} + cp ${DISTDIR}/${DVB_TTPCI_FW} ${S}/dvb-ttpci-01.fw +} + +src_install() { + #copy over the insmod.sh script + #for loading all modules + sed -e "s:insmod ./:modprobe :" -i insmod.sh + sed -e "s:.${KV_OBJ}::" -i insmod.sh + newsbin insmod.sh dvb-module-load + + # install the modules + make install DESTDIR="${D}" DEST="/lib/modules/${KV_FULL}/dvb" + + # install the header files + # linux26-headers installs those + # FIXME: is it save to assume _all_ kernel 2.6 users got that? + cd ${S}/../linux/include/linux/dvb + insinto /usr/include/linux/dvb + doins *.h + + #install the main docs + cd ${S} + dodoc MAKEDEV-DVB.sh NEWS README README.bt8xx TODO TROUBLESHOOTING + + #install the other docs + cd ${S}/doc + dodoc HOWTO-use-the-demux-api \ + README.valgrind HOWTO-use-the-frontend-api \ + convert.sh valgrind-2.1.0-dvb.patch +} + +pkg_postinst() { + linux-mod_pkg_postinst + einfo "If you don't use devfs, execute MAKEDEV-DVB.sh to create" + einfo "the device nodes. The file is in /usr/share/doc/${PF}/" + einfo + einfo "A file called dvb-module-load has been created to simplify loading all modules." + einfo "Call it using 'dvb-module-load {load|debug|unload}'." + einfo + einfo "For information about firmware please see /usr/share/doc/${PF}/README." + einfo + einfo "Firmware-files can be found in media-tv/linuxtv-dvb-firmware" + einfo +} |