diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-24 21:51:21 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-24 21:51:21 +0000 |
commit | 0cc86f361d0de0fd555bb9f1e592a33acbe31edc (patch) | |
tree | 7bf5a80c235322c08c09102e3532cc3773d1f2f5 /media-tv | |
parent | Check dev-lang/ocaml use flags needed for build (bug #134257) (diff) | |
download | historical-0cc86f361d0de0fd555bb9f1e592a33acbe31edc.tar.gz historical-0cc86f361d0de0fd555bb9f1e592a33acbe31edc.tar.bz2 historical-0cc86f361d0de0fd555bb9f1e592a33acbe31edc.zip |
Added a check for old modules to pkg_setup.
Package-Manager: portage-2.1_rc2-r2
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/v4l-dvb-hg/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/Manifest | 27 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r1 | 1 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r1.ebuild | 109 |
4 files changed, 134 insertions, 11 deletions
diff --git a/media-tv/v4l-dvb-hg/ChangeLog b/media-tv/v4l-dvb-hg/ChangeLog index 4341ff2f05e5..80d365f910ab 100644 --- a/media-tv/v4l-dvb-hg/ChangeLog +++ b/media-tv/v4l-dvb-hg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/v4l-dvb-hg # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.1 2006/05/21 17:02:22 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.2 2006/05/24 21:51:21 zzam Exp $ + +*v4l-dvb-hg-0.1-r1 (24 May 2006) + + 24 May 2006; Matthias Schwarzott <zzam@gentoo.org> + +v4l-dvb-hg-0.1-r1.ebuild: + Added a check for old modules to pkg_setup. *v4l-dvb-hg-0.1 (21 May 2006) diff --git a/media-tv/v4l-dvb-hg/Manifest b/media-tv/v4l-dvb-hg/Manifest index 4f3e6438114b..39d866bb05a4 100644 --- a/media-tv/v4l-dvb-hg/Manifest +++ b/media-tv/v4l-dvb-hg/Manifest @@ -1,29 +1,36 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 SHA1 bd921acea49ef4436446096bc367802eb6fa89e0 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f size 487 +AUX v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 SHA1 bd921acea49ef4436446096bc367802eb6fa89e0 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f MD5 6bbaa98ad92502ce465c90a5acda4561 files/v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 files/v4l-dvb-hg-fix-makefile-recursion.diff 487 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f files/v4l-dvb-hg-fix-makefile-recursion.diff 487 -EBUILD v4l-dvb-hg-0.1.ebuild 2188 RMD160 23d9f87f94be17bd74075f7285a0c0a9522bdb59 SHA1 add0eb5d3b6095e5b640fe64bb1722726aa3f6e0 SHA256 7df5dec56ac1d912e1a5b1ea89b780901d6f39d5f67bfd313d7e2ea9f35ecbcb size 2188 +EBUILD v4l-dvb-hg-0.1-r1.ebuild 2603 RMD160 d0347482ae0f0d5bf7bcd937abb002b702959a3f SHA1 12a38060b86bd1de7dc5ec4d8d43fd8b2246aaaa SHA256 89e27053c81e13a909a21219337f315a19b8c55d726d3a54dcd756d718d2d1b6 +MD5 c0c27ab445f5617ebcf916c5f094a3a2 v4l-dvb-hg-0.1-r1.ebuild 2603 +RMD160 d0347482ae0f0d5bf7bcd937abb002b702959a3f v4l-dvb-hg-0.1-r1.ebuild 2603 +SHA256 89e27053c81e13a909a21219337f315a19b8c55d726d3a54dcd756d718d2d1b6 v4l-dvb-hg-0.1-r1.ebuild 2603 +EBUILD v4l-dvb-hg-0.1.ebuild 2188 RMD160 23d9f87f94be17bd74075f7285a0c0a9522bdb59 SHA1 add0eb5d3b6095e5b640fe64bb1722726aa3f6e0 SHA256 7df5dec56ac1d912e1a5b1ea89b780901d6f39d5f67bfd313d7e2ea9f35ecbcb MD5 30c9fe2d66f4d85be87263c9ae4d0e86 v4l-dvb-hg-0.1.ebuild 2188 RMD160 23d9f87f94be17bd74075f7285a0c0a9522bdb59 v4l-dvb-hg-0.1.ebuild 2188 SHA256 7df5dec56ac1d912e1a5b1ea89b780901d6f39d5f67bfd313d7e2ea9f35ecbcb v4l-dvb-hg-0.1.ebuild 2188 -MISC ChangeLog 412 RMD160 7dec649d131ee6a9dab75a3b7ab88e55c7663b6c SHA1 a62932ef6ddb88b4af67e96bebedd3b1d2b16693 SHA256 718b17b06606820a785fd5f563398dfc2e063826753f9760e9f2cf0ec00b2ebe size 412 -MD5 b4919cac6983c6248dfec661404c620d ChangeLog 412 -RMD160 7dec649d131ee6a9dab75a3b7ab88e55c7663b6c ChangeLog 412 -SHA256 718b17b06606820a785fd5f563398dfc2e063826753f9760e9f2cf0ec00b2ebe ChangeLog 412 -MISC metadata.xml 300 RMD160 c85719cef743cf573efe73f8f84564292085c91c SHA1 4c00933e1ed60039fae091034d83e28d0890e87c SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 size 300 +MISC ChangeLog 575 RMD160 f3b0be46a3e0ca356a4971fca9c08333c6203d27 SHA1 6aa64ef9ab63ce7afca8547ba1169abc5eac7ec7 SHA256 388c999319cadfdcf6d5f22fc8d3c795dd7466dd5f81482c8b941872f8cc2e85 +MD5 863fd5f9a0e594d27f0741434f4edf7f ChangeLog 575 +RMD160 f3b0be46a3e0ca356a4971fca9c08333c6203d27 ChangeLog 575 +SHA256 388c999319cadfdcf6d5f22fc8d3c795dd7466dd5f81482c8b941872f8cc2e85 ChangeLog 575 +MISC metadata.xml 300 RMD160 c85719cef743cf573efe73f8f84564292085c91c SHA1 4c00933e1ed60039fae091034d83e28d0890e87c SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 MD5 7c30ab7528b676a1a0c2737821599b29 metadata.xml 300 RMD160 c85719cef743cf573efe73f8f84564292085c91c metadata.xml 300 SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 metadata.xml 300 MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-v4l-dvb-hg-0.1 1 RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-v4l-dvb-hg-0.1 1 SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-v4l-dvb-hg-0.1 1 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-v4l-dvb-hg-0.1-r1 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-v4l-dvb-hg-0.1-r1 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-v4l-dvb-hg-0.1-r1 1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEcJ0oZfSl1Kp5KmoRAnfkAKC0k7MJgOZQgHngtNkamaAOA9f2NgCgmb8X -g4fo0dw7k1CVFDGccoIySok= -=N+bu +iD8DBQFEdNUfZfSl1Kp5KmoRAnwuAKDV2LpqBTkai+yxSJ2kFhpc8POSRwCg1QCf +w5s/TZTSgpEF5xa8jBDpvic= +=gt+R -----END PGP SIGNATURE----- diff --git a/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r1 b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r1 new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r1 @@ -0,0 +1 @@ + diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r1.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r1.ebuild new file mode 100644 index 000000000000..71dd24136c38 --- /dev/null +++ b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r1.ebuild,v 1.1 2006/05/24 21:51:21 zzam Exp $ + + +: ${EHG_REPO_URI:=http://linuxtv.org/hg/v4l-dvb} + +inherit linux-mod eutils toolchain-funcs mercurial + +DESCRIPTION="live development version of v4l&dvb-driver for Kernel 2.6" +SRC_URI="" +HOMEPAGE="http://www.linuxtv.org" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S=${WORKDIR}/v4l-dvb/v4l + +pkg_setup() +{ + linux-mod_pkg_setup + if [[ "${KV_MAJOR}.${KV_MINOR}" != "2.6" ]]; then + ewarn "other Kernel than 2.6.x are not supported at the moment." + die "unsupported Kernel (not 2.6.x)" + fi + MODULE_NAMES="dvb(dvb:${S})" + BUILD_PARAMS="KDIR=${KERNEL_DIR}" + BUILD_TARGETS="default" + + if [[ -d ${ROOT}/lib/modules/${KV_FULL}/v4l-dvb-cvs ]]; then + ewarn "There are stale dvb-modules from the ebuild v4l-dvb-cvs." + ewarn "Please remove the directory /lib/modules/${KV_FULL}/v4l-dvb-cvs" + ewarn "with all its files and subdirectories and then restart emerge." + ewarn + ewarn "# rm -rf /lib/modules/${KV_FULL}/v4l-dvb-cvs" + die "Stale dvb-modules found, restart merge after removing them." + fi +} + +src_unpack() { + # download and copy files + S=${WORKDIR}/v4l-dvb mercurial_src_unpack + + cd ${WORKDIR} + epatch ${FILESDIR}/${PN}-fix-makefile-recursion.diff + + cd ${S} + + export ARCH=$(tc-arch-kernel) + make allmodconfig ${BUILD_PARAMS} + export ARCH=$(tc-arch) + + # apply local patches + if test -n "${DVB_LOCAL_PATCHES}"; + then + ewarn "Applying local patches:" + for LOCALPATCH in ${DVB_LOCAL_PATCHES}; + do + if test -f "${LOCALPATCH}"; + then + if grep -q linux/drivers ${LOCALPATCH}; then + cd ${S}/.. + else + cd ${S} + fi + epatch ${LOCALPATCH} + fi + done + else + einfo "No additional local patches to use" + fi + echo + + cd ${S} + sed -e 's#/lib/modules/$(KERNELRELEASE)/kernel/drivers/media#$(DESTDIR)/$(DEST)#' \ + -e '/-install::/s:rminstall::' \ + -i Makefile + sed -e '/depmod/d' -i Makefile* +} + +src_install() { + # install the modules + make install DESTDIR="${D}" \ + DEST="/lib/modules/${KV_FULL}/v4l-dvb" \ + || die "make install failed" + + cd ${S}/.. + dodoc linux/Documentation/dvb/*.txt + dosbin linux/Documentation/dvb/get_dvb_firmware +} + +pkg_postinst() { + einfo + einfo "Firmware-files can be found in media-tv/linuxtv-dvb-firmware" + einfo + + linux-mod_pkg_postinst + einfo + einfo + einfo "if you want to use the IR-port or networking" + einfo "with the dvb-card you need to" + einfo "install linuxtv-dvb-apps" + einfo +} |