mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
alarm/kodi-rbp to 17.0-2 (#1449)
This commit is contained in:
parent
8c804afdf6
commit
ad4ca67cb5
1 changed files with 51 additions and 17 deletions
|
@ -10,11 +10,10 @@ buildarch=20
|
|||
_prefix=/usr
|
||||
|
||||
pkgbase=kodi-rbp
|
||||
pkgname=('kodi-rbp' 'kodi-rbp-eventclients')
|
||||
pkgver=17.0
|
||||
pkgname=('kodi-rbp' 'kodi-rbp-eventclients' 'kodi-rbp-tools-texturepacker' 'kodi-rbp-dev')
|
||||
_codename=Krypton
|
||||
pkgrel=1
|
||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||
pkgver=17.0
|
||||
pkgrel=2
|
||||
arch=('armv6h' 'armv7h')
|
||||
url="http://kodi.tv"
|
||||
license=('GPL2')
|
||||
|
@ -79,14 +78,12 @@ build() {
|
|||
|
||||
package_kodi-rbp() {
|
||||
pkgdesc="A software media player and entertainment hub for digital media (Raspberry Pi)"
|
||||
|
||||
depends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libva' 'libpng' 'libcdio'
|
||||
'yajl' 'libmariadbclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd'
|
||||
'sdl_image' 'python2' 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'libass'
|
||||
'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'xorg-xdpyinfo' 'libbluray'
|
||||
'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libpulse'
|
||||
'libplist' 'swig' 'taglib' 'libxslt' 'libcrossguid-git')
|
||||
|
||||
optdepends=(
|
||||
'afpfs-ng: Apple airplay and AFP share support'
|
||||
'libcec-rpi: Pulse-Eight USB-CEC adapter support'
|
||||
|
@ -98,12 +95,10 @@ package_kodi-rbp() {
|
|||
'unrar: access compressed files without unpacking them'
|
||||
'unzip: access compressed files without unpacking them'
|
||||
'upower: used to trigger power management functionality')
|
||||
|
||||
install='kodi.install'
|
||||
provides=('xbmc' 'kodi')
|
||||
conflicts=('xbmc' 'kodi' 'arm-mem-git' 'shairplay-git')
|
||||
replaces=('xbmc-rbp-git')
|
||||
|
||||
_components=('kodi' 'kodi-bin')
|
||||
|
||||
cd kodi-build
|
||||
|
@ -115,10 +110,10 @@ package_kodi-rbp() {
|
|||
done
|
||||
|
||||
# Licenses
|
||||
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
|
||||
for licensef in LICENSE.GPL copying.txt; do
|
||||
mv ${pkgdir}/usr/share/doc/kodi/${licensef} \
|
||||
${pkgdir}/usr/share/licenses/${pkgname}
|
||||
mv "$pkgdir/usr/share/doc/kodi/$licensef" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname"
|
||||
done
|
||||
|
||||
# python2 is being used
|
||||
|
@ -134,17 +129,56 @@ package_kodi-rbp() {
|
|||
}
|
||||
|
||||
package_kodi-rbp-eventclients() {
|
||||
pkgdesc="Kodi Event Clients (Raspberry Pi)"
|
||||
pkgdesc="Kodi event clients (Raspberry Pi)"
|
||||
provides=('kodi-eventclients')
|
||||
conflicts=('kodi-eventclients')
|
||||
depends=('cwiid')
|
||||
|
||||
_components=(
|
||||
'kodi-eventclients-common'
|
||||
_components=('kodi-eventclients-common'
|
||||
'kodi-eventclients-ps3'
|
||||
'kodi-eventclients-wiiremote'
|
||||
'kodi-eventclients-xbmc-send'
|
||||
)
|
||||
'kodi-eventclients-xbmc-send')
|
||||
|
||||
cd kodi-build
|
||||
# install eventclients
|
||||
for _cmp in ${_components[@]}; do
|
||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
||||
-P cmake_install.cmake
|
||||
done
|
||||
|
||||
# python2 is being used
|
||||
cd "$pkgdir"
|
||||
grep -lR '#!.*python' * | while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
|
||||
}
|
||||
|
||||
package_kodi-rbp-tools-texturepacker() {
|
||||
pkgdesc="Kodi texturepacker tool (Raspberry Pi)"
|
||||
depends=('libpng' 'giflib' 'libjpeg-turbo' 'lzo')
|
||||
|
||||
_components=('kodi-tools-texturepacker')
|
||||
|
||||
cd kodi-build
|
||||
# install eventclients
|
||||
for _cmp in ${_components[@]}; do
|
||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
||||
-P cmake_install.cmake
|
||||
done
|
||||
}
|
||||
|
||||
package_kodi-rbp-dev() {
|
||||
pkgdesc="Kodi dev files (Raspberry Pi)"
|
||||
depends=('kodi')
|
||||
|
||||
_components=('kodi-addon-dev'
|
||||
'kodi-audio-dev'
|
||||
'kodi-eventclients-dev'
|
||||
'kodi-game-dev'
|
||||
'kodi-inputstream-dev'
|
||||
'kodi-peripheral-dev'
|
||||
'kodi-pvr-dev'
|
||||
'kodi-screensaver-dev'
|
||||
'kodi-visualization-dev')
|
||||
|
||||
cd kodi-build
|
||||
# install eventclients
|
||||
|
|
Loading…
Reference in a new issue