mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/kodi-rpi-legacy to 19.1-7
This commit is contained in:
parent
9c09ac4b5b
commit
0d07616c35
1 changed files with 12 additions and 6 deletions
|
@ -15,7 +15,7 @@ pkgname=(
|
||||||
'kodi-rpi-legacy-eventclients' 'kodi-rpi-legacy-tools-texturepacker' 'kodi-rpi-legacy-dev'
|
'kodi-rpi-legacy-eventclients' 'kodi-rpi-legacy-tools-texturepacker' 'kodi-rpi-legacy-dev'
|
||||||
)
|
)
|
||||||
pkgver=19.1
|
pkgver=19.1
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
_commit=f955df92d4e5d2a290261c3d29e87059b1443db7
|
_commit=f955df92d4e5d2a290261c3d29e87059b1443db7
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="https://github.com/graysky2/xbmc/tree/gs-gbm_matrix"
|
url="https://github.com/graysky2/xbmc/tree/gs-gbm_matrix"
|
||||||
|
@ -59,6 +59,7 @@ source=(
|
||||||
kodi.config.txt
|
kodi.config.txt
|
||||||
use-mcpu-avoiding-march-and-mtune.patch
|
use-mcpu-avoiding-march-and-mtune.patch
|
||||||
0001-mcpu-cortex-application-to-ffmpeg.patch
|
0001-mcpu-cortex-application-to-ffmpeg.patch
|
||||||
|
0002-fix-illegal-access-warnings-error.patch::https://github.com/xbmc/xbmc/commit/bfb08a4a32e31349f7578efd2de78a8e394a2946.patch
|
||||||
)
|
)
|
||||||
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
|
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
|
||||||
noextract=(
|
noextract=(
|
||||||
|
@ -84,10 +85,11 @@ sha256sums=('6a6adf5bdb5af2dfc3e972d9d9de5d4b4eb5d21fba49eb57b65810dcfa3dea91'
|
||||||
'62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45'
|
'62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45'
|
||||||
'b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a'
|
'b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a'
|
||||||
'5ad9f95c53e8f29853c1fefa0a20a301be4045e2c7ae49d1164bc74d94155627'
|
'5ad9f95c53e8f29853c1fefa0a20a301be4045e2c7ae49d1164bc74d94155627'
|
||||||
'd3f1be7fed28a5efcb29a6fe8f09039c694dfcda3c055a22679c35d2c705d8c0'
|
'41bc9a846de2468a1cb90485b7d02dc7a761a65a2e82c36e64876812573fa64e'
|
||||||
'04cd3a4290ebd6584535cd107aaf9c2d0effa3e8713cf1d6abd6fe74fc142dad'
|
'ca91d35bf6d87ed6e43f366a87babf26eed9f186ca362edb59ae242fc62b3692'
|
||||||
'16d6c79ff3a3d3653f21d77a36326a0335c8cec49a9c06dbc2de0ed143e50a9f'
|
'16d6c79ff3a3d3653f21d77a36326a0335c8cec49a9c06dbc2de0ed143e50a9f'
|
||||||
'76eafede11af936bb554932b2be71ce91d4bf1c07107d847500ebbf3ff7d7245')
|
'76eafede11af936bb554932b2be71ce91d4bf1c07107d847500ebbf3ff7d7245'
|
||||||
|
'4f639508d1d9e7467aa37008ee2ceb71784b1dec4859bdb750a2066f5328cbde')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
[[ -d kodi-build ]] && rm -rf kodi-build
|
||||||
|
@ -102,6 +104,9 @@ prepare() {
|
||||||
|
|
||||||
# patch kodi build system to apply the patch we just copied over
|
# patch kodi build system to apply the patch we just copied over
|
||||||
patch -Np1 -i ../0001-mcpu-cortex-application-to-ffmpeg.patch
|
patch -Np1 -i ../0001-mcpu-cortex-application-to-ffmpeg.patch
|
||||||
|
|
||||||
|
# fix illegal access warnings/errors with Java >=9
|
||||||
|
patch -Np1 -i ../0002-fix-illegal-access-warnings-error.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -118,8 +123,7 @@ build() {
|
||||||
export CXXFLAGS="${CFLAGS}"
|
export CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
_args=(
|
_args=(
|
||||||
-DCORE_PLATFORM_NAME="x11 gbm"
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DAPP_RENDER_SYSTEM=gles
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib
|
||||||
-DUSE_LTO=OFF
|
-DUSE_LTO=OFF
|
||||||
|
@ -145,6 +149,8 @@ build() {
|
||||||
-DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz"
|
-DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz"
|
||||||
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
|
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
|
||||||
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
|
-DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
|
||||||
|
-DAPP_RENDER_SYSTEM=gles
|
||||||
|
-DCORE_PLATFORM_NAME="x11 gbm"
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake "${_args[@]}" ../"xbmc-$_commit"
|
cmake "${_args[@]}" ../"xbmc-$_commit"
|
||||||
|
|
Loading…
Reference in a new issue