summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2010-11-30 21:44:26 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2010-11-30 21:44:26 +0000
commitd19161d0671ebad8c8d9b3127e0682edc0f3a85e (patch)
treed7ba9d024038d4025c83be37c5c2d79569b3bfb3 /media-tv
parentx86 stable, bug #346403 (diff)
downloadhistorical-d19161d0671ebad8c8d9b3127e0682edc0f3a85e.tar.gz
historical-d19161d0671ebad8c8d9b3127e0682edc0f3a85e.tar.bz2
historical-d19161d0671ebad8c8d9b3127e0682edc0f3a85e.zip
r4; addapted to new hg repo file struct
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/v4l-dvb-hg/ChangeLog10
-rw-r--r--media-tv/v4l-dvb-hg/Manifest12
-rw-r--r--media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild133
3 files changed, 148 insertions, 7 deletions
diff --git a/media-tv/v4l-dvb-hg/ChangeLog b/media-tv/v4l-dvb-hg/ChangeLog
index b5c28a589b89..941d7e67ab99 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.21 2009/11/18 19:39:51 zzam Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.22 2010/11/30 21:44:26 hd_brummy Exp $
+
+*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:
diff --git a/media-tv/v4l-dvb-hg/Manifest b/media-tv/v4l-dvb-hg/Manifest
index faf2b87018f1..a451b72ea641 100644
--- a/media-tv/v4l-dvb-hg/Manifest
+++ b/media-tv/v4l-dvb-hg/Manifest
@@ -4,12 +4,14 @@ 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 3092 RMD160 2f02ba61b455563006895f2d609c4873552fec57 SHA1 f227ca03c9d1980b7ec8816b9505ec89eedba5b5 SHA256 83debc77d7521b185c26d0d407759fbb13b3f508107eadb33fe54cd059dfea34
EBUILD v4l-dvb-hg-0.1-r3.ebuild 3244 RMD160 eb3cba118f06b09c326fcd14b9710bb434085060 SHA1 b59bba0658b13b92cbe8701991affd1f3b5675bc SHA256 d09fcfb1e90c1a5dc860a145a14d577abde5dc82371c791089d04558abbffea6
-MISC ChangeLog 3217 RMD160 3b61ab4ca41b2ef44bc525c364b387613ede4cd8 SHA1 efbe844eae9dea0c5e20031930b85943370ab136 SHA256 01160b08f66aa3a63b7ebe845384dcb0d62e3bd8f9a11286df092d9e8082cbf6
+EBUILD v4l-dvb-hg-0.1-r4.ebuild 3232 RMD160 513a732b04451e9e8dc9977b69aaac7ecffc7846 SHA1 de51309a0fcb4126f058a58f8fe7161f9d59cbe5 SHA256 e8e88d8bef406279b3ff1e67c032a5b137caa1391c179bf78a4538a623f12176
+MISC ChangeLog 3383 RMD160 a50a4ec3fd32e15d399bb02291a7331c4fe0b2cf SHA1 e310ebfad514841c4aa2bbe7320db50b28f8418b SHA256 118d80c0a408363a2f2d02389b7e1f1e8b1875210efa5c782083e9b8e1e7f429
MISC metadata.xml 162 RMD160 8bd24f9f2805b005cef731c0cda868c72e6980af SHA1 7464d1657179a3f30c5ea2ad401590e4489ac945 SHA256 aaad144c69dd58781e1dc97b5fbad08a5b4db504bd3cbbb4ab27018a307d5d81
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
-iEYEARECAAYFAksETYwACgkQt2vP6XvVdOdt3ACgoJ9Nu4flZzEL+G/+y5jn/aB/
-j44An2wE6ZhB9Ea4H77CZmkjn3RZr5Cd
-=1O8i
+iD8DBQFM9XBQdn07HTTCgIoRApEpAJ0eQQfjZzVryhkdw6DeUDjrwZ2BtgCgt7YX
+H1hxjQxN7ylhXM+AXZxlE2E=
+=0D9k
-----END PGP SIGNATURE-----
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
new file mode 100644
index 000000000000..052757a5c9d1
--- /dev/null
+++ b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r4.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2010 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.1 2010/11/30 21:44:26 hd_brummy Exp $
+
+: ${EHG_REPO_URI:=${V4L_DVB_HG_REPO_URI:-http://linuxtv.org/hg/v4l-dvb}}
+
+EAPI="2"
+
+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 [[ "${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_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
+}