summaryrefslogtreecommitdiff
path: root/libre/kodi
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kodi')
-rw-r--r--libre/kodi/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/libre/kodi/PKGBUILD b/libre/kodi/PKGBUILD
index 8e60e893f..829608aae 100644
--- a/libre/kodi/PKGBUILD
+++ b/libre/kodi/PKGBUILD
@@ -9,14 +9,15 @@
# Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor (Arch): Maxime Gauduin <alucryd@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Isaac David <isacdaavid AT NO SPAM isacdaavid.info>
_pkgbase=kodi-libre
pkgbase=kodi
pkgname=kodi
pkgver=15.2
_codename=Isengard
-pkgrel=5.parabola1
-arch=('i686' 'x86_64')
+pkgrel=5.parabola2
+arch=('i686' 'x86_64' 'armv7h')
url="http://kodi.tv"
license=('GPL2')
makedepends=(
@@ -24,11 +25,12 @@ makedepends=(
'gperf' 'hicolor-icon-theme' 'jasper' 'java-runtime' 'libaacs' 'libass'
'libbluray' 'libcdio' 'libcec' 'libgl' 'libmariadbclient' 'libmicrohttpd'
'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse' 'libssh' 'libva'
- 'libvdpau' 'libxrandr' 'libxslt' 'lzo' 'mesa' 'nasm' 'nss-mdns'
+ 'libxrandr' 'libxslt' 'lzo' 'mesa' 'nasm' 'nss-mdns'
'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'rtmpdump' 'sdl2'
'sdl_image' 'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower'
'yajl' 'zip'
)
+[ "$CARCH" != "armv7h" ] && makedepends+=('libvdpau')
mksource=(
"$pkgname-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
)
@@ -78,6 +80,7 @@ build() {
# Configuring XBMC
export PYTHON_VERSION=2 # external python v2
+ [ "$CARCH" = "armv7h" ] && configure_extra="--disable-vaapi"
./configure --prefix=/usr --exec-prefix=/usr \
--disable-debug \
--enable-optimizations \
@@ -85,6 +88,7 @@ build() {
--enable-shared-libraries \
--with-lirc-device=/run/lirc/lircd \
--disable-non-free \
+ $configure_extra \
ac_cv_type__Bool=yes
# Now (finally) build