alarm/kodi-rbp4-git to 19.0a2.56452.446bbf36f9-2

This commit is contained in:
graysky 2020-10-30 18:20:26 -04:00
parent c0923bbbf5
commit 24fc3ce95d
2 changed files with 24 additions and 8 deletions

View file

@ -29,7 +29,7 @@ _commitnumber=56452
_commit=446bbf36f9cc5bf1fdb64d8413553d63f2808327
pkgver="19.0a2.$_commitnumber.${_commit:0:10}"
pkgrel=1
pkgrel=2
arch=('armv7h')
url="http://kodi.tv"
license=('GPL2')
@ -71,6 +71,7 @@ source=(
99-kodi.rules
polkit.rules
kodi-gbm.config.txt
appliance.xml
"libdvdcss-$_libdvdcss_version.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_version.tar.gz"
"libdvdnav-$_libdvdnav_version.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_version.tar.gz"
"libdvdread-$_libdvdread_version.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_version.tar.gz"
@ -100,6 +101,7 @@ sha256sums=('16d4047e1cb9ef2a103350f3637e1ed68a09e326b247dd6028201f3b5199899f'
'61a0648d4a5086f560ceb4e020f82472d00b99398f2cacba94fad3e96c4c362a'
'5d38a895ee7b93689fab79124a3aad23a5e3e643abd08878d778d04066c8d26f'
'af8bba64ea919e5bc0b0258bac54c99235b5942e3a36385213090d245541b4a7'
'a3850eae8d0c229d49efb58d2b60e4e353b771287f7e1f7254029a9c01abe6f8'
'38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d'
'071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a'
'a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf'
@ -147,11 +149,8 @@ build() {
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_INTERNAL_SPDLOG=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_OPENGL=OFF \
-DENABLE_MYSQLCLIENT=ON \
-DCORE_PLATFORM_NAME=gbm \
-DAPP_RENDER_SYSTEM=gles \
-Dlibdvdcss_URL="$srcdir/libdvdcss-$_libdvdcss_version.tar.gz" \
-Dlibdvdnav_URL="$srcdir/libdvdnav-$_libdvdnav_version.tar.gz" \
-Dlibdvdread_URL="$srcdir/libdvdread-$_libdvdread_version.tar.gz" \
@ -161,8 +160,6 @@ build() {
-DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz" \
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz" \
-DSPDLOG_URL="$srcdir/spdlog-$_spdlog_version.tar.gz" \
-DCORE_PLATFORM_NAME=gbm \
-DAPP_RENDER_SYSTEM=gles \
../"xbmc-$_commit"
make
make preinstall
@ -216,6 +213,10 @@ package_kodi-rbp4-git() {
# setup video drivers for kodi-gbm on RPi4
install -Dm0644 "$srcdir/kodi-gbm.config.txt" "$pkgdir/boot/kodi-gbm.config.txt"
# enable hw accel decoding by default
# https://github.com/xbmc/xbmc/pull/18534
install -Dm0644 "$srcdir"/appliance.xml "$pkgdir/usr/share/kodi/system/settings/appliance.xml"
}
package_kodi-eventclients-rbp4-git() {

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<settings version="1">
<section id="player">
<category id="videoplayer">
<group id="3">
<setting id="videoplayer.useprimedecoder" type="boolean" label="13430" help="36172">
<default>true</default>
</setting>
<setting id="videoplayer.useprimerenderer" type="integer" label="13462" help="13463">
<default>0</default> <!-- 0 is direct-to-plane and 1 is EGL -->
</setting>
</group>
</category>
</section>
</settings>