mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/kodi-rpi-git to 21.x.62392.eede5b81f1-1
This commit is contained in:
parent
c167409973
commit
0725727d91
1 changed files with 7 additions and 10 deletions
|
@ -13,8 +13,8 @@ pkgname=(
|
||||||
'kodi-rpi-git-eventclients' 'kodi-rpi-git-tools-texturepacker' 'kodi-rpi-git-dev'
|
'kodi-rpi-git-eventclients' 'kodi-rpi-git-tools-texturepacker' 'kodi-rpi-git-dev'
|
||||||
)
|
)
|
||||||
|
|
||||||
_commitnumber=62319
|
_commitnumber=62392
|
||||||
_commit=5d18c29e4e03a6dcf1ab4ffff553885bff13b648
|
_commit=eede5b81f1a7c2c6f6294a7fed83ed795a17602a
|
||||||
|
|
||||||
# set this to anything to build with clang
|
# set this to anything to build with clang
|
||||||
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
|
# recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build()
|
||||||
|
@ -60,7 +60,6 @@ source=(
|
||||||
"https://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_version.tar.gz"
|
"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"
|
"ArchARM-kodi-init-v$_init_version.tar.gz::https://github.com/graysky2/kodi-standalone-service/archive/v$_init_version.tar.gz"
|
||||||
kodi.config.txt
|
kodi.config.txt
|
||||||
"https://github.com/xbmc/xbmc/pull/22714.patch"
|
|
||||||
)
|
)
|
||||||
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
|
backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone)
|
||||||
noextract=(
|
noextract=(
|
||||||
|
@ -73,7 +72,7 @@ noextract=(
|
||||||
"flatbuffers-$_flatbuffers_version.tar.gz"
|
"flatbuffers-$_flatbuffers_version.tar.gz"
|
||||||
"libudfread-$_libudfread_version.tar.gz"
|
"libudfread-$_libudfread_version.tar.gz"
|
||||||
)
|
)
|
||||||
sha256sums=('20dd1f76e27103e7d7eaf5f63db5c027fb4be61e50f3f95108bace23c0e6e183'
|
sha256sums=('264dce8860c005f176c47968547805ce86300595043986e358b768980acfd6e8'
|
||||||
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
|
'f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e'
|
||||||
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
|
'584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc'
|
||||||
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'
|
'719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62'
|
||||||
|
@ -83,16 +82,12 @@ sha256sums=('20dd1f76e27103e7d7eaf5f63db5c027fb4be61e50f3f95108bace23c0e6e183'
|
||||||
'9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4'
|
'9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4'
|
||||||
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
|
'2bf16726ac98d093156195bb049a663e07d3323e079c26912546f4e05c77bac5'
|
||||||
'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067'
|
'b94c70baa45e30346224ceecfab031dd183e09303b1f97d6522f9941da9b0067'
|
||||||
'9ce6051a2157e6b677090f201d98870a33db6c90c91dc0d480a87fb7ab84e3e5'
|
'9ce6051a2157e6b677090f201d98870a33db6c90c91dc0d480a87fb7ab84e3e5')
|
||||||
'6ff6dec4e7fca2357602a9fad4ca46f5e96430ec6dde9e3938fcd9963d715b4e')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
[[ -d kodi-build ]] && rm -rf kodi-build
|
||||||
mkdir "$srcdir/kodi-build"
|
mkdir "$srcdir/kodi-build"
|
||||||
cd "xbmc-$_commit"
|
cd "xbmc-$_commit"
|
||||||
|
|
||||||
# fix nfsv4 lockout
|
|
||||||
patch -p1 -i ../22714.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -180,7 +175,7 @@ package_kodi-rpi-git() {
|
||||||
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt'
|
'bluez-libs' 'curl' 'dav1d' 'desktop-file-utils' 'hicolor-icon-theme' 'fmt'
|
||||||
'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libmicrohttpd' 'libnfs'
|
'lcms2' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libmicrohttpd' 'libnfs'
|
||||||
'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs'
|
'libplist' 'libpulse' 'libxslt' 'lirc' 'mariadb-libs'
|
||||||
'mesa' 'pipewire' 'python-pillow' 'python-pycryptodomex'
|
'mesa' 'libpipewire' 'python-pillow' 'python-pycryptodomex'
|
||||||
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'sqlite'
|
'python-simplejson' 'shairplay' 'smbclient' 'sndio' 'spdlog' 'sqlite'
|
||||||
'taglib' 'tinyxml' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo' 'libinput'
|
'taglib' 'tinyxml' 'libxkbcommon' 'polkit' 'linux>=5.4.35' 'lzo' 'libinput'
|
||||||
'pcre'
|
'pcre'
|
||||||
|
@ -193,6 +188,7 @@ package_kodi-rpi-git() {
|
||||||
'linux-rpi: HW accelerated decoding'
|
'linux-rpi: HW accelerated decoding'
|
||||||
'python-pybluez: Bluetooth support'
|
'python-pybluez: Bluetooth support'
|
||||||
'pulseaudio: PulseAudio support'
|
'pulseaudio: PulseAudio support'
|
||||||
|
'pipewire: PipeWire support'
|
||||||
)
|
)
|
||||||
install='kodi.install'
|
install='kodi.install'
|
||||||
provides=('xbmc' "kodi=${pkgver}" "kodi-common=${pkgver}")
|
provides=('xbmc' "kodi=${pkgver}" "kodi-common=${pkgver}")
|
||||||
|
@ -239,6 +235,7 @@ package_kodi-rpi-git() {
|
||||||
install -Dm0644 "$_initshit/doc/kodi.service.1" "$pkgdir/usr/share/man/man1/kodi.service.1"
|
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
|
# avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons
|
||||||
|
# https://bugs.archlinux.org/task/77366
|
||||||
mkdir -p "$pkgdir"/usr/lib/kodi/addons
|
mkdir -p "$pkgdir"/usr/lib/kodi/addons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue