kodi: unbreak musl build again...
This commit is contained in:
parent
e1434c43d1
commit
99f74705bc
1 changed files with 7 additions and 1 deletions
|
@ -50,7 +50,10 @@ pre_configure() {
|
||||||
if [ -n "${_kodi_nojava}" ]; then
|
if [ -n "${_kodi_nojava}" ]; then
|
||||||
$XBPS_FETCH_CMD http://repo.voidlinux.eu/distfiles/kodi-${version}-generated-addons.tar.xz
|
$XBPS_FETCH_CMD http://repo.voidlinux.eu/distfiles/kodi-${version}-generated-addons.tar.xz
|
||||||
tar xf kodi-${version}-generated-addons.tar.xz -C ${wrksrc}
|
tar xf kodi-${version}-generated-addons.tar.xz -C ${wrksrc}
|
||||||
BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true SWIG=/bin/true -f codegenerator.mk || true
|
for f in xbmc/interfaces/python/generated/*.cpp; do
|
||||||
|
touch ${f/.cpp/.xml}
|
||||||
|
done
|
||||||
|
BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true SWIG=/bin/true -f codegenerator.mk
|
||||||
else
|
else
|
||||||
. /etc/profile.d/10_openjdk.sh
|
. /etc/profile.d/10_openjdk.sh
|
||||||
BOOTSTRAP_STANDALONE=1 make -f codegenerator.mk
|
BOOTSTRAP_STANDALONE=1 make -f codegenerator.mk
|
||||||
|
@ -72,6 +75,9 @@ do_configure() {
|
||||||
ac_cv_path_SWIG_EXE=/bin/true
|
ac_cv_path_SWIG_EXE=/bin/true
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
|
for f in xbmc/interfaces/python/generated/*.cpp; do
|
||||||
|
touch ${f/.cpp/.xml}
|
||||||
|
done
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue