alarm/kodi-rpi-git to 21.x.65505.2f7151bc7c-1

This commit is contained in:
graysky 2024-03-05 15:07:12 -05:00
parent 1169bad122
commit b4841f9f6b

View file

@ -19,7 +19,7 @@ pkgname=(
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
_clangbuild=
pkgver=21.x.65499.720bf1673e
pkgver=21.x.65505.2f7151bc7c
pkgrel=1
arch=('aarch64' 'armv7h')
url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega"
@ -127,10 +127,12 @@ build() {
# in a single package which is consistent with how LibreELEC is currently built, see:
# https://github.com/LibreELEC/LibreELEC.tv/commit/8e6605f6da56f25a00272b1cbacb93d40200153f#commitcomment-46341034
CFLAGS="-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard"
_args=(-DUSE_LTO=OFF)
elif [[ $CARCH = "aarch64" ]]; then
# note that we use a value of cortex-a53 here to allow RPi3 and RPi4 to use the same package
# consistent with rationale of previous comment
CFLAGS="-mcpu=cortex-a53"
_args=(-DUSE_LTO=ON)
fi
CFLAGS+=" -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection"
@ -144,11 +146,10 @@ build() {
#export DISTCC_HOSTS="localhost/5 10.0.1.103/5:3636"
fi
_args=(
_args+=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=/usr/lib
-DUSE_LTO=ON
-DVERBOSE=ON
-DENABLE_LDGOLD=OFF
-DENABLE_AIRTUNES=ON