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 | 01dbbba6343fe38c2c8b72e3c8acebe158eb1872 (patch) | |
tree | 55711dccfe041f7dc2ed38054139fc5cfbb0d9f8 /media-video/usb-pwc-re | |
parent | New version (#101414). (diff) | |
download | historical-01dbbba6343fe38c2c8b72e3c8acebe158eb1872.tar.gz historical-01dbbba6343fe38c2c8b72e3c8acebe158eb1872.tar.bz2 historical-01dbbba6343fe38c2c8b72e3c8acebe158eb1872.zip |
Version bump (uses v4l2)
Package-Manager: portage-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 | 6 | ||||
-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, 62 insertions, 3 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..e462519f7870 100644 --- a/media-video/usb-pwc-re/Manifest +++ b/media-video/usb-pwc-re/Manifest @@ -1,4 +1,6 @@ -MD5 3ce2adbfbb42108868fb148f3174d9e7 ChangeLog 1811 -MD5 5ef11878179d451985ee7157a416c27e metadata.xml 222 +MD5 97062762657b25c6f02183d4dc6abda2 usb-pwc-re-10.0.7a.ebuild 1335 MD5 b5f4bf4544543a1ee86aca450aff189d usb-pwc-re-10.0.7.ebuild 1329 +MD5 6e799d1dcf398bd4b3db058880fdc506 ChangeLog 1960 +MD5 5ef11878179d451985ee7157a416c27e metadata.xml 222 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." +} |