diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-04 21:02:40 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-04 21:02:40 -0200 |
commit | 142190293ab99695e89714c92e7840659952e0d4 (patch) | |
tree | 982276622f03cb6ef0294bde2a0761bee012490e | |
parent | da21a815c98e0f6be0e9f3c0c1e4047f1f8cd8ac (diff) |
xbmc-libre-12.2-9: updating revision, add libass.patch
-rw-r--r-- | libre/xbmc-libre/PKGBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/libre/xbmc-libre/PKGBUILD b/libre/xbmc-libre/PKGBUILD index b0771a4d7..1caf395fc 100644 --- a/libre/xbmc-libre/PKGBUILD +++ b/libre/xbmc-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 101633 2013-11-29 15:58:38Z spupykin $ +# $Id: PKGBUILD 102069 2013-12-04 16:20:28Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Brad Fanella <bradfanella@archlinux.us> # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com> @@ -10,7 +10,7 @@ _prefix=/usr _pkgname=xbmc pkgname=xbmc-libre pkgver=12.2 -pkgrel=8 +pkgrel=9 pkgdesc="A software media player and entertainment hub for digital media, with libarchive recommendation" arch=('i686' 'x86_64') url="http://xbmc.org" @@ -36,17 +36,25 @@ conflicts=$_pkgname provides=$_pkgname=$pkgver source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz" "xbmc.service" - "polkit.rules") + "polkit.rules" + "libass.patch::https://bugs.archlinux.org/index.php?getfile=11285") md5sums=('489f3877decae4e265ece54f9eaef0ba' '8312d6d4ac5d7c3d9eed40ab08a17d3b' - 'd4cbb6609c8e7b713c714241f529000e') + 'd4cbb6609c8e7b713c714241f529000e' + '7fd6399d2ffbdf06b724f0cc2efa0784') -build() { +prepare() { cd "${srcdir}/xbmc-$pkgver" + 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" # Bootstrapping XBMC ./bootstrap @@ -114,5 +122,6 @@ package() { install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service install -Dm0644 $srcdir/polkit.rules $pkgdir/etc/polkit-1/rules.d/10-xbmc.rules + chmod 0700 $pkgdir/etc/polkit-1/rules.d/ } # vim:set ts=2 sw=2 et: |