mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
alarm/kodi-rbp-git to 15.20150131-1
This commit is contained in:
parent
633dfd2c1e
commit
9cb55f6459
2 changed files with 14 additions and 9 deletions
|
@ -4,13 +4,17 @@
|
|||
buildarch=16
|
||||
|
||||
pkgname=kodi-rbp-git
|
||||
pkgver=14.20141211
|
||||
pkgver=15.20150131
|
||||
pkgrel=1
|
||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||
arch=('armv6h')
|
||||
url="http://kodi.tv"
|
||||
license=('GPL' 'custom')
|
||||
depends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libva' 'libpng' 'libcdio' 'yajl' 'libmariadbclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd' 'sdl_image' 'python2' 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'avahi' 'bluez-libs' 'tinyxml' 'raspberrypi-firmware' 'libcec' 'libplist' 'swig' 'taglib' 'libxslt' 'shairplay-git')
|
||||
depends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'giflib' 'libtiff' 'libva' 'libpng'
|
||||
'libcdio' 'yajl' 'libmariadbclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd'
|
||||
'sdl_image' 'python2' 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip'
|
||||
'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'avahi' 'bluez-libs' 'tinyxml'
|
||||
'raspberrypi-firmware' 'libcec' 'libplist' 'swig' 'taglib' 'libxslt' 'shairplay-git')
|
||||
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'zip' 'udisks' 'upower' 'git' 'autoconf' 'java-environment')
|
||||
optdepends=(
|
||||
'lirc: remote controller support'
|
||||
|
@ -18,15 +22,15 @@ optdepends=(
|
|||
'upower: used to trigger power management functionality'
|
||||
'unrar: access compressed files without unpacking them')
|
||||
|
||||
provides=('xbmc')
|
||||
conflicts=('xbmc')
|
||||
provides=('xbmc' 'kodi')
|
||||
conflicts=('xbmc' 'kodi')
|
||||
replaces=('xbmc-rbp-git')
|
||||
install="kodi.install"
|
||||
source=('kodi.service'
|
||||
'polkit.rules')
|
||||
|
||||
md5sums=('55e6d3aab86e810c49a7f550be5b7f69'
|
||||
'02f7951824ee13103344f36009c0ef2a')
|
||||
md5sums=('11cbf4307dd468dc9fa638bc8a13846b'
|
||||
'725bcdb8a5557374ea3522169a8a6423')
|
||||
|
||||
_gitname="xbmc"
|
||||
_gitroot="git://github.com/xbmc"
|
||||
|
@ -107,7 +111,8 @@ build() {
|
|||
--enable-rtmp \
|
||||
--disable-vaapi \
|
||||
--enable-optical-drive \
|
||||
--enable-player=omxplayer
|
||||
--enable-player=omxplayer \
|
||||
# --enable-texturepacker
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -124,7 +129,7 @@ package() {
|
|||
sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/kodi"
|
||||
|
||||
# Tools
|
||||
install -D -m 0755 "${srcdir}/${_gitname}/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/lib/kodi"
|
||||
#install -D -m 0755 "${srcdir}/${_gitname}/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/lib/kodi"
|
||||
|
||||
# Licenses
|
||||
install -dm755 "${pkgdir}${_prefix}/share/licenses/${pkgname}"
|
||||
|
|
|
@ -2,7 +2,7 @@ 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 passwd kodi > /dev/null || useradd -r -m -d /var/lib/kodi -g kodi 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 kodi
|
||||
mkdir -p var/lib/kodi
|
||||
chown -R kodi:kodi var/lib/kodi
|
||||
|
|
Loading…
Reference in a new issue