kodi: disable gold

This commit is contained in:
q66 2021-01-08 18:57:39 +01:00
parent 5a9fc43526
commit 1680b83b1f

View file

@ -5,7 +5,8 @@ revision=4
_codename="Leia"
wrksrc="xbmc-${version}-${_codename}"
build_style=cmake
configure_args="-DENABLE_INTERNAL_CROSSGUID=OFF -DWITH_FFMPEG=/usr"
configure_args="-DENABLE_INTERNAL_CROSSGUID=OFF -DWITH_FFMPEG=/usr
-DENABLE_LDGOLD=OFF"
short_desc="Software media player and entertainment hub for digital media"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
@ -44,17 +45,12 @@ depends+=" glxinfo hicolor-icon-theme desktop-file-utils xdpyinfo"
case "$XBPS_TARGET_MACHINE" in
aarch64*)
hostmakedepends+=" libmysqlclient-devel SDL2_image-devel lzo-devel";
makedepends+=" python-devel ffmpeg-devel";
configure_args+=" -DENABLE_LDGOLD=Off -DENABLE_VAAPI=OFF";
hostmakedepends+=" libmysqlclient-devel SDL2_image-devel lzo-devel"
makedepends+=" python-devel ffmpeg-devel"
configure_args+=" -DENABLE_VAAPI=OFF"
;;
esac
# gold broken with musl
case "$XBPS_MACHINE" in
*-musl) configure_args+=" -DENABLE_LDGOLD=Off";;
esac
pre_configure() {
if [ "$CROSS_BUILD" ]; then
find -type f | \