kodi-rpi: unify rpi build options, fix linker paths

This commit is contained in:
Andrew J. Hesford 2021-01-11 15:18:08 -05:00
parent efb9151ef1
commit 7d77b71993
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kodi-rpi'
pkgname=kodi-rpi
version=18.8
revision=3
revision=4
_codename="Leia"
wrksrc="xbmc-${version}-${_codename}"
build_style=cmake
@ -51,6 +51,7 @@ configure_args="
-DENABLE_VDPAU=OFF
-DWITH_FFMPEG=/usr
-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/opt/vc
-DCMAKE_INSTALL_RPATH=/opt/vc/lib
"
case "$XBPS_TARGET_MACHINE" in
armv6*) configure_args+=" -DWITH_CPU=arm1176jzf-s -DCMAKE_EXE_LINKER_FLAGS=-latomic"