summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-12-02 20:32:04 +0000
committerSteve Dibb <beandog@gentoo.org>2006-12-02 20:32:04 +0000
commitc9572144a4825e3b991af3c2208902d2e911c5fd (patch)
tree822dc4bbd2b3905c1f83c5e08f0497a7195cd965 /media-tv
parentVersion bump, remove old ebuilds. (diff)
downloadgentoo-2-c9572144a4825e3b991af3c2208902d2e911c5fd.tar.gz
gentoo-2-c9572144a4825e3b991af3c2208902d2e911c5fd.tar.bz2
gentoo-2-c9572144a4825e3b991af3c2208902d2e911c5fd.zip
Initial import, bug 121398, thanks to Jesse D. Guardiani for original ebuild
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/wis-go7007/ChangeLog10
-rw-r--r--media-tv/wis-go7007/Manifest16
-rw-r--r--media-tv/wis-go7007/files/digest-wis-go7007-0.9.83
-rw-r--r--media-tv/wis-go7007/metadata.xml9
-rw-r--r--media-tv/wis-go7007/wis-go7007-0.9.8.ebuild97
5 files changed, 135 insertions, 0 deletions
diff --git a/media-tv/wis-go7007/ChangeLog b/media-tv/wis-go7007/ChangeLog
new file mode 100644
index 000000000000..534be3b21047
--- /dev/null
+++ b/media-tv/wis-go7007/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-tv/wis-go7007
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/ChangeLog,v 1.1 2006/12/02 20:32:04 beandog Exp $
+
+*wis-go7007-0.9.8 (02 Dec 2006)
+
+ 02 Dec 2006; Steve Dibb <beandog@gentoo.org> +metadata.xml,
+ +wis-go7007-0.9.8.ebuild:
+ Initial import, bug 121398, thanks to Jesse D. Guardiani for original ebuild
+
diff --git a/media-tv/wis-go7007/Manifest b/media-tv/wis-go7007/Manifest
new file mode 100644
index 000000000000..1535393ec93a
--- /dev/null
+++ b/media-tv/wis-go7007/Manifest
@@ -0,0 +1,16 @@
+DIST wis-go7007-linux-0.9.8.tar.bz2 136517 RMD160 d3336efeac890848851506d6079df10d2ffd34a4 SHA1 6732d890f964a086ea5c3116a921a9eafce40c26 SHA256 efd7600d881fc57e0484ddd7f0820c18a3bd98dce8060418dfba1626c8a79b1a
+EBUILD wis-go7007-0.9.8.ebuild 2634 RMD160 3a793e128f556433aaefb484b65e996463490669 SHA1 7998f55f72f9da578c7dc60520e58ac1f3beee41 SHA256 0e0c181bb8f1af798976bddeed6be06ef92dd2657f7a568f6d9f7afc05859dc2
+MD5 7b1d975e3e5f1a2bc427267daf979ec2 wis-go7007-0.9.8.ebuild 2634
+RMD160 3a793e128f556433aaefb484b65e996463490669 wis-go7007-0.9.8.ebuild 2634
+SHA256 0e0c181bb8f1af798976bddeed6be06ef92dd2657f7a568f6d9f7afc05859dc2 wis-go7007-0.9.8.ebuild 2634
+MISC ChangeLog 323 RMD160 ba075b7723b826eb60dcfbaab3b6fee42d26608a SHA1 d128845e3f14e37558fc09b4896c6aa060b68fa5 SHA256 33681575559b79e54f82abe3670124b201b96e7b899a20b21506dd3d30e7213d
+MD5 2902957bf3c7139d8a29c4936636a0f9 ChangeLog 323
+RMD160 ba075b7723b826eb60dcfbaab3b6fee42d26608a ChangeLog 323
+SHA256 33681575559b79e54f82abe3670124b201b96e7b899a20b21506dd3d30e7213d ChangeLog 323
+MISC metadata.xml 246 RMD160 0f200b959fe440bc003682c4a1dd9ee1d3779fe3 SHA1 308bc54fe4d0cf8ef74b640816059455b7cd8922 SHA256 976fea96fe7879e5ed46a894977803c4927461d0763bf2a08cc17c25bdffa731
+MD5 864b7b7362c88dc173a6bfb88a4d0eb1 metadata.xml 246
+RMD160 0f200b959fe440bc003682c4a1dd9ee1d3779fe3 metadata.xml 246
+SHA256 976fea96fe7879e5ed46a894977803c4927461d0763bf2a08cc17c25bdffa731 metadata.xml 246
+MD5 2f67c7eb5ce713df4429fe6d8bb77857 files/digest-wis-go7007-0.9.8 271
+RMD160 545bb4c590681822b74b84d4c6da16a1444f4da6 files/digest-wis-go7007-0.9.8 271
+SHA256 fc9dcae83131f6a710ae5f33325d1af4a7bb96444b71139f46b0b8065502a260 files/digest-wis-go7007-0.9.8 271
diff --git a/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8 b/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8
new file mode 100644
index 000000000000..b7c4ef86d812
--- /dev/null
+++ b/media-tv/wis-go7007/files/digest-wis-go7007-0.9.8
@@ -0,0 +1,3 @@
+MD5 dbeaceae423972140d6a5107a1f586ec wis-go7007-linux-0.9.8.tar.bz2 136517
+RMD160 d3336efeac890848851506d6079df10d2ffd34a4 wis-go7007-linux-0.9.8.tar.bz2 136517
+SHA256 efd7600d881fc57e0484ddd7f0820c18a3bd98dce8060418dfba1626c8a79b1a wis-go7007-linux-0.9.8.tar.bz2 136517
diff --git a/media-tv/wis-go7007/metadata.xml b/media-tv/wis-go7007/metadata.xml
new file mode 100644
index 000000000000..89f02da5a0fd
--- /dev/null
+++ b/media-tv/wis-go7007/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>beandog@gentoo.org</email>
+<name>Steve Dibb</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-tv/wis-go7007/wis-go7007-0.9.8.ebuild b/media-tv/wis-go7007/wis-go7007-0.9.8.ebuild
new file mode 100644
index 000000000000..af810c261d9f
--- /dev/null
+++ b/media-tv/wis-go7007/wis-go7007-0.9.8.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/wis-go7007/wis-go7007-0.9.8.ebuild,v 1.1 2006/12/02 20:32:04 beandog Exp $
+
+inherit eutils linux-mod
+
+MY_PN=${PN}-linux
+DESCRIPTION="Linux drivers for go7007 chipsets (Plextor ConvertX PVR)"
+HOMEPAGE="http://oss.wischip.com/"
+SRC_URI="http://oss.wischip.com/${MY_PN}-${PV}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa"
+DEPEND="|| ( >=sys-fs/udev-103 sys-apps/hotplug )
+ sys-apps/hotplug-base
+ sys-apps/fxload"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+pkg_setup() {
+ BUILD_TARGETS="all"
+ BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+ CONFIG_CHECK="HOTPLUG MODULES KMOD FW_LOADER I2C VIDEO_DEV SOUND SND USB
+ USB_DEVICEFS USB_EHCI_HCD"
+
+ if use alsa; then
+ CONFIG_CHECK="${CONFIG_CHECK} SND_MIXER_OSS SND_PCM_OSS"
+ fi
+
+ if ! kernel_is 2 6 16; then
+ eerror "These drivers will only work with a 2.6.16 kernel"
+ die "Needs a different kernel"
+ fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="go7007(extra:${S}:${S}/kernel)
+ go7007-usb(extra:${S}:${S}/kernel)
+ snd-go7007(extra:${S}:${S}/kernel)
+ wis-ov7640(extra:${S}:${S}/kernel)
+ wis-sony-tuner(extra:${S}:${S}/kernel)
+ wis-tw9903(extra:${S}:${S}/kernel)
+ wis-uda1342(extra:${S}:${S}/kernel)
+ wis-saa7113(extra:${S}:${S}/kernel)
+ wis-saa7115(extra:${S}:${S}/kernel)"
+}
+
+src_compile() {
+ cd ${S}
+ linux-mod_src_compile || die "failed to build driver "
+}
+
+src_install() {
+ cd ${S}/apps
+ make KERNELDIR=${KERNEL_DIR} DESTDIR=${D} PREFIX=/usr install || die "failed to install"
+ cd ${S}
+ dodir ${ROOT}/lib/modules
+ insinto ${ROOT}/lib/modules
+ dodoc README README.saa7134 RELEASE-NOTES
+ cd ${S}/kernel
+ linux-mod_src_install || die "failed to install modules"
+
+ insinto ${KERNEL_DIR}/include/linux
+ doins ${S}/include/*.h
+ insinto ${ROOT}/lib/firmware
+ doins ${S}/firmware/*.bin
+ insinto ${ROOT}/lib/firmware/ezusb
+ doins ${S}/firmware/ezusb/*.hex
+ insinto ${ROOT}/etc/udev/rules.d
+ doins ${S}/udev/wis-ezusb.rules
+
+ exeinto ${ROOT}/usr/bin
+ use alsa && doexe ${S}/apps/gorecord
+ doexe ${S}/apps/modet
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "For more information on how to use the Plextor devices with Gentoo"
+ einfo "you can follow this thread for tips and tricks:"
+ einfo "http://forums.gentoo.org/viewtopic-t-306559-highlight-.html"
+ einfo ""
+ einfo "Also, the unofficial Gentoo wiki has a HOWTO page:"
+ einfo "http://gentoo-wiki.com/HARDWARE_go7007"
+ einfo ""
+ ewarn "Don't forget to add your modules to /etc/modules.autoload.d/kernel.2.6"
+ ewarn "so they will load on startup:"
+ ewarn ""
+ ewarn "snd_go7007"
+ ewarn "go7007"
+ ewarn "go7007_usb"
+ ewarn "wis_saa7115"
+ ewarn "wis_uda1342"
+ ewarn "wis_sony_tuner"
+}