diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-09-01 09:36:21 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-09-01 09:36:21 +0000 |
commit | 6a7c7ec83168bff9e3be866fbfa50c978699aec2 (patch) | |
tree | e12598cbf7d9bd18f988c0a9198e01e207cf5632 /media-video/linux-uvc | |
parent | media-video/linux-uvc:isight - Apply patch to work _only_ with the Apple iSight (diff) | |
download | gentoo-2-6a7c7ec83168bff9e3be866fbfa50c978699aec2.tar.gz gentoo-2-6a7c7ec83168bff9e3be866fbfa50c978699aec2.tar.bz2 gentoo-2-6a7c7ec83168bff9e3be866fbfa50c978699aec2.zip |
version bump, add isight use flag, thanks to Henk Spaaij <zaai@spaaij.net> and kilian <kilian@jknet.org> in bug 143201
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'media-video/linux-uvc')
-rw-r--r-- | media-video/linux-uvc/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/linux-uvc/files/digest-linux-uvc-0.0.1_pre51 | 3 | ||||
-rw-r--r-- | media-video/linux-uvc/linux-uvc-0.0.1_pre51.ebuild | 67 |
3 files changed, 78 insertions, 1 deletions
diff --git a/media-video/linux-uvc/ChangeLog b/media-video/linux-uvc/ChangeLog index 7f9170fe2e19..605f3909177e 100644 --- a/media-video/linux-uvc/ChangeLog +++ b/media-video/linux-uvc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/linux-uvc # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/linux-uvc/ChangeLog,v 1.1 2006/07/26 16:55:12 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/linux-uvc/ChangeLog,v 1.2 2006/09/01 09:36:21 genstef Exp $ + +*linux-uvc-0.0.1_pre51 (01 Sep 2006) + + 01 Sep 2006; Stefan Schweizer <genstef@gentoo.org> + -linux-uvc-0.0.1_pre41.ebuild, +linux-uvc-0.0.1_pre51.ebuild: + version bump, add isight use flag, thanks to Henk Spaaij <zaai@spaaij.net> + and kilian <kilian@jknet.org> in bug 143201 26 Jul 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog: New ebuild thanks to Jürgen Geuter <tante@the-gay-bar.com>, Niv Vaizer diff --git a/media-video/linux-uvc/files/digest-linux-uvc-0.0.1_pre51 b/media-video/linux-uvc/files/digest-linux-uvc-0.0.1_pre51 new file mode 100644 index 000000000000..8fea502fafb6 --- /dev/null +++ b/media-video/linux-uvc/files/digest-linux-uvc-0.0.1_pre51 @@ -0,0 +1,3 @@ +MD5 fe5ae683e8c4a9271b7ebfe8846836b2 linux-uvc-0.0.1_pre51.tar.bz2 25114 +RMD160 37f7f314eff9a22b3b2b3bfaa160290018de526b linux-uvc-0.0.1_pre51.tar.bz2 25114 +SHA256 f66f162528332a819d3facf28ebc6ae1f8f5fa85799c06f43f5c7fc952fc1c07 linux-uvc-0.0.1_pre51.tar.bz2 25114 diff --git a/media-video/linux-uvc/linux-uvc-0.0.1_pre51.ebuild b/media-video/linux-uvc/linux-uvc-0.0.1_pre51.ebuild new file mode 100644 index 000000000000..0935242507ac --- /dev/null +++ b/media-video/linux-uvc/linux-uvc-0.0.1_pre51.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/linux-uvc/linux-uvc-0.0.1_pre51.ebuild,v 1.1 2006/09/01 09:36:21 genstef Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Linux driver and user-space tools for USB Video Class devices." +HOMEPAGE="http://linux-uvc.berlios.de/" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2" +#ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/" +#ESVN_OPTIONS="-r ${PV/*_pre}" +#svn co http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk linux-uvc-0.0.1_pre +#rm -r linux-uvc-0.0.1_pre*/.svn + + +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" +IUSE="isight" +DEPEND=">=dev-libs/libusb-0.1.12" + +MODULE_NAMES="uvcvideo(usb/media)" +BUILD_TARGETS="uvcvideo" +CONFIG_CHECK="VIDEO_DEV" + +pkg_setup() { + linux-mod_pkg_setup + + BUILD_PARAMS="KERNEL_DIR=${KV_DIR}" + if use isight; then + MODULESD_UVCVIDEO_ENABLED="yes" + MODULESD_UVCVIDEO_ADDITIONS=( "pre-install uvcvideo /sbin/isight-firmware-tool /lib/firmware/AppleUSBVideoSupport; sleep 2" ) + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + use isight && epatch ${FILESDIR}/41-001-isight.patch +} + +src_compile() { + use isight && emake extract + + linux-mod_src_compile +} + +src_install() { + into / + use isight && newsbin extract isight-firmware-tool + + linux-mod_src_install +} + +pkg_postinst() { + linux-mod_pkg_postinst + ewarn "This is SVN checkout build -- against revision: ${PV/*_pre}" + ewarn "If something is broken, you should get involved, and report" + ewarn "back to the mailing list linux-uvc-devel@lists.berlios.de" + + if use isight; then + elog "Using iSight cameras, you *must* install the firmware to /lib/firmware, for e.g:" + elog " mkdir -p /lib/firmware" + elog " cp /\${OSX_MOUNT}/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport /lib/firmware" + elog "Check /etc/modules.d/uvcvideo for more info." + fi +} |