alarm/kodi-rbp to 18.7.1-2

This commit is contained in:
graysky 2020-07-10 19:50:58 -04:00
parent 51ab48908a
commit a0e5d59aac
3 changed files with 1269 additions and 5 deletions

1256
alarm/kodi-rbp/18131.patch Normal file

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@ _prefix=/usr
pkgbase=kodi-rbp
pkgname=('kodi-rbp' 'kodi-rbp-eventclients' 'kodi-rbp-tools-texturepacker' 'kodi-rbp-dev')
pkgver=18.7.1
pkgrel=1
pkgrel=2
_codename=Leia
_tag="$pkgver-$_codename"
_ffmpeg_version="4.0.4-$_codename-18.4"
@ -31,7 +31,7 @@ makedepends=(
'gperf' 'hicolor-icon-theme' 'jasper' 'java-environment' 'libaacs' 'libass'
'libbluray-kodi-rbp' 'libcdio' 'mariadb-libs' 'libmicrohttpd' 'groff'
'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse' 'libssh' 'libcec-rpi'
'libxrandr' 'libxslt' 'lirc' 'lzo' 'nasm' 'nss-mdns' 'python2-pillow'
'libxrandr' 'libxslt' 'lirc' 'lzo' 'nasm' 'nss-mdns' 'python2-pillow6'
'python2-pybluez' 'python2-pycryptodomex' 'python2-simplejson' 'raspberrypi-firmware'
'rtmpdump' 'shairplay' 'smbclient' 'speex' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower'
'yajl' 'zip' 'giflib' 'rapidjson' 'polkit' 'libinput' 'libxkbcommon' 'ghostscript'
@ -51,6 +51,7 @@ source=("https://github.com/popcornmix/xbmc/archive/newclock5_$_tag.tar.gz"
"http://mirrors.kodi.tv/build-deps/sources/flatbuffers-$_flatbuffers_version.tar.gz"
sysusers.conf
tmpfiles.conf
18131.patch
)
noextract=(
"libdvdcss-$_libdvdcss_version.tar.gz"
@ -66,7 +67,7 @@ sha256sums=('2556a23548b1ec207f413ab3d5602562a354b426445feabc1afee25797562e42'
'6eded8b5f52808d5ffa77de546fbf799a255dde2473540e8a8bd46daa6f753d9'
'fe7a1ab2a6e2bf00f756c76545a338d2763003052764d722d492b06b1bc05f5e'
'b31570f95654434b01fd8531612fbb6be77cbc1c519dd60f92feae26eb160f3d'
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
'5d38a895ee7b93689fab79124a3aad23a5e3e643abd08878d778d04066c8d26f'
'e11e7594af35f36ab2711252c3d6bb106908f26605498aef4a9be2d7bc001db2'
'38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d'
'071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a'
@ -76,7 +77,8 @@ sha256sums=('2556a23548b1ec207f413ab3d5602562a354b426445feabc1afee25797562e42'
'e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476'
'5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3'
'f521b98232e5035b7cada46cf03975b8d753e93d0802bf22913fceed769f9d96'
'9c5e79ed8719cd032a3b17dac585aeff28a198e37af1da9af68ef1b86bab4d18')
'9c5e79ed8719cd032a3b17dac585aeff28a198e37af1da9af68ef1b86bab4d18'
'1bfa84c0ae99a4ed731261cb39cb347c2809ca63d0d318393bdbbee900bbf8bc')
prepare() {
# force python 'binary' as python2
[[ -d "$srcdir/path" ]] && rm -rf "$srcdir/path"
@ -87,6 +89,9 @@ prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build
mkdir $srcdir/kodi-build
# fix for libmicrohttpd 0.9.71
patch -Np1 -i ../18131.patch
}
build() {
@ -141,7 +146,7 @@ package_kodi-rbp() {
'bluez-libs' 'desktop-file-utils' 'freetype2' 'fribidi' 'libcec-rpi'
'hicolor-icon-theme' 'libass' 'libcdio' 'libjpeg-turbo' 'mariadb-libs'
'libmicrohttpd' 'libpulse' 'libssh' 'libxrandr' 'lirc' 'raspberrypi-firmware'
'libxslt' 'lzo' 'python2-pillow' 'python2-simplejson' 'smbclient'
'libxslt' 'lzo' 'python2-pillow6' 'python2-simplejson' 'smbclient'
'speex' 'taglib' 'tinyxml' 'xorg-xdpyinfo' 'yajl' 'libinput' 'libxkbcommon' 'libbluray-kodi-rbp'
'fbset' 'libnfs' 'curl'
)

View file

@ -8,5 +8,8 @@ polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks.") == 0) {
return polkit.Result.YES;
}
if (action.id.indexOf("org.freedesktop.udisks2.") == 0) {
return polkit.Result.YES;
}
}
});