alarm/kodi-rbp3 to 18.2-2

This commit is contained in:
graysky 2019-05-14 20:03:45 -04:00 committed by Kevin Mihelich
parent 5f5a74a573
commit d4b1f6c65e

View file

@ -12,7 +12,7 @@ _prefix=/usr
pkgbase=kodi-rbp3
pkgname=('kodi-rbp3' 'kodi-rbp3-eventclients' 'kodi-rbp3-tools-texturepacker' 'kodi-rbp3-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=cortex-a53
@ -145,6 +152,8 @@ package_kodi-rbp3() {
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 \
@ -174,6 +183,8 @@ package_kodi-rbp3-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 \
@ -191,6 +202,8 @@ package_kodi-rbp3-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 \
@ -214,6 +227,8 @@ package_kodi-rbp3-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 \