mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/kodi-rbp4 to 18.5-1
This commit is contained in:
parent
73d3c64a81
commit
2823da40ac
2 changed files with 8 additions and 9 deletions
|
@ -25,10 +25,10 @@ _prefix=/usr
|
||||||
|
|
||||||
pkgbase=kodi-rbp4
|
pkgbase=kodi-rbp4
|
||||||
pkgname=('kodi-rbp4' 'kodi-rbp4-eventclients' 'kodi-rbp4-tools-texturepacker' 'kodi-rbp4-dev')
|
pkgname=('kodi-rbp4' 'kodi-rbp4-eventclients' 'kodi-rbp4-tools-texturepacker' 'kodi-rbp4-dev')
|
||||||
pkgver=18.4
|
pkgver=18.5
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
_codename=Leia
|
_codename=Leia
|
||||||
_tag="18.4-$_codename"
|
_tag="$_pkgver-$_codename"
|
||||||
_ffmpeg_version="4.0.4-$_codename-18.4"
|
_ffmpeg_version="4.0.4-$_codename-18.4"
|
||||||
_libdvdcss_version="1.4.2-$_codename-Beta-5"
|
_libdvdcss_version="1.4.2-$_codename-Beta-5"
|
||||||
_libdvdnav_version="6.0.0-$_codename-Alpha-3"
|
_libdvdnav_version="6.0.0-$_codename-Alpha-3"
|
||||||
|
@ -55,10 +55,9 @@ makedepends=(
|
||||||
# leia_rpi4 branch contains patches to enable hardware decoding on rpi4
|
# leia_rpi4 branch contains patches to enable hardware decoding on rpi4
|
||||||
# expect kodi v19 to not to use MMAL but to use ffmpeg+v4l2
|
# expect kodi v19 to not to use MMAL but to use ffmpeg+v4l2
|
||||||
# https://github.com/popcornmix/xbmc/commits/leia_pi4
|
# https://github.com/popcornmix/xbmc/commits/leia_pi4
|
||||||
_commit=3f645c6e3adf49c9e0bef6bc5add26dea9e088fb
|
|
||||||
|
|
||||||
source=(
|
source=(
|
||||||
"xbmc-$pkgver-$_codename.zip::https://github.com/popcornmix/xbmc/archive/$_commit.zip"
|
"xbmc-$pkgver-$_codename.tar.gz::https://github.com/popcornmix/xbmc/archive/leia_pi4_$pkgver-Leia.tar.gz"
|
||||||
'kodi.service'
|
'kodi.service'
|
||||||
'99-kodi.rules'
|
'99-kodi.rules'
|
||||||
'polkit.rules'
|
'polkit.rules'
|
||||||
|
@ -83,7 +82,7 @@ noextract=(
|
||||||
"fstrcmp-$_fstrcmp_version.tar.gz"
|
"fstrcmp-$_fstrcmp_version.tar.gz"
|
||||||
"flatbuffers-$_flatbuffers_version.tar.gz"
|
"flatbuffers-$_flatbuffers_version.tar.gz"
|
||||||
)
|
)
|
||||||
sha256sums=('69ca1e11d4219df51001022b2dd1299aef85568e61e6116e32b6506b5f754d4e'
|
sha256sums=('f5d48be9882af93ec3bfe94dbbddfd0224076077aff31dddb5e00245f4353b42'
|
||||||
'585796d8a7f1ece32c24ff67b38885f0e3397372a4b9879eee3160a59391e333'
|
'585796d8a7f1ece32c24ff67b38885f0e3397372a4b9879eee3160a59391e333'
|
||||||
'8e14cf455898246d11edd4ff7f4ed11a44c729fb40c34455a5b336a90ccc1f7b'
|
'8e14cf455898246d11edd4ff7f4ed11a44c729fb40c34455a5b336a90ccc1f7b'
|
||||||
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
|
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
|
||||||
|
@ -120,7 +119,7 @@ prepare() {
|
||||||
mkdir "$srcdir/path"
|
mkdir "$srcdir/path"
|
||||||
ln -s /usr/bin/python2 "$srcdir/path/python"
|
ln -s /usr/bin/python2 "$srcdir/path/python"
|
||||||
|
|
||||||
cd "xbmc-$_commit"
|
cd "xbmc-leia_pi4_$pkgver-$_codename"
|
||||||
|
|
||||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
[[ -d kodi-build ]] && rm -rf kodi-build
|
||||||
mkdir "$srcdir/kodi-build"
|
mkdir "$srcdir/kodi-build"
|
||||||
|
@ -185,7 +184,7 @@ build() {
|
||||||
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz" \
|
-DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz" \
|
||||||
-DCORE_PLATFORM_NAME=gbm \
|
-DCORE_PLATFORM_NAME=gbm \
|
||||||
-DGBM_RENDER_SYSTEM=gles \
|
-DGBM_RENDER_SYSTEM=gles \
|
||||||
../xbmc-"$_commit"
|
../"xbmc-leia_pi4_$pkgver-$_codename"
|
||||||
make
|
make
|
||||||
make preinstall
|
make preinstall
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ post_install() {
|
||||||
echo " gpu_mem=320"
|
echo " gpu_mem=320"
|
||||||
echo " dtoverlay=vc4-fkms-v3d"
|
echo " dtoverlay=vc4-fkms-v3d"
|
||||||
echo " dtparam=audio=on"
|
echo " dtparam=audio=on"
|
||||||
echo .
|
echo
|
||||||
echo "To optionally enable 4K playback add: hdmi_enable_4kp60=1"
|
echo "To optionally enable 4K playback add: hdmi_enable_4kp60=1"
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue