diff options
Diffstat (limited to 'media-video/linux-uvc/linux-uvc-0.1.0_pre100.ebuild')
-rw-r--r-- | media-video/linux-uvc/linux-uvc-0.1.0_pre100.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-video/linux-uvc/linux-uvc-0.1.0_pre100.ebuild b/media-video/linux-uvc/linux-uvc-0.1.0_pre100.ebuild new file mode 100644 index 000000000000..a1c410a70223 --- /dev/null +++ b/media-video/linux-uvc/linux-uvc-0.1.0_pre100.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 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.1.0_pre100.ebuild,v 1.1 2007/05/07 20:21:10 genstef Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Linux driver and user-space tools for USB Video Class devices." +HOMEPAGE="http://linux-uvc.berlios.de/ + http://people.freedesktop.org/~rbultje/" +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz" +#ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/" +#ESVN_OPTIONS="-r ${PV/*_pre}" + + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="isight" +DEPEND="" + +MODULE_NAMES="uvcvideo(usb/media:src)" +BUILD_TARGETS=" " +CONFIG_CHECK="VIDEO_DEV" + +S=${WORKDIR}/against-revision-100 + +pkg_setup() { + linux-mod_pkg_setup + + BUILD_PARAMS="KERNEL_DIR=${KV_DIR}" +} + +src_unpack() { + unpack ${A} + cd ${S}/src + use isight || patch -p0 -R < ${S}/patch/isight.patch +} + +src_install() { + insinto /lib/firmware + use isight && doins firmware/AppleUSBVideoSupport + + linux-mod_src_install +} + +pkg_postinst() { + linux-mod_pkg_postinst + ewarn "If something is broken, you should get involved, and report" + ewarn "back to the mailing list linux-uvc-devel@lists.berlios.de" +} |