summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2005-10-31 11:26:46 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2005-10-31 11:26:46 +0000
commitee1627d04c464e7c9973361776b77b4a25767ca0 (patch)
tree3113a5621121e649e6be495cf9d122a3c5f030c3 /media-video/usb-pwc-re
parentDon't append -Wl,-z,now; use $(bindnow-flags) instead. (diff)
downloadhistorical-ee1627d04c464e7c9973361776b77b4a25767ca0.tar.gz
historical-ee1627d04c464e7c9973361776b77b4a25767ca0.tar.bz2
historical-ee1627d04c464e7c9973361776b77b4a25767ca0.zip
verion bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-video/usb-pwc-re')
-rw-r--r--media-video/usb-pwc-re/ChangeLog8
-rw-r--r--media-video/usb-pwc-re/Manifest4
-rw-r--r--media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.9_rc11
-rw-r--r--media-video/usb-pwc-re/usb-pwc-re-10.0.9_rc1.ebuild52
4 files changed, 63 insertions, 2 deletions
diff --git a/media-video/usb-pwc-re/ChangeLog b/media-video/usb-pwc-re/ChangeLog
index 1f04c2b51db3..97b9e37de541 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.15 2005/08/10 11:50:07 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.16 2005/10/31 11:26:46 phosphan Exp $
+
+*usb-pwc-re-10.0.9_rc1 (31 Oct 2005)
+
+ 31 Oct 2005; Patrick Kursawe <phosphan@gentoo.org>
+ +usb-pwc-re-10.0.9_rc1.ebuild:
+ Version bump
10 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> usb-pwc-re-10.0.7.ebuild,
usb-pwc-re-10.0.7a.ebuild:
diff --git a/media-video/usb-pwc-re/Manifest b/media-video/usb-pwc-re/Manifest
index ce2ce0feac98..232c49134a86 100644
--- a/media-video/usb-pwc-re/Manifest
+++ b/media-video/usb-pwc-re/Manifest
@@ -1,6 +1,8 @@
+MD5 74e1a8fa9a07c79c0ce30734d54dbfad usb-pwc-re-10.0.9_rc1.ebuild 1448
MD5 b6a1c82065234c1a7100de5f414475f4 usb-pwc-re-10.0.7a.ebuild 1421
MD5 7f69b2814bb7838f5829dad6a9647e2a usb-pwc-re-10.0.7.ebuild 1418
-MD5 3ea667561ac46a271054dfa96378dbc7 ChangeLog 2134
+MD5 e05fe639ad6134ebd3fcdc1c3be38d43 ChangeLog 2274
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
+MD5 b953aca8bbf15ae5fff07e6deb5fb9b3 files/digest-usb-pwc-re-10.0.9_rc1 66
diff --git a/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.9_rc1 b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.9_rc1
new file mode 100644
index 000000000000..086da9511ee1
--- /dev/null
+++ b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.9_rc1
@@ -0,0 +1 @@
+MD5 d12d62f4f80589802dc10f2a4ede58c7 pwc-10.0.9-rc1.tar.bz2 49370
diff --git a/media-video/usb-pwc-re/usb-pwc-re-10.0.9_rc1.ebuild b/media-video/usb-pwc-re/usb-pwc-re-10.0.9_rc1.ebuild
new file mode 100644
index 000000000000..f677dc6e3fa0
--- /dev/null
+++ b/media-video/usb-pwc-re/usb-pwc-re-10.0.9_rc1.ebuild
@@ -0,0 +1,52 @@
+# 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.9_rc1.ebuild,v 1.1 2005/10/31 11:26:46 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/"
+MY_PV="${PV/_/-}"
+SRC_URI="http://www.saillard.org/pwc/files/pwc-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE=""
+DEPEND="sys-kernel/linux-headers"
+RDEPEND=""
+
+S=${WORKDIR}/pwc-${MY_PV}
+
+src_compile() {
+ export ARCH="$(tc-arch-kernel)"
+ emake KSRC="${KERNEL_DIR}" || die "make failed"
+ test -f pwc.ko || die "You can't have both at once - a builtin driver and a module."
+}
+
+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."
+}