mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/kodi-rpi: minor tweaks to PKGBUILD
This commit is contained in:
parent
0532be1ef6
commit
fd6f554f73
1 changed files with 6 additions and 4 deletions
|
@ -92,7 +92,6 @@ sha256sums=('53f77b7cf22e15705034c83d2d25aa1ae4584e30f466031980d09af5be302178'
|
|||
prepare() {
|
||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
||||
mkdir "$srcdir/kodi-build"
|
||||
|
||||
cd "xbmc-$_commit"
|
||||
|
||||
patch -p1 -i ../0001-upstream-build-fixes-from-debian.patch
|
||||
|
@ -116,8 +115,8 @@ build() {
|
|||
CFLAGS="-mcpu=cortex-a53"
|
||||
fi
|
||||
|
||||
export CFLAGS+=" -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection"
|
||||
export CXXFLAGS+="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"
|
||||
CFLAGS+=" -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection"
|
||||
CXXFLAGS+="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"
|
||||
|
||||
_args=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
|
@ -147,7 +146,7 @@ build() {
|
|||
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
|
||||
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
|
||||
-DAPP_RENDER_SYSTEM=gles
|
||||
-DCORE_PLATFORM_NAME="gbm x11"
|
||||
-DCORE_PLATFORM_NAME="x11 gbm"
|
||||
)
|
||||
|
||||
# https://github.com/google/flatbuffers/issues/7404
|
||||
|
@ -217,6 +216,9 @@ package_kodi-rpi() {
|
|||
|
||||
# man page
|
||||
install -Dm0644 "$_initshit/doc/kodi.service.1" "$pkgdir/usr/share/man/man1/kodi.service.1"
|
||||
|
||||
# avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons
|
||||
mkdir -p "$pkgdir"/usr/lib/kodi/addons
|
||||
}
|
||||
|
||||
package_kodi-rpi-eventclients() {
|
||||
|
|
Loading…
Reference in a new issue