summaryrefslogtreecommitdiffstats
path: root/abs/extra/xbmc/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-11-26 13:40:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-11-26 13:40:27 (GMT)
commitdc4de1dd12f63875f7e3568d58ba9008626579e8 (patch)
treeae4aa375fcaf7973d6b62fce770ef71f3532938c /abs/extra/xbmc/PKGBUILD
parenteaceebad577d75e6dd598c320e93f140f0e6d4e6 (diff)
downloadlinhes_pkgbuild-dc4de1dd12f63875f7e3568d58ba9008626579e8.zip
linhes_pkgbuild-dc4de1dd12f63875f7e3568d58ba9008626579e8.tar.gz
linhes_pkgbuild-dc4de1dd12f63875f7e3568d58ba9008626579e8.tar.bz2
xbmc: recompile
Diffstat (limited to 'abs/extra/xbmc/PKGBUILD')
-rw-r--r--abs/extra/xbmc/PKGBUILD31
1 files changed, 23 insertions, 8 deletions
diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD
index 51d4530..b7d19b3 100644
--- a/abs/extra/xbmc/PKGBUILD
+++ b/abs/extra/xbmc/PKGBUILD
@@ -1,3 +1,4 @@
+# vim:set ts=2 sw=2 et:
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
@@ -18,7 +19,7 @@ arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL2')
depends=(
-'avahi' 'glu' 'hicolor-icon-theme' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
+'avahi' 'hicolor-icon-theme' 'glu' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libmysqlclient'
'libsamplerate' 'libssh' 'libva' 'libvdpau' 'libvorbis' 'libxrandr' 'libxslt'
'lzo' 'mesa' 'mesa-demos' 'python2' 'python2-pillow' 'rtmpdump' 'sdl_image'
@@ -36,7 +37,6 @@ optdepends=(
'shairplay: AirPlay support'
'libcec: Pulse-Eight USB-CEC adapter support'
'polkit: power management'
-'pulseaudio: for pulseaudio support'
'lirc: remote controller support'
'unrar: access compressed files without unpacking them'
'udisks: automount external drives'
@@ -45,16 +45,26 @@ optdepends=(
install="${pkgname}.install"
source=(
"xbmc-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
- "xbmc.sh"
- "xbmc_lib.conf"
+ '0001-CEC-fixed-don-t-try-to-stick-a-value-255-in-a-byte.patch'
+ '0002-CEC-bump-libCEC-to-2.2.0.patch'
+ '0003-CEC-prevent-bus-rescan-on-a-Pi-since-the-adapter-can.patch'
+ '0004-CEC-fixed-don-t-return-garbage-from-CEC-related-app-.patch'
+ '0005-CEC-renamed-the-iDoubleTapTimeoutMs-in-the-new-libCE.patch'
+ '0006-CEC-fixed-don-t-use-CEC_CLIENT_VERSION_CURRENT-for-t.patch'
+ 'xbmc.sh'
+ 'xbmc_lib.conf'
)
-#sha256sums=(
-# 'acbf5dffa3034a3406240ee3cf81e721386cd383d23d056ddde1f769e050e585'
-#)
prepare() {
cd "$srcdir/xbmc-$pkgver-$_codename"
+ patch -Np1 -i "$srcdir/0001-CEC-fixed-don-t-try-to-stick-a-value-255-in-a-byte.patch"
+ patch -Np1 -i "$srcdir/0002-CEC-bump-libCEC-to-2.2.0.patch"
+ patch -Np1 -i "$srcdir/0003-CEC-prevent-bus-rescan-on-a-Pi-since-the-adapter-can.patch"
+ patch -Np1 -i "$srcdir/0004-CEC-fixed-don-t-return-garbage-from-CEC-related-app-.patch"
+ patch -Np1 -i "$srcdir/0005-CEC-renamed-the-iDoubleTapTimeoutMs-in-the-new-libCE.patch"
+ patch -Np1 -i "$srcdir/0006-CEC-fixed-don-t-use-CEC_CLIENT_VERSION_CURRENT-for-t.patch"
+
find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
sed 's/python/python2/' -i tools/Linux/xbmc.sh.in
@@ -126,7 +136,12 @@ package() {
#add in xbmc_lib.conf
install -D -m0744 ${srcdir}/xbmc_lib.conf ${pkgdir}/etc/gen_lib_xml.d/xbmc_lib.conf
}
-# vim:set ts=2 sw=2 et:
md5sums=('d80153b2cc78b88966458ab136e9494f'
+ 'd00af955c000f285a230568004209117'
+ '6ee855d2cd6ada08b2c72b5c15d5ae76'
+ '3e810f451e58d5704cdd15b83552aa53'
+ '693869eb72d696c3457e795722e707c6'
+ 'b6346f66286195189e41839e9a23ef87'
+ '47b765e1d4299fac32bf92f108548d06'
'e48a3d87984669ef206e902bc8290ff9'
'71176cb0e5aaa230d7c9634c37245bfb')