kodi-rpi: unify rpi build options, fix linker paths
This commit is contained in:
parent
efb9151ef1
commit
7d77b71993
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kodi-rpi'
|
# Template file for 'kodi-rpi'
|
||||||
pkgname=kodi-rpi
|
pkgname=kodi-rpi
|
||||||
version=18.8
|
version=18.8
|
||||||
revision=3
|
revision=4
|
||||||
_codename="Leia"
|
_codename="Leia"
|
||||||
wrksrc="xbmc-${version}-${_codename}"
|
wrksrc="xbmc-${version}-${_codename}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -51,6 +51,7 @@ configure_args="
|
||||||
-DENABLE_VDPAU=OFF
|
-DENABLE_VDPAU=OFF
|
||||||
-DWITH_FFMPEG=/usr
|
-DWITH_FFMPEG=/usr
|
||||||
-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/opt/vc
|
-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/opt/vc
|
||||||
|
-DCMAKE_INSTALL_RPATH=/opt/vc/lib
|
||||||
"
|
"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv6*) configure_args+=" -DWITH_CPU=arm1176jzf-s -DCMAKE_EXE_LINKER_FLAGS=-latomic"
|
armv6*) configure_args+=" -DWITH_CPU=arm1176jzf-s -DCMAKE_EXE_LINKER_FLAGS=-latomic"
|
||||||
|
|
Loading…
Reference in New Issue