summaryrefslogtreecommitdiffstats
path: root/abs/core/v4l-dvb
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-08-30 22:24:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-08-30 22:24:02 (GMT)
commitc4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (patch)
treef4e4f7a91e1d9d90033fd99d89e5e26a2c144528 /abs/core/v4l-dvb
parent0e7b327a1ae444233f1308a95420f70540ad74a3 (diff)
downloadlinhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.zip
linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.gz
linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.bz2
RSYNC CORE:
resync core-testing -> core Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/core/v4l-dvb')
-rw-r--r--abs/core/v4l-dvb/PKGBUILD8
-rw-r--r--abs/core/v4l-dvb/hdpvr.diff22
2 files changed, 28 insertions, 2 deletions
diff --git a/abs/core/v4l-dvb/PKGBUILD b/abs/core/v4l-dvb/PKGBUILD
index 90f6034..610472b 100644
--- a/abs/core/v4l-dvb/PKGBUILD
+++ b/abs/core/v4l-dvb/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=v4l-dvb
_kernver=2.6.28-LinHES
pkgver=1
-pkgrel=13
+pkgrel=17
pkgdesc="V4L-DVB drivers from mercurial"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -12,13 +12,17 @@ url="http://linuxtv.org/"
depends=('kernel26')
makedepends=(kernel-headers)
install=v4l-dvb.install
-source=(http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz)
+source=('http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz' 'hdpvr.diff')
build() {
cd $startdir/src/v4l-dvb*/
+# patch -p1 < ../hdpvr.diff
make KERNDIR=/lib/modules/$_kernver/build \
DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver all || return 1
make KERNDIR=/lib/modules/$_kernver/build \
DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install || return 1
rm -fr $startdir/pkg/lib/modules/$_kernver/modules*
}
+
+md5sums=('e0c4eb1f436d44118e0bf0757516310c'
+ 'd50c96211d23fba48ebc4c5e2d1e6102')
diff --git a/abs/core/v4l-dvb/hdpvr.diff b/abs/core/v4l-dvb/hdpvr.diff
new file mode 100644
index 0000000..bf465e5
--- /dev/null
+++ b/abs/core/v4l-dvb/hdpvr.diff
@@ -0,0 +1,22 @@
+diff -ruaN v4l-dvb-31eaa9423f98.orig/linux/drivers/media/video/hdpvr/hdpvr-core.c v4l-dvb-31eaa9423f98/linux/drivers/media/video/hdpvr/hdpvr-core.c
+--- v4l-dvb-31eaa9423f98.orig/linux/drivers/media/video/hdpvr/hdpvr-core.c 2010-01-25 09:04:15.000000000 -0800
++++ v4l-dvb-31eaa9423f98/linux/drivers/media/video/hdpvr/hdpvr-core.c 2010-01-25 12:11:04.000000000 -0800
+@@ -59,6 +59,7 @@
+ { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID) },
+ { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID1) },
+ { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID2) },
++ { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID3) },
+ { } /* Terminating entry */
+ };
+ MODULE_DEVICE_TABLE(usb, hdpvr_table);
+diff -ruaN v4l-dvb-31eaa9423f98.orig/linux/drivers/media/video/hdpvr/hdpvr.h v4l-dvb-31eaa9423f98/linux/drivers/media/video/hdpvr/hdpvr.h
+--- v4l-dvb-31eaa9423f98.orig/linux/drivers/media/video/hdpvr/hdpvr.h 2010-01-25 09:04:15.000000000 -0800
++++ v4l-dvb-31eaa9423f98/linux/drivers/media/video/hdpvr/hdpvr.h 2010-01-25 12:11:17.000000000 -0800
+@@ -30,6 +30,7 @@
+ #define HD_PVR_PRODUCT_ID 0x4900
+ #define HD_PVR_PRODUCT_ID1 0x4901
+ #define HD_PVR_PRODUCT_ID2 0x4902
++#define HD_PVR_PRODUCT_ID3 0x4982
+
+ #define UNSET (-1U)
+