kodi: remove --libdir=/usr/lib32 from configure on i686 to fix #3302 (#4493)

This commit is contained in:
Helmut Pozimski 2016-07-22 10:36:53 +02:00 committed by Juan RP
parent 05f89b7f0b
commit 26f9506e22

View file

@ -1,7 +1,7 @@
# Template file for 'kodi'
pkgname=kodi
version=16.1
revision=3
revision=4
patch_args="-Np1"
_codename="Jarvis"
wrksrc="xbmc-${version}-${_codename}"
@ -63,6 +63,13 @@ pre_configure() {
do_configure() {
# Do not ship version check.
rm -rf addons/service.xbmc.versioncheck
# kodi fails to find it's userdata if it's configured with --libfir=/usr/lib32, see
# https://github.com/voidlinux/void-packages/issues/3302
if [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
configure_args=${configure_args/--libdir=\/usr\/lib32/}
fi
./configure ${configure_args} \
--disable-debug --enable-optimizations --enable-gl \
--enable-sdl --enable-vdpau --enable-vaapi --enable-joystick \