diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-12-25 13:12:29 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-12-25 13:12:29 +0000 |
commit | f1b7aa78483709cad399a0f811b5c9eee7b2cacc (patch) | |
tree | cb27494cb40a640dc78434376abc0ddda99afa32 | |
parent | Drop masked for removal package (diff) | |
download | gentoo-2-f1b7aa78483709cad399a0f811b5c9eee7b2cacc.tar.gz gentoo-2-f1b7aa78483709cad399a0f811b5c9eee7b2cacc.tar.bz2 gentoo-2-f1b7aa78483709cad399a0f811b5c9eee7b2cacc.zip |
Drop masked for removal package
-rw-r--r-- | media-tv/v4l-dvb-hg/ChangeLog | 113 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/Manifest | 26 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/files/v4l-dvb-hg-fix-makefile-recursion.diff | 13 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/metadata.xml | 6 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild | 125 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r3.ebuild | 134 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild | 133 |
7 files changed, 0 insertions, 550 deletions
diff --git a/media-tv/v4l-dvb-hg/ChangeLog b/media-tv/v4l-dvb-hg/ChangeLog deleted file mode 100644 index 0ab3c086a6a7..000000000000 --- a/media-tv/v4l-dvb-hg/ChangeLog +++ /dev/null @@ -1,113 +0,0 @@ -# ChangeLog for media-tv/v4l-dvb-hg -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.25 2012/04/13 19:36:13 ulm Exp $ - - 13 Apr 2012; Ulrich Müller <ulm@gentoo.org> v4l-dvb-hg-0.1-r3.ebuild, - v4l-dvb-hg-0.1-r4.ebuild: - Move EAPI assignment to top of ebuild, bug 411875. - - 06 Jun 2011; Robin H. Johnson <robbat2@gentoo.org> v4l-dvb-hg-0.1-r2.ebuild, - v4l-dvb-hg-0.1-r3.ebuild, v4l-dvb-hg-0.1-r4.ebuild: - Linux-3.0 changes. - - 01 Dec 2010; Joerg Bornkessel <hd_brummy@gentoo.org> - v4l-dvb-hg-0.1-r4.ebuild: - removed bash replacement part in S= - -*v4l-dvb-hg-0.1-r4 (30 Nov 2010) - - 30 Nov 2010; Joerg Bornkessel <hd_brummy@gentoo.org> - +v4l-dvb-hg-0.1-r4.ebuild: - r4; addapted to new hg repo file struct - - 18 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r3.ebuild: - Check if v4l and dvb is really disabled in kernel config, Bug #247773. - -*v4l-dvb-hg-0.1-r3 (28 May 2009) - - 28 May 2009; Steve Dibb <beandog@gentoo.org> +v4l-dvb-hg-0.1-r3.ebuild: - Use ebuild from John Drescher's ebuild, bug 269249 - - 21 May 2008; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Now install the dvb header files to /usr/include/v4l-dvb-hg. - - 15 May 2008; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Fix typo in variable name. - - 19 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Removed useless depends that already are done by eclasses, Bug 192805. - - 16 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Disable makefile-patch as upstream seems to have changed its makefile. - - 15 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> metadata.xml: - Assign package to media-tv herd only. - - 17 Sep 2007; Joerg Bornkessel <hd_brummy@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - rdepend to dev-util/mercurial fixed; thanks to R.Gruber on bug #192805 - - 10 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> metadata.xml: - Assigned package to vdr-team. - - 09 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Moved local patches before make allmodconfig, suggested by Helmut Auer - <helmut@helmutauer.de>. - - 21 Mar 2007; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Make ebuild work with newer Makefile. - - 05 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - einfo converted to elog - - 20 Nov 2006; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Made a check for forgotten depmod-calls. - - 13 Nov 2006; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Enable ebuild to use other repository-pathes than default. - - 09 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Also remove depmod from script generating some Makefiles. - - 21 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Keyworded ~amd64. - - 23 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> -v4l-dvb-hg-0.1.ebuild, - -v4l-dvb-hg-0.1-r1.ebuild: - Removed older versions. - - 23 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> - v4l-dvb-hg-0.1-r2.ebuild: - Give out message about autoload-modification of stradis-driver. - -*v4l-dvb-hg-0.1-r2 (18 Jun 2006) - - 18 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> - +v4l-dvb-hg-0.1-r2.ebuild: - Stop stradis-module from autoloading based on pci-vendor/device-no. - -*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) - - 21 May 2006; Matthias Schwarzott <zzam@gentoo.org> - +files/v4l-dvb-hg-fix-makefile-recursion.diff, +metadata.xml, - +v4l-dvb-hg-0.1.ebuild: - Initial import of ebuild. - diff --git a/media-tv/v4l-dvb-hg/Manifest b/media-tv/v4l-dvb-hg/Manifest deleted file mode 100644 index 56733c7dc413..000000000000 --- a/media-tv/v4l-dvb-hg/Manifest +++ /dev/null @@ -1,26 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 SHA1 bd921acea49ef4436446096bc367802eb6fa89e0 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f -EBUILD v4l-dvb-hg-0.1-r2.ebuild 3073 RMD160 18f14a292e794ba4ce7cc78cfd4e996d16ca69f7 SHA1 da15943b7650d745232df990a38de10068f25342 SHA256 62d75bc7124d7568d7c7fdb357ac24c7de5c94f3e7f77e9e06c95c75151a307e -EBUILD v4l-dvb-hg-0.1-r3.ebuild 3219 RMD160 c08fd3f224a3c288937146427eb3e0c555aa1289 SHA1 090d9bc10ecbfc1f01d1cc05903b34cbc42e2930 SHA256 b0f845e871e54aa329f99258c93506a696d6693e9a3687b8ec3d03ac9ba0e40d -EBUILD v4l-dvb-hg-0.1-r4.ebuild 3182 RMD160 672ffec120adb4732d249d6557d1afd8da3a5a72 SHA1 23ca61f221cdd46be85ffad3fcb04b7f66f6205d SHA256 3ff3eb78976e0761eb53bc8276281272f9555315bf6957b3bc30b237c68528e1 -MISC ChangeLog 3809 RMD160 ceabfa39963e48504b259dfe6aecc6023082db4c SHA1 1d43e04bffdb1ff287e634e603621ee534c8368b SHA256 446d9c0dd92d76437cb5e803b3047a44338ba37bdc42bffe80d1a04804d9c43c -MISC metadata.xml 162 RMD160 8bd24f9f2805b005cef731c0cda868c72e6980af SHA1 7464d1657179a3f30c5ea2ad401590e4489ac945 SHA256 aaad144c69dd58781e1dc97b5fbad08a5b4db504bd3cbbb4ab27018a307d5d81 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBAgAGBQJPiID/AAoJEDxpGckxwJCB4aoP/ArZ3zGn2VppidXHYt3SkGwh -gTID1C6rqvXakbjr7vvX6iQgYIACSIBfXdZUi+a8B6X7rtGMC9WgIHhWIKFqMLTe -k91Mac0caGOEZj/EBpWAguqhhCAlCD9gSc3meshVIgzGbGolaylhP9WnxkKnugKD -PJQa9V7wOhJmd2OEZFJAT6iYIC0l3vH0fMWUMYD8ODfiql23eC0nMItP2BCPnA3K -E6qRloGwsDLf2vmtgmvt2Gfgb766ENxsiiw5e9JZuu+D3WGLVkTkt887ZNQH4qUi -Erpyg7xSl3l7Jj9/W5ev3WLt1qVwtfegxF8n6gkFoPRxs9V0b8kZMCKPmmjIh8py -rn2tCcjHJ/gRxRsXo0MLKui+LNyODg7ptN2wURvUkXbi8gjLQUzYJst98r5GrccC -1HbjPsU9dHJyIGfPhpnXYpmeuNaFEbWBPs7tHsOATCCya9FidcSbIUqlmfvIwmUR -dBQfT8j2jL2lbEB4TbRXiln8qfIEW11gUoYoEmzoFU2H0CsekaUnVTdETxBox9Ra -ptEusr5V5pwXPp9lwBQgS+DtvWNZ7Y4PY6KfQxbPDU1BvooeDc1V0fefBc2cFUEr -7JSGL/Hnl2HBE94fq9tg01dUGX95DVxo5DT0Vvp/AQutQzBfNyc074apVUelzLfh -dyq9/WL8a0yLjfpgcv5C -=nhJz ------END PGP SIGNATURE----- diff --git a/media-tv/v4l-dvb-hg/files/v4l-dvb-hg-fix-makefile-recursion.diff b/media-tv/v4l-dvb-hg/files/v4l-dvb-hg-fix-makefile-recursion.diff deleted file mode 100644 index dac94cd585d3..000000000000 --- a/media-tv/v4l-dvb-hg/files/v4l-dvb-hg-fix-makefile-recursion.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff -ru v4l-dvb-orig/v4l/Makefile v4l-dvb/v4l/Makefile ---- v4l-dvb-orig/v4l/Makefile 2006-05-21 11:05:19.141505104 +0200 -+++ v4l-dvb/v4l/Makefile 2006-05-21 11:05:36.972662589 +0200 -@@ -146,9 +146,7 @@ - - .version:: - ifneq ($(KERNELRELEASE),) -- @echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE) > $(obj)/.version - ifneq ($(SRCDIR),) -- @echo -e SRCDIR=$(SRCDIR)\\n >> $(obj)/.version - endif - else - @echo "No version yet." diff --git a/media-tv/v4l-dvb-hg/metadata.xml b/media-tv/v4l-dvb-hg/metadata.xml deleted file mode 100644 index 740fefd7217e..000000000000 --- a/media-tv/v4l-dvb-hg/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>media-tv</herd> -</pkgmetadata> - diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild deleted file mode 100644 index 8e845d6dae4d..000000000000 --- a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2011 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-r2.ebuild,v 1.16 2011/06/06 07:13:43 robbat2 Exp $ - -: ${EHG_REPO_URI:=${V4L_DVB_HG_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="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -S="${WORKDIR}/${EHG_REPO_URI##*/}/v4l" - -pkg_setup() -{ - linux-mod_pkg_setup - if ! kernel_is -ge 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 - mercurial_src_unpack - - cd "${S}" - #epatch ${FILESDIR}/${PN}-fix-makefile-recursion.diff - - # 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 - - export ARCH=$(tc-arch-kernel) - make allmodconfig ${BUILD_PARAMS} - export ARCH=$(tc-arch) - - echo - - elog "Removing autoload-entry from stradis-driver." - sed -i "${S}"/../linux/drivers/media/video/stradis.c -e '/MODULE_DEVICE_TABLE/d' - - cd "${S}" - sed -e '/-install::/s:rminstall::' \ - -i Makefile - - elog "Removing depmod-calls" - sed -e '/depmod/d' -i Makefile* scripts/make_makefile.pl scripts/make_kconfig.pl \ - || die "Failed removing depmod call from Makefile" - - grep depmod * && die "Not removed depmod found." - - mkdir "${WORKDIR}"/header - cd "${WORKDIR}"/header - cp "${S}"/../linux/include/linux/dvb/* . - sed -e '/compiler/d' \ - -e 's/__user//' \ - -i *.h -} - -src_install() { - # install the modules - local DEST="${D}/lib/modules/${KV_FULL}/v4l-dvb" - make install \ - DEST="${DEST}" \ - KDIR26="${DEST}" \ - KDIRA="${DEST}" \ - || die "make install failed" - - cd "${S}"/.. - dodoc linux/Documentation/dvb/*.txt - dosbin linux/Documentation/dvb/get_dvb_firmware - - insinto /usr/include/v4l-dvb-hg/linux/dvb - cd "${WORKDIR}/header" - doins *.h -} - -pkg_postinst() { - echo - elog "Firmware-files can be found in media-tv/linuxtv-dvb-firmware" - echo - - linux-mod_pkg_postinst - echo - echo - elog "if you want to use the IR-port or networking" - elog "with the dvb-card you need to" - elog "install linuxtv-dvb-apps" - echo -} diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r3.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r3.ebuild deleted file mode 100644 index bfe8fa93aded..000000000000 --- a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r3.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2012 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-r3.ebuild,v 1.5 2012/04/13 19:36:13 ulm Exp $ - -EAPI=2 - -: ${EHG_REPO_URI:=${V4L_DVB_HG_REPO_URI:-http://linuxtv.org/hg/v4l-dvb}} - -inherit linux-mod eutils toolchain-funcs mercurial savedconfig - -DESCRIPTION="Live development version of V4L and DVB driver for kernel 2.6" -SRC_URI="" -HOMEPAGE="http://www.linuxtv.org" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -S="${WORKDIR}/${EHG_REPO_URI##*/}/v4l" - -CONFIG_CHECK="!DVB_CORE !VIDEO_DEV" - -pkg_setup() -{ - linux-mod_pkg_setup - if ! kernel_is -ge 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_prepare() { - - einfo "Removing modules-install" - sed -i "${S}"/Makefile \ - -e "s/install:: media-install firmware_install/install:: media-install/" - - # 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 - - export ARCH=$(tc-arch-kernel) - make allmodconfig ${BUILD_PARAMS} - export ARCH=$(tc-arch) - - echo - - elog "Removing autoload-entry from stradis-driver." - sed -i "${S}"/../linux/drivers/media/video/stradis.c -e '/MODULE_DEVICE_TABLE/d' - - cd "${S}" - sed -e '/-install::/s:rminstall::' \ - -i Makefile - - elog "Removing depmod-calls" - sed -e '/depmod/d' -i Makefile* scripts/make_makefile.pl scripts/make_kconfig.pl \ - || die "Failed removing depmod call from Makefile" - - grep depmod * && die "Not removed depmod found." - - mkdir "${WORKDIR}"/header - cd "${WORKDIR}"/header - cp "${S}"/../linux/include/linux/dvb/* . - sed -e '/compiler/d' \ - -e 's/__user//' \ - -i *.h - - cd "${S}" - restore_config .config -} - -src_install() { - # install the modules - local DEST="${D}/lib/modules/${KV_FULL}/v4l-dvb" - make install \ - DEST="${DEST}" \ - KDIR26="${DEST}" \ - KDIRA="${DEST}" \ - || die "make install failed" - - cd "${S}"/.. - dodoc linux/Documentation/dvb/*.txt - dosbin linux/Documentation/dvb/get_dvb_firmware - - insinto /usr/include/v4l-dvb-hg/linux/dvb - cd "${WORKDIR}/header" - doins *.h - - cd "${S}" - save_config .config -} - -pkg_postinst() { - echo - elog "Firmware-files can be found in media-tv/linuxtv-dvb-firmware" - echo - - linux-mod_pkg_postinst - echo - echo - elog "if you want to use the IR-port or networking" - elog "with the dvb-card you need to" - elog "install linuxtv-dvb-apps" - echo -} diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild deleted file mode 100644 index 82a0a3f5618b..000000000000 --- a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2012 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-r4.ebuild,v 1.4 2012/04/13 19:36:13 ulm Exp $ - -EAPI=2 - -: ${EHG_REPO_URI:=${V4L_DVB_HG_REPO_URI:-http://linuxtv.org/hg/v4l-dvb}} - -inherit linux-mod eutils toolchain-funcs mercurial savedconfig - -DESCRIPTION="Live development version of V4L and DVB driver for kernel 2.6" -SRC_URI="" -HOMEPAGE="http://www.linuxtv.org" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -S="${WORKDIR}/v4l" - -CONFIG_CHECK="!DVB_CORE !VIDEO_DEV" - -pkg_setup() -{ - linux-mod_pkg_setup - if ! kernel_is -ge 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_prepare() { - - einfo "Removing modules-install" - sed -i "${S}"/v4l/Makefile -e "s/media-install firmware_install/media-install/" - - # 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 - - export ARCH=$(tc-arch-kernel) - make allmodconfig ${BUILD_PARAMS} - export ARCH=$(tc-arch) - - echo - - elog "Removing autoload-entry from stradis-driver." - sed -e "${S}"/linux/drivers/media/video/stradis.c -i '/MODULE_DEVICE_TABLE/d' - - cd "${S}/v4l" - sed -e '/-install::/s:rminstall::' \ - -i Makefile - - elog "Removing depmod-calls" - sed -e '/depmod/d' -i Makefile* scripts/make_makefile.pl scripts/make_kconfig.pl \ - || die "Failed removing depmod call from Makefile" - - grep depmod * && die "Not removed depmod found." - - mkdir "${WORKDIR}"/header - cd "${WORKDIR}"/header - cp "${S}"/linux/include/linux/dvb/* . - sed -e '/compiler/d' \ - -e 's/__user//' \ - -i *.h - - cd "${S}/v4l" - restore_config .config -} - -src_install() { - # install the modules - local DEST="${D}/lib/modules/${KV_FULL}/v4l-dvb" - make install \ - DEST="${DEST}" \ - KDIR26="${DEST}" \ - KDIRA="${DEST}" \ - || die "make install failed" - - cd "${S}" - dodoc linux/Documentation/dvb/*.txt - dosbin linux/Documentation/dvb/get_dvb_firmware - - insinto /usr/include/v4l-dvb-hg/linux/dvb - cd "${WORKDIR}/header" - doins *.h - - cd "${S}/v4l" - save_config .config -} - -pkg_postinst() { - echo - elog "Firmware-files can be found in media-tv/linuxtv-dvb-firmware" - echo - - linux-mod_pkg_postinst - echo - echo - elog "if you want to use the IR-port or networking" - elog "with the dvb-card you need to" - elog "install linuxtv-dvb-apps" - echo -} |