summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-19 10:30:27 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-19 10:30:27 +0000
commit0a803e7212a5ff483da80d3750750c3f1f7a3358 (patch)
tree94be51059df40579a6bf6f11def26a482fc82b77
parentgames-fps/vavoom: Version bump (diff)
downloadsunrise-0a803e7212a5ff483da80d3750750c3f1f7a3358.tar.gz
sunrise-0a803e7212a5ff483da80d3750750c3f1f7a3358.tar.bz2
sunrise-0a803e7212a5ff483da80d3750750c3f1f7a3358.zip
media-tv/em28xx-new: add media-tv/em28xx-new ebuild from bug 228111
svn path=/sunrise/; revision=6344
-rw-r--r--media-tv/em28xx-new/ChangeLog8
-rw-r--r--media-tv/em28xx-new/Manifest3
-rw-r--r--media-tv/em28xx-new/em28xx-new-9999.ebuild53
-rw-r--r--media-tv/em28xx-new/metadata.xml5
4 files changed, 69 insertions, 0 deletions
diff --git a/media-tv/em28xx-new/ChangeLog b/media-tv/em28xx-new/ChangeLog
new file mode 100644
index 000000000..ef5025dd7
--- /dev/null
+++ b/media-tv/em28xx-new/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-tv/em28xx-new
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 19 Jun 2008; Chi-Thanh Christopher Nguyen (chithead)
+ <chithanh@cs.tu-berlin.de> +em28xx-new-9999.ebuild, +metadata.xml:
+ add media-tv/em28xx-new ebuild from bug 228111
+
diff --git a/media-tv/em28xx-new/Manifest b/media-tv/em28xx-new/Manifest
new file mode 100644
index 000000000..cf8821400
--- /dev/null
+++ b/media-tv/em28xx-new/Manifest
@@ -0,0 +1,3 @@
+EBUILD em28xx-new-9999.ebuild 1417 RMD160 e09c0156dc4ae4231048bf6c196d699a7a2cdf69 SHA1 bcfc57adcb518386077de981cd191de83f3a4620 SHA256 6b1125450a10ab6b290b1ee665535d4c68fbb892df85ded7e628fc070522ce59
+MISC ChangeLog 294 RMD160 44afb98fa91aac6286e39558b81e0e39db9defd9 SHA1 d1215454327e7d99c3d082c2300e340cd39c0107 SHA256 bbc4ddec3866bd2dfd3ad46699b949af9b7eba00c8edddef4ad52e403abc58a7
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/media-tv/em28xx-new/em28xx-new-9999.ebuild b/media-tv/em28xx-new/em28xx-new-9999.ebuild
new file mode 100644
index 000000000..bb57dcba5
--- /dev/null
+++ b/media-tv/em28xx-new/em28xx-new-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EHG_REPO_URI="http://mcentral.de/hg/~mrec/em28xx-new/"
+
+inherit linux-info linux-mod mercurial
+
+DESCRIPTION="next generation em28xx driver including dvb support"
+HOMEPAGE="http://mcentral.de/"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+MODULE_NAMES="cx25843(empia:${S}/cx25843:${S}/cx25843)
+ drx3973d(empia:${S}/drx3973d:${S}/drx3973d)
+ lgdt3304-demod(empia:${S}/lgdt3304:${S}/lgdt3304)
+ mt2060(empia:${S}/mt2060:${S}/mt2060)
+ qt1010(empia:${S}/qt1010:${S}/qt1010)
+ tvp5150(empia:${S}/tvp5150:${S}/tvp5150)
+ xc3028-tuner(empia:${S}/xc3028:${S}/xc3028)
+ xc5000-tuner(empia:${S}/xc5000:${S}/xc5000)
+ zl10353(empia:${S}/zl10353:${S}/zl10353)
+ em28xx-audio(empia:${S}:${S})
+ em28xx-dvb(empia:${S}:${S})
+ em28xx(empia:${S}:${S})"
+
+CONFIG_CHECK="VIDEO_V4L2 DVB_CORE"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ if kernel_is lt 2 6 21; then
+ eerror "You need at least kernel 2.6.21"
+ die "Kernel too old"
+ fi
+
+ ebegin "Checking for CONFIG_VIDEO_EM28XX disabled"
+ ! linux_chkconfig_present VIDEO_EM28XX
+ eend $?
+ if [[ $? -ne 0 ]]; then
+ ewarn "In-kernel em28xx drivers enabled, disable or remove them from"
+ ewarn "/lib/modules/${KV_FULL} if you experience problems."
+ fi
+}
+
+src_compile() {
+ set_arch_to_kernel
+ emake || die "Compiling kernel modules failed"
+}
diff --git a/media-tv/em28xx-new/metadata.xml b/media-tv/em28xx-new/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/media-tv/em28xx-new/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>