diff options
Diffstat (limited to 'abs/core/v4l-dvb')
-rw-r--r-- | abs/core/v4l-dvb/PKGBUILD | 8 | ||||
-rw-r--r-- | abs/core/v4l-dvb/hdpvr.diff | 22 |
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) + |