diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index 1826b5206ce..4a14ff82040 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -50,7 +50,10 @@ pre_configure() { if [ -n "${_kodi_nojava}" ]; then $XBPS_FETCH_CMD http://repo.voidlinux.eu/distfiles/kodi-${version}-generated-addons.tar.xz 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 . /etc/profile.d/10_openjdk.sh BOOTSTRAP_STANDALONE=1 make -f codegenerator.mk @@ -72,6 +75,9 @@ do_configure() { ac_cv_path_SWIG_EXE=/bin/true } do_build() { + for f in xbmc/interfaces/python/generated/*.cpp; do + touch ${f/.cpp/.xml} + done make ${makejobs} } do_install() {