[arch-commits] Commit in kodi/trunk (PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Sun May 12 16:00:58 UTC 2019
Date: Sunday, May 12, 2019 @ 16:00:57
Author: idevolder
Revision: 466640
upgpkg: kodi 18.2-3
fixes #62552
Modified:
kodi/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 16:00:50 UTC (rev 466639)
+++ PKGBUILD 2019-05-12 16:00:57 UTC (rev 466640)
@@ -23,7 +23,7 @@
'kodi-eventclients' 'kodi-tools-texturepacker' 'kodi-dev'
)
pkgver=18.2
-pkgrel=2
+pkgrel=3
arch=('x86_64')
url="https://kodi.tv"
license=('GPL2')
@@ -89,6 +89,11 @@
'539b33f30f6735caaf57fb9f19de449b8a8902362ae9e66a6fceabd530d02888533d2ab262fb187670780c997e5c1d23bd715a3c6860fd50280c1031f47865f7')
prepare() {
+ # force python 'binary' as python2
+ [[ -d "$srcdir/path" ]] && rm -rf "$srcdir/path"
+ mkdir "$srcdir/path"
+ ln -s /usr/bin/python2 "$srcdir/path/python"
+
[[ -d kodi-build-x11 ]] && rm -rf kodi-build-x11
mkdir kodi-build-x11
[[ -d kodi-build-wayland ]] && rm -rf kodi-build-wayland
@@ -105,6 +110,8 @@
}
build() {
+ export PATH="$srcdir/path:$PATH"
+
msg2 "building kodi-x11"
cd "$srcdir/kodi-build-x11"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
@@ -204,6 +211,8 @@
'kodi-bin'
)
+ export PATH="$srcdir/path:$PATH"
+
cd kodi-build-x11
# install eventclients
for _cmp in ${_components[@]}; do
@@ -286,6 +295,8 @@
'kodi-eventclients-kodi-send'
)
+ export PATH="$srcdir/path:$PATH"
+
cd kodi-build-x11
# install eventclients
for _cmp in ${_components[@]}; do
@@ -341,6 +352,8 @@
'kodi-visualization-dev'
)
+ export PATH="$srcdir/path:$PATH"
+
cd kodi-build-x11
# install eventclients
for _cmp in ${_components[@]}; do
More information about the arch-commits
mailing list