diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-01-09 19:09:31 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-01-09 19:09:31 +0000 |
commit | 62c906d60399600e179c8b6377326a0f493969e9 (patch) | |
tree | ab48b5511c681022334da6ca9fc9cba100476ef1 /media-tv | |
parent | added media-tv/linuxtv-dvb-1.1.1_p20060108 for testing (diff) | |
download | gentoo-2-62c906d60399600e179c8b6377326a0f493969e9.tar.gz gentoo-2-62c906d60399600e179c8b6377326a0f493969e9.tar.bz2 gentoo-2-62c906d60399600e179c8b6377326a0f493969e9.zip |
added cvs snapshot of dvb-kernel branch linux_2_4
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/linuxtv-dvb/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/Manifest | 2 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1_p20060108 | 2 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1_p20060108.ebuild | 85 |
4 files changed, 96 insertions, 1 deletions
diff --git a/media-tv/linuxtv-dvb/ChangeLog b/media-tv/linuxtv-dvb/ChangeLog index 492582eb99e5..f9d7bb1c27ed 100644 --- a/media-tv/linuxtv-dvb/ChangeLog +++ b/media-tv/linuxtv-dvb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/linuxtv-dvb # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb/ChangeLog,v 1.20 2006/01/05 17:00:20 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb/ChangeLog,v 1.21 2006/01/09 19:09:31 zzam Exp $ + +*linuxtv-dvb-1.1.1_p20060108 (09 Jan 2006) + + 09 Jan 2006; Matthias Schwarzott <zzam@gentoo.org> + +linuxtv-dvb-1.1.1_p20060108.ebuild: + added cvs snapshot of dvb-kernel branch linux_2_4 05 Jan 2006; Matthias Schwarzott <zzam@gentoo.org> -linuxtv-dvb-1.0.1.ebuild: diff --git a/media-tv/linuxtv-dvb/Manifest b/media-tv/linuxtv-dvb/Manifest index 5fa7771c93a8..29fc124f5526 100644 --- a/media-tv/linuxtv-dvb/Manifest +++ b/media-tv/linuxtv-dvb/Manifest @@ -1,7 +1,9 @@ MD5 4614d4e7576ab972bb37a59552446b66 ChangeLog 4433 MD5 716f0e92472d9b05854840321fab6fb1 files/digest-linuxtv-dvb-1.1.1-r1 70 MD5 98b0cf29aa98f48fd9342649b93b6399 files/digest-linuxtv-dvb-1.1.1-r2 135 +MD5 9667788193ef31758cf822febdc88c77 files/digest-linuxtv-dvb-1.1.1_p20060108 147 MD5 e1f301cd0191586916bc7c3cd2b02288 files/dvb 179 MD5 4dbc0cdfee7918056705cbb6da6ba41a linuxtv-dvb-1.1.1-r1.ebuild 3371 MD5 694627b330ae6dd6e2a9d960810571cb linuxtv-dvb-1.1.1-r2.ebuild 2528 +MD5 a8533a4caf34bab160094b88ce42737a linuxtv-dvb-1.1.1_p20060108.ebuild 2483 MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219 diff --git a/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1_p20060108 b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1_p20060108 new file mode 100644 index 000000000000..d6a490a67177 --- /dev/null +++ b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.1.1_p20060108 @@ -0,0 +1,2 @@ +MD5 8a033a08f6e7d0d126fca082db30231b dvb-kernel_linux_2_4-20060108.tar.bz2 610132 +MD5 2496d5ca3ae8ae61abc9cfce7bb60b05 dvb-ttpci-01.fw-2622 239956 diff --git a/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1_p20060108.ebuild b/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1_p20060108.ebuild new file mode 100644 index 000000000000..a9ecb0fbda06 --- /dev/null +++ b/media-tv/linuxtv-dvb/linuxtv-dvb-1.1.1_p20060108.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2006 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_p20060108.ebuild,v 1.1 2006/01/09 19:09:31 zzam Exp $ + +inherit eutils linux-mod + +MY_PV=${PV#*_p} + +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="mirror://gentoo/dvb-kernel_linux_2_4-${MY_PV}.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="virtual/linux-sources" +RDEPEND="" + +S=${WORKDIR}/dvb-kernel/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 points 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 + 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 +} |