summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2016-02-08 11:18:20 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2016-02-08 11:18:20 -0600
commit0589af6ed696f20176107725927dba616343dee4 (patch)
tree83746435a3a77b2ad3eea5366beb0778307577bb /libre
parentc1ad2be4b7c6b67398bc0abbcfa0e8ea1ba1ef93 (diff)
downloadabslibre-0589af6ed696f20176107725927dba616343dee4.tar.gz
abslibre-0589af6ed696f20176107725927dba616343dee4.tar.bz2
abslibre-0589af6ed696f20176107725927dba616343dee4.zip
libre/kodi: armv7h port
Diffstat (limited to 'libre')
-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