diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-21 17:02:22 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-21 17:02:22 +0000 |
commit | 64800dcecad8b6850698a92a05ac5990deb9c1a9 (patch) | |
tree | 8c2c0825d3fc9e33900ceae88ce6ef1a0c753bb1 /media-tv/v4l-dvb-hg | |
parent | Marked stable on mips. (diff) | |
download | gentoo-2-64800dcecad8b6850698a92a05ac5990deb9c1a9.tar.gz gentoo-2-64800dcecad8b6850698a92a05ac5990deb9c1a9.tar.bz2 gentoo-2-64800dcecad8b6850698a92a05ac5990deb9c1a9.zip |
Initial import of ebuild.
(Portage version: 2.1_rc1-r3)
Diffstat (limited to 'media-tv/v4l-dvb-hg')
-rw-r--r-- | media-tv/v4l-dvb-hg/ChangeLog | 11 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/Manifest | 19 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1 | 1 | ||||
-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 | 12 | ||||
-rw-r--r-- | media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1.ebuild | 100 |
6 files changed, 156 insertions, 0 deletions
diff --git a/media-tv/v4l-dvb-hg/ChangeLog b/media-tv/v4l-dvb-hg/ChangeLog new file mode 100644 index 000000000000..4341ff2f05e5 --- /dev/null +++ b/media-tv/v4l-dvb-hg/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*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 new file mode 100644 index 000000000000..c391e112accc --- /dev/null +++ b/media-tv/v4l-dvb-hg/Manifest @@ -0,0 +1,19 @@ +AUX v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 SHA1 bd921acea49ef4436446096bc367802eb6fa89e0 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f size 487 +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 2190 RMD160 0ca3aefc795f950c0ff74835fd7d8c84556be96c SHA1 854d8c5b35a4185ef470b409d271c509b9118ec3 SHA256 9820e59c844a7a6d25ae8ca2e3e9fe14785da4761bef95db50001b88e1a587fe size 2190 +MD5 b0c203684c076d162eea15880374bf51 v4l-dvb-hg-0.1.ebuild 2190 +RMD160 0ca3aefc795f950c0ff74835fd7d8c84556be96c v4l-dvb-hg-0.1.ebuild 2190 +SHA256 9820e59c844a7a6d25ae8ca2e3e9fe14785da4761bef95db50001b88e1a587fe v4l-dvb-hg-0.1.ebuild 2190 +MISC ChangeLog 323 RMD160 0997857c5c431506aa3d04ff2dd740a723e5e4a5 SHA1 198ff99e0f5573ec3d5972c4bf8387532c708704 SHA256 e095dc7f02c3ccecb499fddc42fb5bfcd6cbe27c6575ebb6a2dc672783d73a4a size 323 +MD5 9df142ac743a498c4baf55aaa8f5bd14 ChangeLog 323 +RMD160 0997857c5c431506aa3d04ff2dd740a723e5e4a5 ChangeLog 323 +SHA256 e095dc7f02c3ccecb499fddc42fb5bfcd6cbe27c6575ebb6a2dc672783d73a4a ChangeLog 323 +MISC metadata.xml 300 RMD160 c85719cef743cf573efe73f8f84564292085c91c SHA1 4c00933e1ed60039fae091034d83e28d0890e87c SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 size 300 +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 diff --git a/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1 b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1 new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1 @@ -0,0 +1 @@ + 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 new file mode 100644 index 000000000000..dac94cd585d3 --- /dev/null +++ b/media-tv/v4l-dvb-hg/files/v4l-dvb-hg-fix-makefile-recursion.diff @@ -0,0 +1,13 @@ +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 new file mode 100644 index 000000000000..3aaff838ed8d --- /dev/null +++ b/media-tv/v4l-dvb-hg/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> +<email>zzam@gentoo.org</email> +<name>Matthias Schwarzott</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1.ebuild new file mode 100644 index 000000000000..6fd91434ee56 --- /dev/null +++ b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1.ebuild @@ -0,0 +1,100 @@ +# 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.ebuild,v 1.1 2006/05/21 17:02:22 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" +} + +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 +} |