diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2005-08-05 11:56:44 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2005-08-05 11:56:44 +0000 |
commit | ad50330c7a12d16fa243855706a5d27cd6340aed (patch) | |
tree | c26a68447fa51ae7fc36f9b3e9a0df1fca4f3866 /media-video/usb-pwc-re | |
parent | New version (#101414). (diff) | |
download | gentoo-2-ad50330c7a12d16fa243855706a5d27cd6340aed.tar.gz gentoo-2-ad50330c7a12d16fa243855706a5d27cd6340aed.tar.bz2 gentoo-2-ad50330c7a12d16fa243855706a5d27cd6340aed.zip |
Version bump (uses v4l2)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-video/usb-pwc-re')
-rw-r--r-- | media-video/usb-pwc-re/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/usb-pwc-re/Manifest | 4 | ||||
-rw-r--r-- | media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.7a | 1 | ||||
-rw-r--r-- | media-video/usb-pwc-re/usb-pwc-re-10.0.7a.ebuild | 50 |
4 files changed, 61 insertions, 2 deletions
diff --git a/media-video/usb-pwc-re/ChangeLog b/media-video/usb-pwc-re/ChangeLog index be04275a8275..2af6b2b6e8b1 100644 --- a/media-video/usb-pwc-re/ChangeLog +++ b/media-video/usb-pwc-re/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/usb-pwc-re # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.13 2005/07/28 11:25:00 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.14 2005/08/05 11:56:44 phosphan Exp $ + +*usb-pwc-re-10.0.7a (05 Aug 2005) + + 05 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> + +usb-pwc-re-10.0.7a.ebuild: + Version bump (uses v4l2) 28 Jul 2005; David Holm <dholm@gentoo.org> usb-pwc-re-10.0.7.ebuild: Added to ~ppc. diff --git a/media-video/usb-pwc-re/Manifest b/media-video/usb-pwc-re/Manifest index 88075760a0b2..f1fdabbd1352 100644 --- a/media-video/usb-pwc-re/Manifest +++ b/media-video/usb-pwc-re/Manifest @@ -1,4 +1,6 @@ +MD5 8ccb77dfabdbfdc3a4fd12f8ad10ac23 usb-pwc-re-10.0.7a.ebuild 1331 +MD5 b5f4bf4544543a1ee86aca450aff189d usb-pwc-re-10.0.7.ebuild 1329 MD5 3ce2adbfbb42108868fb148f3174d9e7 ChangeLog 1811 MD5 5ef11878179d451985ee7157a416c27e metadata.xml 222 -MD5 b5f4bf4544543a1ee86aca450aff189d usb-pwc-re-10.0.7.ebuild 1329 MD5 3808ae386cedb8841b70ea447cf94a4e files/digest-usb-pwc-re-10.0.7 62 +MD5 ea1ff464d19a6150ba089e93eb49f9f1 files/digest-usb-pwc-re-10.0.7a 63 diff --git a/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.7a b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.7a new file mode 100644 index 000000000000..44910114923a --- /dev/null +++ b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.7a @@ -0,0 +1 @@ +MD5 8f6f61f49e84690a955a059f39577935 pwc-10.0.7a.tar.bz2 48906 diff --git a/media-video/usb-pwc-re/usb-pwc-re-10.0.7a.ebuild b/media-video/usb-pwc-re/usb-pwc-re-10.0.7a.ebuild new file mode 100644 index 000000000000..cfecd7888807 --- /dev/null +++ b/media-video/usb-pwc-re/usb-pwc-re-10.0.7a.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/usb-pwc-re-10.0.7a.ebuild,v 1.1 2005/08/05 11:56:44 phosphan Exp $ + + +inherit linux-info toolchain-funcs eutils + +DESCRIPTION="Free Philips USB Webcam driver for Linux that supports VGA resolution, newer kernels and replaces the old pwcx module." +HOMEPAGE="http://www.saillard.org/pwc/" +SRC_URI="http://www.saillard.org/pwc/files/pwc-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +IUSE="" +DEPEND="sys-kernel/linux-headers" +RDEPEND="" + +S=${WORKDIR}/pwc-${PV} + +src_compile() { + export ARCH="$(tc-arch-kernel)" + emake KSRC="${KERNEL_DIR}" || die "make failed" +} + +src_install() { + + if kernel_is 2 6; then + einfo "Kernel ${KV_FULL} detected!" + insinto "/lib/modules/${KV_FULL}/kernel/drivers/usb/media/pwc" + doins pwc.ko + echo "post-install pwc /sbin/modprobe --force pwcx >& /dev/null 2>&1 || :" > usb-pwcx + else + eerror "No supported kernel version (2.6) detected." + fi + + insinto /etc/modules.d + +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] + then + # Update module dependency + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + depmod -a + fi + einfo "If you have problems loading the module, please check the \"dmesg\" output." +} |