From 142190293ab99695e89714c92e7840659952e0d4 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 4 Dec 2013 21:02:40 -0200 Subject: xbmc-libre-12.2-9: updating revision, add libass.patch --- libre/xbmc-libre/PKGBUILD | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'libre/xbmc-libre') 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 # Contributor: Brad Fanella # Contributor: [vEX] @@ -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 :#include :' 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: -- cgit v1.2.3