diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-03-18 21:19:07 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-03-18 21:19:07 (GMT) |
commit | acca99b0f5c89cc3d5d9dc8df9df3d46282a338d (patch) | |
tree | 9ae33c5f54e0e9df09619ad195998401d30297d3 /abs/extra/xbmc/PKGBUILD | |
parent | 600fc5bf5b9fefec496a9750c873c3e064730a0a (diff) | |
download | linhes_pkgbuild-acca99b0f5c89cc3d5d9dc8df9df3d46282a338d.zip linhes_pkgbuild-acca99b0f5c89cc3d5d9dc8df9df3d46282a338d.tar.gz linhes_pkgbuild-acca99b0f5c89cc3d5d9dc8df9df3d46282a338d.tar.bz2 |
xbmc: update to 12.3. refs #962
Diffstat (limited to 'abs/extra/xbmc/PKGBUILD')
-rw-r--r-- | abs/extra/xbmc/PKGBUILD | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD index 6134074..6b626c6 100644 --- a/abs/extra/xbmc/PKGBUILD +++ b/abs/extra/xbmc/PKGBUILD @@ -8,8 +8,9 @@ _prefix=/usr pkgname=xbmc -pkgver=12.2 -pkgrel=7 +pkgver=12.3 +_codename=Frodo +pkgrel=12 pkgdesc="A software media player and entertainment hub for digital media" arch=('i686' 'x86_64') url="http://xbmc.org" @@ -25,19 +26,27 @@ makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'libvdpau' 'libc optdepends=('libcec: support for Pulse-Eight USB-CEC adapter' 'lirc: remote controller support' 'udisks: automount external drives' - 'upower: used to trigger suspend functionality' + 'upower: used to trigger power management functionality' 'unrar: access compressed files without unpacking them' 'xorg-xinit: autostart xbmc') install="${pkgname}.install" source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz" - "xbmc.service" "xbmc.sh" "xbmc_lib.conf") + "xbmc.service" "xbmc.sh" "xbmc_lib.conf" + "polkit.rules" + "libass.patch::https://bugs.archlinux.org/index.php?getfile=11285") -build() { - cd "${srcdir}/xbmc-$pkgver" +prepare() { + cd "${srcdir}/xbmc-$pkgver-$_codename" + + patch -p0 <$srcdir/libass.patch # fix lsb_release dependency sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp # sed -i -e 's:#include <libsmbclient.h>:#include <samba-4.0/libsmbclient.h>:' xbmc/filesystem/{SmbFile,SMBDirectory}.cpp +} + +build() { + cd "${srcdir}/xbmc-$pkgver-$_codename" # Bootstrapping XBMC ./bootstrap @@ -81,7 +90,7 @@ build() { } package() { - cd "${srcdir}/xbmc-$pkgver" + cd "${srcdir}/xbmc-$pkgver-$_codename" # Running make install make DESTDIR="${pkgdir}" install @@ -93,8 +102,8 @@ package() { sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/xbmc" # Tools - install -D -m 0755 "${srcdir}/xbmc-$pkgver/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr" - install -D -m 0755 "${srcdir}/xbmc-$pkgver/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/" + install -D -m 0755 "${srcdir}/xbmc-$pkgver-$_codename/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr" + install -D -m 0755 "${srcdir}/xbmc-$pkgver-$_codename/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/" # Licenses install -d -m 0755 "${pkgdir}${_prefix}/share/licenses/${pkgname}" @@ -108,11 +117,14 @@ package() { #add in xbmc_lib.conf install -D -m0744 ${srcdir}/xbmc_lib.conf ${pkgdir}/etc/gen_lib_xml.d/xbmc_lib.conf - # systemd stuff install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service +# install -Dm0644 $srcdir/polkit.rules $pkgdir/usr/share/polkit-1/rules.d/10-xbmc.rules +# chmod 0700 $pkgdir/usr/share/polkit-1/rules.d/ } # vim:set ts=2 sw=2 et: -md5sums=('489f3877decae4e265ece54f9eaef0ba' - '76fae229ebc3bcfaab7e7f27e4fb51f5' +md5sums=('7ae385ebf8e5cfcb917393235e6efbdb' + '03e9a33e15714d1fd1f2a516abea5393' 'e48a3d87984669ef206e902bc8290ff9' - '71176cb0e5aaa230d7c9634c37245bfb') + '71176cb0e5aaa230d7c9634c37245bfb' + '02f7951824ee13103344f36009c0ef2a' + '7fd6399d2ffbdf06b724f0cc2efa0784') |