# ChangeLog for media-video/usb-pwc-re
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.25 2006/10/23 12:20:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.26 2006/12/30 11:26:02 phosphan Exp $
+
+ 30 Dec 2006; Patrick Kursawe <phosphan@gentoo.org>
+ +usb-pwc-re-20061023.042702-r1.ebuild:
+ User-contributed version using linux-mod eclass, see bug #158609
*usb-pwc-re-20061023.042702 (23 Oct 2006)
MD5 5d3c2e8a4b68c22666a96577958aae2c usb-pwc-re-10.0.7.ebuild 1379
RMD160 173386ce96f0e355a408e60dbc6a151afb63f9fc usb-pwc-re-10.0.7.ebuild 1379
SHA256 8cafd0e663a6d4c2ec2a518b15f0b88457384949fa2deab2dc95cb32ce8e241c usb-pwc-re-10.0.7.ebuild 1379
+EBUILD usb-pwc-re-20061023.042702-r1.ebuild 1215 RMD160 902a688fa91b34664691c729bc1069c69bf0626e SHA1 3019e51c0320d4d9558573c5aa4b6fe48268d36f SHA256 22f9d31a025378974936075ff751f5fb9ce9a6c9cac48b422d179d03c7e21059
+MD5 7e6c908001d18f43846b2959764e3acb usb-pwc-re-20061023.042702-r1.ebuild 1215
+RMD160 902a688fa91b34664691c729bc1069c69bf0626e usb-pwc-re-20061023.042702-r1.ebuild 1215
+SHA256 22f9d31a025378974936075ff751f5fb9ce9a6c9cac48b422d179d03c7e21059 usb-pwc-re-20061023.042702-r1.ebuild 1215
EBUILD usb-pwc-re-20061023.042702.ebuild 1441 RMD160 93fb53555b1327adf67e622e5e0d972b6e42b8ee SHA1 79fd7624e0a5bc3d223b16c29f3f7772fbe7d27b SHA256 7b54b6ffcb94df0a6fc3070cefef90353213ad3e4f2ffebceb4da24eaaf8a19f
MD5 7dea454257f68f5315301e21896e220e usb-pwc-re-20061023.042702.ebuild 1441
RMD160 93fb53555b1327adf67e622e5e0d972b6e42b8ee usb-pwc-re-20061023.042702.ebuild 1441
SHA256 7b54b6ffcb94df0a6fc3070cefef90353213ad3e4f2ffebceb4da24eaaf8a19f usb-pwc-re-20061023.042702.ebuild 1441
-MISC ChangeLog 3623 RMD160 5b94b7bc7acfd9b0182f31c8252b5ffd69695fd5 SHA1 47c320cbeca7cd1d6536c17e89fc619f02b5176c SHA256 7db4decd76c5b1a538de13f325d0f785596f89a567cbda8ae18da6565e18d345
-MD5 71e39f436a633b689c2c8bccc21beb37 ChangeLog 3623
-RMD160 5b94b7bc7acfd9b0182f31c8252b5ffd69695fd5 ChangeLog 3623
-SHA256 7db4decd76c5b1a538de13f325d0f785596f89a567cbda8ae18da6565e18d345 ChangeLog 3623
+MISC ChangeLog 3785 RMD160 774de2796c9a3e4e98f287962efe03ba3ce5cce7 SHA1 419df502acd15cbbfd8c3b3aadb7262344d9af4b SHA256 8af60e7e4c19c6be6f02bc1d2d689a3b267c7586b8b2245ee77613a644beb728
+MD5 0454dafbc5b1210c7fd24e2bb18833da ChangeLog 3785
+RMD160 774de2796c9a3e4e98f287962efe03ba3ce5cce7 ChangeLog 3785
+SHA256 8af60e7e4c19c6be6f02bc1d2d689a3b267c7586b8b2245ee77613a644beb728 ChangeLog 3785
MISC metadata.xml 222 RMD160 80472e8fc32f242b944e7df7d2d89996cf40b5bd SHA1 651558716d8136fa0e5de3766a5fdcf29d0e3eec SHA256 452116b01cc5f6f917f8ce8e2d15fb0de73f054c6bbe6632b39174e9deb8b058
MD5 5ef11878179d451985ee7157a416c27e metadata.xml 222
RMD160 80472e8fc32f242b944e7df7d2d89996cf40b5bd metadata.xml 222
MD5 debfa87298fd3418af713abeac42f032 files/digest-usb-pwc-re-20061023.042702 274
RMD160 72cd6ca2cf9856af7029b6d6bd1b0da4a5615211 files/digest-usb-pwc-re-20061023.042702 274
SHA256 34858bad42dc0ff5b77105a77fe159adc0e40d824a55b870924a6fb0b9e297b3 files/digest-usb-pwc-re-20061023.042702 274
+MD5 debfa87298fd3418af713abeac42f032 files/digest-usb-pwc-re-20061023.042702-r1 274
+RMD160 72cd6ca2cf9856af7029b6d6bd1b0da4a5615211 files/digest-usb-pwc-re-20061023.042702-r1 274
+SHA256 34858bad42dc0ff5b77105a77fe159adc0e40d824a55b870924a6fb0b9e297b3 files/digest-usb-pwc-re-20061023.042702-r1 274
--- /dev/null
+# Copyright 1999-2006 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-20061023.042702-r1.ebuild,v 1.1 2006/12/30 11:26:02 phosphan Exp $
+
+
+inherit linux-mod
+
+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/linux/pwc/snapshots/pwc-v4l2-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE=""
+DEPEND="sys-kernel/linux-headers"
+RDEPEND=""
+
+# linux-mod variables
+BUILD_TARGETS="all"
+MODULE_NAMES="pwc(media/video:)"
+CONFIG_CHECK="USB !USB_PWC"
+ERROR_USB="${P} requires Host-side USB support (CONFIG_USB)."
+ERROR_USB_PWC="${P} requires the in-kernel version of the PWC driver to be disabled (CONFIG_USB_PWC)."
+
+S=${WORKDIR}/pwc-v4l2-${MY_PV}
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo "If you have problems loading the module, please check the \"dmesg\" output."
+}