mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/kodi-rbp to 17.4-3 (#1523)
This commit is contained in:
parent
2f1a0b9b13
commit
8d46e4510b
2 changed files with 20 additions and 35 deletions
|
@ -13,27 +13,26 @@ pkgbase=kodi-rbp
|
||||||
pkgname=('kodi-rbp' 'kodi-rbp-eventclients' 'kodi-rbp-tools-texturepacker' 'kodi-rbp-dev')
|
pkgname=('kodi-rbp' 'kodi-rbp-eventclients' 'kodi-rbp-tools-texturepacker' 'kodi-rbp-dev')
|
||||||
_codename=Krypton
|
_codename=Krypton
|
||||||
pkgver=17.4
|
pkgver=17.4
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
arch=('armv6h' 'armv7h')
|
arch=('armv6h' 'armv7h')
|
||||||
url="http://kodi.tv"
|
url="http://kodi.tv"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('hicolor-icon-theme' 'fribidi' 'lzo' 'smbclient' 'libtiff' 'libva' 'libpng' 'libcdio'
|
makedepends=('afpfs-ng' 'autoconf' 'avahi' 'bluez-libs' 'boost' 'cmake' 'cwiid' 'dcadec'
|
||||||
'yajl' 'libmariadbclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd'
|
'doxygen' 'ffmpeg' 'fribidi' 'glew' 'gperf' 'hicolor-icon-theme' 'jasper' 'java-environment'
|
||||||
'sdl_image' 'python2' 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'libass'
|
'libaacs' 'libass' 'libbluray' 'libcdio' 'libcec-rpi' 'libjpeg-turbo' 'libmad'
|
||||||
'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'xorg-xdpyinfo' 'libbluray'
|
'libmariadbclient' 'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpng'
|
||||||
'libnfs' 'afpfs-ng' 'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libcec-rpi'
|
'libpulse' 'libsamplerate' 'libssh' 'libtiff' 'libva' 'libxslt' 'lzo' 'nasm' 'python2'
|
||||||
'libplist' 'swig' 'taglib' 'libxslt' 'shairplay' 'boost' 'cmake' 'gperf' 'nasm' 'zip'
|
'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'raspberrypi-firmware' 'rtmpdump'
|
||||||
'upower' 'autoconf' 'java-environment' 'dcadec' 'libpulse' 'cwiid'
|
'sdl_image' 'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower' 'xorg-xdpyinfo'
|
||||||
'doxygen' 'ffmpeg' 'glew' 'libaacs')
|
'yajl' 'zip')
|
||||||
source=("https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
|
source=("https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
|
||||||
'kodi.service'
|
'kodi.service'
|
||||||
'99-kodi.rules'
|
'99-kodi.rules'
|
||||||
'https://github.com/popcornmix/xbmc/commit/0c320b6cdd4fb409be45008e6b9042463d54b742.patch'
|
'https://github.com/popcornmix/xbmc/commit/0c320b6cdd4fb409be45008e6b9042463d54b742.patch'
|
||||||
'https://github.com/popcornmix/xbmc/commit/4d983105d7fd65b1d92f2ae2602e6e1cdcaddbe0.patch'
|
'https://github.com/popcornmix/xbmc/commit/4d983105d7fd65b1d92f2ae2602e6e1cdcaddbe0.patch'
|
||||||
'polkit.rules'
|
'polkit.rules'
|
||||||
'hifiberry_digi.patch'
|
'hifiberry_digi.patch'
|
||||||
'fix-python-lib-path.patch')
|
'fix-python-lib-path.patch')
|
||||||
|
|
||||||
sha256sums=('6b0886e7449fc201e0ec0584b37f9f654c429797a41e6d0b6a4b5a7fd5ec34dc'
|
sha256sums=('6b0886e7449fc201e0ec0584b37f9f654c429797a41e6d0b6a4b5a7fd5ec34dc'
|
||||||
'5235068d5800d69f0287087815990e7fe8d6572733d60c8800546d35f608e87f'
|
'5235068d5800d69f0287087815990e7fe8d6572733d60c8800546d35f608e87f'
|
||||||
'b31570f95654434b01fd8531612fbb6be77cbc1c519dd60f92feae26eb160f3d'
|
'b31570f95654434b01fd8531612fbb6be77cbc1c519dd60f92feae26eb160f3d'
|
||||||
|
@ -42,6 +41,7 @@ sha256sums=('6b0886e7449fc201e0ec0584b37f9f654c429797a41e6d0b6a4b5a7fd5ec34dc'
|
||||||
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
|
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
|
||||||
'0b9d951911a8576c26dec8a31f394282677e48afff49b9579448121d27b8509e'
|
'0b9d951911a8576c26dec8a31f394282677e48afff49b9579448121d27b8509e'
|
||||||
'1c07c9fdd8e2958262cf917e4266c4933fcd06529c111e3cb0cbaaa05c934033')
|
'1c07c9fdd8e2958262cf917e4266c4933fcd06529c111e3cb0cbaaa05c934033')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/xbmc-$pkgver-$_codename"
|
cd "$srcdir/xbmc-$pkgver-$_codename"
|
||||||
# python2 path fix
|
# python2 path fix
|
||||||
|
@ -68,10 +68,6 @@ build() {
|
||||||
[[ $CARCH == "armv6h" ]] && _CPU=arm1176jzf-s && LDFLAGS+=" -latomic"
|
[[ $CARCH == "armv6h" ]] && _CPU=arm1176jzf-s && LDFLAGS+=" -latomic"
|
||||||
[[ $CARCH == "armv7h" ]] && _CPU=cortex-a7
|
[[ $CARCH == "armv7h" ]] && _CPU=cortex-a7
|
||||||
|
|
||||||
# needed to avoid bad value on build/lib/libcrossguid.a
|
|
||||||
CFLAGS+=" -fPIC"
|
|
||||||
CXXFLAGS+=" -fPIC"
|
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||||
-DCMAKE_PREFIX_PATH=/opt/vc \
|
-DCMAKE_PREFIX_PATH=/opt/vc \
|
||||||
|
@ -94,12 +90,9 @@ build() {
|
||||||
|
|
||||||
package_kodi-rbp() {
|
package_kodi-rbp() {
|
||||||
pkgdesc="A software media player and entertainment hub for digital media (Raspberry Pi)"
|
pkgdesc="A software media player and entertainment hub for digital media (Raspberry Pi)"
|
||||||
depends=('hicolor-icon-theme' 'fribidi' 'lzo' 'smbclient' 'libtiff' 'libva' 'libpng' 'libcdio'
|
depends=('ffmpeg' 'glew' 'jasper' 'libbluray' 'libcdio' 'libmad' 'libmariadbclient' 'libmicrohttpd'
|
||||||
'yajl' 'libmariadbclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd'
|
'libmpeg2' 'libplist' 'libxslt' 'python2-pillow' 'python2-pybluez' 'python2-simplejson'
|
||||||
'sdl_image' 'python2' 'python2-pillow' 'python2-pybluez' 'python2-simplejson' 'libass'
|
'raspberrypi-firmware' 'rtmpdump' 'sdl_image' 'smbclient' 'swig' 'taglib' 'tinyxml' 'xorg-xdpyinfo' 'yajl')
|
||||||
'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'xorg-xdpyinfo' 'libbluray'
|
|
||||||
'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libpulse'
|
|
||||||
'libplist' 'swig' 'taglib' 'libxslt' 'ffmpeg' 'glew')
|
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'afpfs-ng: Apple airplay and AFP share support'
|
'afpfs-ng: Apple airplay and AFP share support'
|
||||||
'libcec-rpi: Pulse-Eight USB-CEC adapter support'
|
'libcec-rpi: Pulse-Eight USB-CEC adapter support'
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
[[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
|
|
||||||
[[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
|
|
||||||
getent group kodi > /dev/null || groupadd -r kodi
|
getent group kodi > /dev/null || groupadd -r kodi
|
||||||
getent passwd kodi > /dev/null || useradd -r -m -d /var/lib/kodi -g kodi -s /usr/bin/nologin kodi
|
getent passwd kodi > /dev/null || useradd -r -m -d /var/lib/kodi -g kodi -s /usr/bin/nologin kodi
|
||||||
usermod -a -G kodi,audio,video,power,network,optical,storage,disk,tty,input kodi
|
usermod -a -G kodi,audio,video,power,network,optical,storage,disk,tty,input kodi
|
||||||
|
@ -11,9 +9,3 @@ post_install() {
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
post_install $1
|
post_install $1
|
||||||
}
|
}
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
[[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
|
|
||||||
[[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
|
|
||||||
getent passwd kodi > /dev/null && userdel kodi
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue