From: Steve Dibb Date: Sat, 2 Dec 2006 20:32:04 +0000 (+0000) Subject: Initial import, bug 121398, thanks to Jesse D. Guardiani for original ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=590753bfc930be440b3b041c751e2021187eb57c;p=gentoo.git Initial import, bug 121398, thanks to Jesse D. Guardiani for original ebuild Package-Manager: portage-2.1.1-r2 --- 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 +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..cb11f2f11894 --- /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 2740 RMD160 4f2af67daec9284ccd8c384c80efd239cd95003f SHA1 7a9fd57a3e01b46a2c67e3e13da564753a6217b0 SHA256 37e971a896f9b5947a74bcce3982be49681cc46b72600c52687022048d2937e0 +MD5 b89fa3abe686a8480d29108c883a4ad1 wis-go7007-0.9.8.ebuild 2740 +RMD160 4f2af67daec9284ccd8c384c80efd239cd95003f wis-go7007-0.9.8.ebuild 2740 +SHA256 37e971a896f9b5947a74bcce3982be49681cc46b72600c52687022048d2937e0 wis-go7007-0.9.8.ebuild 2740 +MISC ChangeLog 415 RMD160 f6ad10da99e1b336f98a78d2d0a9382253c4c377 SHA1 ae50c311dc24065521d773fc393a6879172b6737 SHA256 e69907abd3c0ea99fb041af7355ddfbe5174de14e70a8d00b9dad7859b031866 +MD5 813c2c40ea4a31f26f024e539d651545 ChangeLog 415 +RMD160 f6ad10da99e1b336f98a78d2d0a9382253c4c377 ChangeLog 415 +SHA256 e69907abd3c0ea99fb041af7355ddfbe5174de14e70a8d00b9dad7859b031866 ChangeLog 415 +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 @@ + + + +media-tv + +beandog@gentoo.org +Steve Dibb + + 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" +}