mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
commit
1fb092d88a
1 changed files with 16 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue