mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/kodi-rpi to 21.0-2
Apply LTO when building ffmpeg
This commit is contained in:
parent
f70accebf1
commit
ed990329e7
2 changed files with 9 additions and 4 deletions
|
@ -23,7 +23,7 @@ _commit=7ead006b14bf638bb1928e389b5552ec32288222
|
|||
_clangbuild=
|
||||
|
||||
pkgver=21.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('aarch64' 'armv7h')
|
||||
url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega"
|
||||
license=('GPL2')
|
||||
|
@ -69,7 +69,8 @@ source=(
|
|||
"https://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_version.tar.gz"
|
||||
"ArchARM-kodi-init-v$_init_version.tar.gz::https://github.com/graysky2/kodi-standalone-service/archive/v$_init_version.tar.gz"
|
||||
kodi.config.txt
|
||||
000-temp-revert-fences.patch
|
||||
0001-temp-revert-fences.patch
|
||||
0002-ffmpeg-build-with-lto-when-duse-lto.patch::https://github.com/xbmc/xbmc/commit/2cc6f1728ccb67ef575fe57680dd42836e3d6a1f.patch
|
||||
)
|
||||
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
|
||||
noextract=(
|
||||
|
@ -93,7 +94,8 @@ sha256sums=('9917487bc8dfef0c12d7c59c736c09072284df3c7befbc8ac418488e5116add8'
|
|||
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
|
||||
'8f8ab84a0cf3bd382edb118e475b336ca2fe1e1d4da3ad8e4637f8278ed9179c'
|
||||
'5ac76e6ff16d8f0f60a414647bddb13b46402563dd02d69a05e90c0ddbb085f0'
|
||||
'e812fc2f74d71915c3179785a8f99647612bd21ce96f866769ee1bc58682ee3b')
|
||||
'e812fc2f74d71915c3179785a8f99647612bd21ce96f866769ee1bc58682ee3b'
|
||||
'5a2f1c5fa9189d56eaf7e05024071c57e11f92b4eeb68b4bb0555c1fdd66c890')
|
||||
|
||||
prepare() {
|
||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
||||
|
@ -103,7 +105,10 @@ prepare() {
|
|||
rm -rf system/certs # remove not needed cacert
|
||||
|
||||
# fix https://forum.kodi.tv/showthread.php?tid=376430
|
||||
patch -p1 -i ../000-temp-revert-fences.patch
|
||||
patch -p1 -i ../0001-temp-revert-fences.patch
|
||||
|
||||
# honor LTO settings when building ffmpeg
|
||||
patch -p1 -i ../0002-ffmpeg-build-with-lto-when-duse-lto.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue