Merge pull request #1700 from graysky2/k1

alarm/kodi-rbp to 18.2-2
This commit is contained in:
Kevin Mihelich 2019-05-14 18:55:01 -06:00 committed by GitHub
commit 1fb092d88a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ _prefix=/usr
pkgbase=kodi-rbp
pkgname=('kodi-rbp' 'kodi-rbp-eventclients' 'kodi-rbp-tools-texturepacker' 'kodi-rbp-dev')
pkgver=18.2
pkgrel=1
pkgrel=2
_codename=Leia
_tag="18.2-$_codename"
_ffmpeg_version="4.0.3-$_codename-18.2"
@ -76,6 +76,11 @@ sha256sums=('ff3f1770dd7a3223fb1f9441c0abf028bb4c3d406c5d9ba6fe202872b7237ee5'
'e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476'
'5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3')
prepare() {
# force python 'binary' as python2
[[ -d "$srcdir/path" ]] && rm -rf "$srcdir/path"
mkdir "$srcdir/path"
ln -s /usr/bin/python2 "$srcdir/path/python"
cd "xbmc-newclock5_$_tag"
[[ -d kodi-build ]] && rm -rf kodi-build
@ -85,6 +90,8 @@ prepare() {
}
build() {
export PATH="$srcdir/path:$PATH"
cd kodi-build
# _CPU=arm1176jzf-s for rpi1
@ -156,6 +163,8 @@ package_kodi-rbp() {
replaces=('xbmc-rbp-git')
_components=('kodi' 'kodi-bin')
export PATH="$srcdir/path:$PATH"
cd kodi-build
for _cmp in ${_components[@]}; do
DESTDIR="$pkgdir" /usr/bin/cmake \
@ -185,6 +194,8 @@ package_kodi-rbp-eventclients() {
'kodi-eventclients-ps3'
'kodi-eventclients-kodi-send')
export PATH="$srcdir/path:$PATH"
cd kodi-build
for _cmp in ${_components[@]}; do
DESTDIR="$pkgdir" /usr/bin/cmake \
@ -202,6 +213,8 @@ package_kodi-rbp-tools-texturepacker() {
depends=('libpng' 'giflib' 'libjpeg-turbo' 'lzo')
_components=('kodi-tools-texturepacker')
export PATH="$srcdir/path:$PATH"
cd kodi-build
for _cmp in ${_components[@]}; do
DESTDIR="$pkgdir" /usr/bin/cmake \
@ -225,6 +238,8 @@ package_kodi-rbp-dev() {
'kodi-screensaver-dev'
'kodi-visualization-dev')
export PATH="$srcdir/path:$PATH"
cd kodi-build
for _cmp in ${_components[@]}; do
DESTDIR="$pkgdir" /usr/bin/cmake \