summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Ernst2016-04-15 19:21:26 +0200
committerOle Ernst2016-04-15 19:21:26 +0200
commit2f5e6151c79e43edf8f06cdee87d9662a08e4fd4 (patch)
tree703ef22d53f2ce5148666c83f3d8b8bbe1e55174 /PKGBUILD
parentcaa16b1dccd6148184565fbcbb2b2e63de163146 (diff)
downloadaur-2f5e6151c79e43edf8f06cdee87d9662a08e4fd4.tar.gz
fix build against 4.5.x kernel, add support for S850
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e335a2bca8f..421961a0df8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ole Ernst <olebowle[at]gmx[dot]com>
pkgname=media-build-dvbsky
pkgver=20151028
-pkgrel=5
+pkgrel=6
pkgdesc="Driver for DVBSky cards/boxes"
arch=('i686' 'x86_64')
url="http://www.dvbsky.net/Support_linux.html"
@@ -13,12 +13,16 @@ replaces=('dvbsky-dvb-drivers')
install="$pkgname.install"
source=("http://www.dvbsky.net/download/linux/media_build-bst-151028.tar.gz"
'add_c2800e.patch'
+ 'add_s850.patch'
'4.3-compat.patch'
- '4.4-compat.patch')
+ '4.4-compat.patch'
+ '4.5-compat.patch')
sha256sums=('48a8726c6799025be06bc5b8bafa8449ca02abf8fe578e805f91707a5edf1e52'
'bdb4cb06418cb2e36eb3219b4d4be329d5297db1704e6e3ef0c73dd6bb9721f1'
+ 'c44b8dec256c271ceb59c6bd56df9f7a13735e3b9e110114e0504a48e99e6d10'
'e4991181b5a658f93ff6f454c22eb13955c8ae8ad19d3ddef1a0d7cc281c832e'
- '42e4e6b6011f1126e69d8fd1cc06af72b4baa396b551c18a54de632d572c7d8c')
+ '42e4e6b6011f1126e69d8fd1cc06af72b4baa396b551c18a54de632d572c7d8c'
+ '3c01458ab75b9d78ea7eb76f98e6a5982d33d5ba4841e6ff6460939641ba73e9')
prepare() {
cd media_build-bst
@@ -26,8 +30,10 @@ prepare() {
cp v4l/sit2_mod.dvb linux/drivers/media/dvb-frontends/sit2_mod.c
sed -i '/depmod/d' v4l/Makefile v4l/scripts/make_makefile.pl
patch -p1 -i ../add_c2800e.patch
+ patch -p1 -i ../add_s850.patch
patch -p1 -i ../4.3-compat.patch
patch -p1 -i ../4.4-compat.patch
+ patch -p1 -i ../4.5-compat.patch
export _kernver=$(</usr/lib/modules/extramodules-[0-9]\.+([0-9])-ARCH/version)
sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/" "$startdir/$install"
}