summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-19 10:51:05 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-19 10:51:05 +0000
commitb9648d7e4a3bbaad0b58da50365a7870dd577926 (patch)
treefec3563a74108a63fabc95cfb7aa4558a0392efc
parentupdate package.mask for media-tv/em28xx-new (diff)
downloadsunrise-b9648d7e4a3bbaad0b58da50365a7870dd577926.tar.gz
sunrise-b9648d7e4a3bbaad0b58da50365a7870dd577926.tar.bz2
sunrise-b9648d7e4a3bbaad0b58da50365a7870dd577926.zip
media-tv/em28xx-new: add em28xx-new snapshot to satisfy carlo
svn path=/sunrise/; revision=6346
-rw-r--r--media-tv/em28xx-new/ChangeLog4
-rw-r--r--media-tv/em28xx-new/Manifest4
-rw-r--r--media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild52
3 files changed, 59 insertions, 1 deletions
diff --git a/media-tv/em28xx-new/ChangeLog b/media-tv/em28xx-new/ChangeLog
index ef5025dd7..668092bc1 100644
--- a/media-tv/em28xx-new/ChangeLog
+++ b/media-tv/em28xx-new/ChangeLog
@@ -3,6 +3,10 @@
# $Header: $
19 Jun 2008; Chi-Thanh Christopher Nguyen (chithead)
+ <chithanh@cs.tu-berlin.de> +em28xx-new-0_p20080619.ebuild:
+ add em28xx-new snapshot to satisfy carlo
+
+ 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
index cf8821400..f8a0af896 100644
--- a/media-tv/em28xx-new/Manifest
+++ b/media-tv/em28xx-new/Manifest
@@ -1,3 +1,5 @@
+DIST em28xx-new-0_p20080619.tar.gz 432648 RMD160 f85a1a466c40a9fa85b382995317dc84bb8a274e SHA1 789a9f5c09d0fc48cf0576ea116b10ca6372646b SHA256 d25faa9561103c0fe633fb510a120650af76070852f55e90a3436a313620bb18
+EBUILD em28xx-new-0_p20080619.ebuild 1399 RMD160 11fe8457e45fcccb2687cc7464fe50e10a71fedf SHA1 c917c8b90cf9f7e39b71e8f5a19fef45d1558dc8 SHA256 bba7ea898a8c9bb56fea83a1452e0c920c9772254a4ad40a295d0a4e693deba5
EBUILD em28xx-new-9999.ebuild 1417 RMD160 e09c0156dc4ae4231048bf6c196d699a7a2cdf69 SHA1 bcfc57adcb518386077de981cd191de83f3a4620 SHA256 6b1125450a10ab6b290b1ee665535d4c68fbb892df85ded7e628fc070522ce59
-MISC ChangeLog 294 RMD160 44afb98fa91aac6286e39558b81e0e39db9defd9 SHA1 d1215454327e7d99c3d082c2300e340cd39c0107 SHA256 bbc4ddec3866bd2dfd3ad46699b949af9b7eba00c8edddef4ad52e403abc58a7
+MISC ChangeLog 454 RMD160 29c57fd828b2beb3d513911bc6f5aec424cf724a SHA1 b81da2f261cdee1297cc4c93d345e37cd72dcae0 SHA256 0a2286f426b83a37118b5a302669e1959e39c8483f5ebb6f7bfc4b63f09f3d76
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild b/media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild
new file mode 100644
index 000000000..04213b572
--- /dev/null
+++ b/media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit linux-info linux-mod
+
+DESCRIPTION="next generation em28xx driver including dvb support"
+HOMEPAGE="http://mcentral.de/"
+SRC_URI="http://omploader.org/vazFp/${P}.tar.gz"
+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() {
+ cd ${S}
+ set_arch_to_kernel
+ emake || die "Compiling kernel modules failed"
+}