summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/ceton_infinitv/PKGBUILD23
-rw-r--r--abs/core/ceton_infinitv/ceton.install2
-rw-r--r--abs/core/ceton_infinitv/no-date-time-warn.patch11
3 files changed, 25 insertions, 11 deletions
diff --git a/abs/core/ceton_infinitv/PKGBUILD b/abs/core/ceton_infinitv/PKGBUILD
index 98b8a92..6db8ad2 100755
--- a/abs/core/ceton_infinitv/PKGBUILD
+++ b/abs/core/ceton_infinitv/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Cecil Watson<knoppmyth@gmail.com>
pkgname=ceton_infinitv
-_kernver=3.13.7-2-ARCH
+_kernver=3.18.4-1-ARCH
pkgver=2013_0326_2226
-pkgrel=4
+pkgrel=5
usb_pkgver=0.1.0
pkgdesc="Drivers for Ceton InfiniTV4 - pci/usb "
arch=('i686' 'x86_64')
license=('GPL2')
-url="http://linuxtv.org/"
+url="http://cetoncorp.com/infinitv_support/linux_drivers"
depends=('linux' 'libgusb' 'libnl1' 'ctntad')
makedepends=(linux-headers)
install=ceton.install
@@ -17,11 +17,13 @@ source=("http://cetoncorp.com/downloads/ceton_infinitv_linux_driver_$pkgver.tar.
"http://cetoncorp.com/downloads/infinitv-usbd-$usb_pkgver.tar.gz"
"ceton_usb_init.sh" "ifctn.sh"
"ceton_usb_udev.rules"
- "http://cetoncorp.com/downloads/reset_network.py" )
+ "http://cetoncorp.com/downloads/reset_network.py"
+ "no-date-time-warn.patch")
build() {
- cd $startdir/src/ceton_infinitv_linux_driver
- make KERNEL_VERSION=$_kernver
+ cd $srcdir/ceton_infinitv_linux_driver
+ patch -p1 -i $srcdir/no-date-time-warn.patch
+ make KERNEL_VERSION=$_kernver
cd $startdir/src/infinitv-usbd-$usb_pkgver
LDFLAGS="/usr/lib/libgthread-2.0.so" ./configure --prefix=/usr
@@ -30,8 +32,8 @@ build() {
}
package() {
- install -Dm755 ${srcdir}/ceton_infinitv_linux_driver/ctn91xx.ko ${pkgdir}/lib/modules/$_kernver/extra/ctn91xx.ko
- install -Dm755 ${srcdir}/98-ctn91xx.rules ${pkgdir}/etc/udev/rules.d/98-ctn91xx.rules
+ install -Dm755 ${srcdir}/ceton_infinitv_linux_driver/ctn91xx.ko ${pkgdir}/usr/lib/modules/$_kernver/extramodules/ctn91xx.ko
+ install -Dm755 ${srcdir}/98-ctn91xx.rules ${pkgdir}/etc/udev/rules.d/98-ctn91xx.rules
#usb support
cp ${srcdir}/ceton_usb_udev.rules ${pkgdir}/etc/udev/rules.d/
@@ -40,10 +42,11 @@ package() {
install -Dm755 ${srcdir}/ifctn.sh ${pkgdir}/usr/LH/bin/
install -m755 ${srcdir}/reset_network.py ${pkgdir}/usr/bin/infinitv_reset_network.py
}
-md5sums=('de329d7c9477a22fa8cb18f3a74b2ff5'
+md5sums=('7ae02309e86ee642b13aeb2f446462bb'
'554f2c1bcc5d7169659f0ad3d8a513a5'
'b5db78e2b9cccd65d6ea4c88dd028ace'
'9f95a08bdd8c2a9e8d62e7daf52a90f6'
'3fc4c4981d2dab54b297f17564b7729f'
'8da7dd477d7d47f03e85be4d6476e183'
- 'e48d82ff70b05a74aaace9cdcb6875db')
+ 'e48d82ff70b05a74aaace9cdcb6875db'
+ 'c90f09bb099d403dceeef5b09af32526')
diff --git a/abs/core/ceton_infinitv/ceton.install b/abs/core/ceton_infinitv/ceton.install
index f37a5fd..9e4a744 100644
--- a/abs/core/ceton_infinitv/ceton.install
+++ b/abs/core/ceton_infinitv/ceton.install
@@ -1,5 +1,5 @@
# arg 1: the new package version
-KERNEL_VERSION=3.12.6-1-ARCH
+KERNEL_VERSION=3.18.4-1-ARCH
post_install() {
depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
}
diff --git a/abs/core/ceton_infinitv/no-date-time-warn.patch b/abs/core/ceton_infinitv/no-date-time-warn.patch
new file mode 100644
index 0000000..3f7d9b4
--- /dev/null
+++ b/abs/core/ceton_infinitv/no-date-time-warn.patch
@@ -0,0 +1,11 @@
+diff -aur ceton_infinitv_linux_driver-orig/Makefile ceton_infinitv_linux_driver/Makefile
+--- ceton_infinitv_linux_driver-orig/Makefile 2014-11-11 21:38:27.990742939 -0500
++++ ceton_infinitv_linux_driver/Makefile 2014-11-11 21:41:41.181569523 -0500
+@@ -23,6 +23,7 @@
+ EXTRA_CFLAGS := -DLINUX -DUSE_PCI=1 -DUSE_LEON=0 -DHAS_MPEG_DMA=1 -DUSE_INTERNAL=0
+ SOURCES += ctn91xx_pci.o ctn91xx_rtp.o
+ endif
++EXTRA_CFLAGS += -Wno-date-time
+
+ ctn91xx_builtin-objs := $(SOURCES)
+