alarm/kodi-rbp-git to 17.4rc1.20170811-2 (#1509)

This commit is contained in:
graysky 2017-08-26 13:00:21 -04:00 committed by Kevin Mihelich
parent 031ef25fc0
commit 51efe2c69a

View file

@ -14,7 +14,7 @@ _suffix=rbp-git
pkgname=("kodi-$_suffix" "kodi-eventclients-$_suffix" "kodi-tools-texturepacker-$_suffix" "kodi-dev-$_suffix")
pkgver=17.4rc1.20170811
_tag=17.4rc1-Krypton
pkgrel=1
pkgrel=2
arch=('armv6h' 'armv7h')
url="http://kodi.tv"
license=('GPL2')
@ -24,7 +24,7 @@ makedepends=('hicolor-icon-theme' 'fribidi' 'lzo' 'smbclient' 'libtiff' 'libva'
'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'xorg-xdpyinfo' 'libbluray'
'libnfs' 'afpfs-ng' 'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libcec-rpi'
'libplist' 'swig' 'taglib' 'libxslt' 'shairplay' 'boost' 'cmake' 'gperf' 'nasm' 'zip'
'upower' 'git' 'autoconf' 'java-environment' 'libcrossguid-git' 'dcadec' 'libpulse' 'cwiid')
'upower' 'git' 'autoconf' 'java-environment' 'dcadec' 'libpulse' 'cwiid')
source=("xbmc-$_tag.tar.gz::https://github.com/xbmc/xbmc/archive/$_tag.tar.gz"
'kodi.service'
'99-kodi.rules'
@ -45,7 +45,7 @@ sha256sums=('dd0604419528e00e14669c5c2ae9285ea60a7588eebf203bd2f399f9b8033e8c'
prepare() {
cd "$srcdir/xbmc-$_tag"
# python2 patch fix
# python2 path fix
patch -p1 -i "$srcdir/fix-python-lib-path.patch"
# ffmpeg: Automatic switch to software decode for GMC with more than one warp point
@ -69,6 +69,10 @@ build() {
[[ $CARCH == "armv6h" ]] && _CPU=arm1176jzf-s && LDFLAGS+=" -latomic"
[[ $CARCH == "armv7h" ]] && _CPU=cortex-a7
# needed to avoid bad value on build/lib/libcrossguid.a
CFLAGS+=" -fPIC"
CXXFLAGS+=" -fPIC"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_PREFIX_PATH=/opt/vc \
@ -79,6 +83,7 @@ build() {
-DENABLE_X11=OFF \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DLIRC_DEVICE=/run/lirc/lircd \
../"xbmc-$_tag"/project/cmake
@ -93,7 +98,7 @@ package_kodi-rbp-git() {
'sdl_image' 'python2' 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'libass'
'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'xorg-xdpyinfo' 'libbluray'
'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libpulse'
'libplist' 'swig' 'taglib' 'libxslt' 'libcrossguid-git')
'libplist' 'swig' 'taglib' 'libxslt')
optdepends=(
'afpfs-ng: Apple airplay and AFP share support'
'libcec-rpi: Pulse-Eight USB-CEC adapter support'