summaryrefslogtreecommitdiff
path: root/libre/kodi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kodi/PKGBUILD')
-rw-r--r--libre/kodi/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/libre/kodi/PKGBUILD b/libre/kodi/PKGBUILD
index b112e0e2b..c4877a637 100644
--- a/libre/kodi/PKGBUILD
+++ b/libre/kodi/PKGBUILD
@@ -1,5 +1,5 @@
# vim:set ts=2 sw=2 et:
-# $Id: PKGBUILD 173036 2016-04-30 05:45:40Z idevolder $
+# $Id: PKGBUILD 184765 2016-08-01 18:25:37Z idevolder $
# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer (Arch): BlackIkeEagle < ike DOT devolder AT gmail DOT com >
# Contributor (Arch): Brad Fanella <bradfanella@archlinux.us>
@@ -16,7 +16,7 @@ pkgbase=kodi
pkgname=kodi
pkgver=16.1
_codename=Jarvis
-pkgrel=2.parabola1
+pkgrel=3.parabola1
arch=('i686' 'x86_64' 'armv7h')
url="http://kodi.tv"
license=('GPL2')
@@ -30,12 +30,15 @@ makedepends=(
'sdl_image' 'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower'
'yajl' 'zip' 'mesa' 'dcadec' 'libcrossguid'
)
-[ "$CARCH" != "armv7h" ] && makedepends+=('libvdpau')
+depends_i686=('libvdpau')
+depends_x86_64=('libvdpau')
mksource=(
"$pkgname-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
)
source=(
"https://repo.parabola.nu/other/$_pkgbase/$_pkgbase-$pkgver-$_codename.tar.gz"
+ '9703.patch'
+ '10160.patch'
'libre.patch'
)
mksha256sums=(
@@ -43,6 +46,8 @@ mksha256sums=(
)
sha256sums=(
'68a6713567a6f65add13c6295d54709457e4c31e70d70cfc9c81ad64300405eb'
+ 'b0fe75d10b2678894d1dec48f3258c0bec2a4a170f33d76a9a8334bb1969b18f'
+ '947119637577abb77fdac6173fea05b0a4524928d344e3b3f0ed328e51b3e596'
'3c9b4e647a1eea8d910e7ddc4df3125de05a4c0468c3350fe4e44208158d8822'
)
@@ -56,6 +61,10 @@ mksource() {
prepare() {
cd "$srcdir/xbmc-$pkgver-$_codename"
+ # patches
+ patch -p1 -i "$srcdir/9703.patch"
+ patch -p1 -i "$srcdir/10160.patch"
+
find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
sed 's/python/python2/' -i tools/Linux/kodi.sh.in