alarm/kodi-rbp-git to 16.0a4-Jarvis

This commit is contained in:
Adrian Fedoreanu 2015-11-07 20:34:05 +00:00
parent d123df9001
commit 644a56aa21

View file

@ -8,9 +8,9 @@ _prefix=/usr
pkgbase=kodi-rbp-git
pkgname=('kodi-rbp-git' 'kodi-rbp-git-eventclients')
pkgver=16.20150820
pkgver=16.0a4.20151101
_commit=52832f42610ab46a37cbf0b4ba8e5a11baa4fef6
_tag=16.0a4-Jarvis
pkgrel=1
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
arch=('armv6h' 'armv7h')
@ -22,16 +22,16 @@ makedepends=('hicolor-icon-theme' 'fribidi' 'lzo2' '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-git' 'boost' 'cmake' 'gperf' 'nasm' 'zip'
'udisks' 'upower' 'git' 'autoconf' 'java-environment' 'libcrossguid-git')
source=("kodi-${_commit}.tar.gz::https://github.com/xbmc/xbmc/archive/${_commit}.tar.gz"
'kodi.service'
'udisks' 'upower' 'git' 'autoconf' 'java-environment' 'libcrossguid-git' 'dcadec-git')
source=("xbmc-${_tag}.tar.gz::https://github.com/xbmc/xbmc/archive/${_tag}.tar.gz"
'kodi.service'
'polkit.rules')
sha256sums=('19bcc81d3824f4ac7a3c9c883e10b834ccd715708b7f89355358f9ff8a63b64b'
sha256sums=('e013916572d53b566014c89658be02434252f9be290cde6e284eb9f1e91a9af9'
'5235068d5800d69f0287087815990e7fe8d6572733d60c8800546d35f608e87f'
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96')
prepare() {
cd "$srcdir/xbmc-${_commit}"
cd "$srcdir/xbmc-${_tag}"
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
@ -44,7 +44,7 @@ install:' -i tools/EventClients/Makefile.in
}
build() {
cd "${srcdir}/xbmc-${_commit}"
cd "${srcdir}/xbmc-${_tag}"
# Bootstrapping
MAKEFLAGS=-j1 ./bootstrap
@ -61,7 +61,7 @@ build() {
# If build fails try uncommenting the line below first
# export MAKEFLAGS="-j1"
./configure --prefix=$_prefix --exec-prefix=$_prefix \
--with-platform=raspberry-pi \
--disable-gl \
@ -122,7 +122,7 @@ package_kodi-rbp-git() {
conflicts=('xbmc' 'kodi' 'arm-mem-git')
replaces=('xbmc-rbp-git')
cd "$srcdir/xbmc-${_commit}"
cd "$srcdir/xbmc-${_tag}"
# Running make install
make DESTDIR="${pkgdir}" install
@ -148,7 +148,7 @@ package_kodi-rbp-git-eventclients() {
conflicts=('kodi-eventclients')
depends=('cwiid')
cd "$srcdir/xbmc-${_commit}"
cd "$srcdir/xbmc-${_tag}"
make DESTDIR="$pkgdir" eventclients WII_EXTRA_OPTS=-DCWIID_OLD
}