summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-04-09 04:47:12 (GMT)
committerCecil <knoppmyth@gmail.com>2012-04-09 04:47:12 (GMT)
commit2de3f3299650b470102086bf8344959599df8cf7 (patch)
tree9ff8676171171deaa10ad8645347592e17c8d9f5 /abs/extra
parent14ebe3bed5bf6ed74f10d6b872f9f04ca61cf82d (diff)
downloadlinhes_pkgbuild-2de3f3299650b470102086bf8344959599df8cf7.zip
linhes_pkgbuild-2de3f3299650b470102086bf8344959599df8cf7.tar.gz
linhes_pkgbuild-2de3f3299650b470102086bf8344959599df8cf7.tar.bz2
xmbc:Initial inclusion of Eden to LinHES. Added patch so RTMP support compiles w/o issue. Disabled Crystal HD support.
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/xbmc/PKGBUILD11
-rw-r--r--abs/extra/xbmc/xbmc11.patch15
2 files changed, 22 insertions, 4 deletions
diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD
index 8206a42..def2927 100644
--- a/abs/extra/xbmc/PKGBUILD
+++ b/abs/extra/xbmc/PKGBUILD
@@ -9,7 +9,7 @@ _prefix=/usr
pkgname=xbmc
pkgver=11.0
-pkgrel=2
+pkgrel=3
pkgdesc="A software media player and entertainment hub for digital media"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@@ -26,11 +26,11 @@ optdepends=(
'unrar: access compressed files without unpacking them'
)
install="${pkgname}.install"
-source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz")
-sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19')
+source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz" xbmc11.patch)
build() {
cd "${srcdir}/xbmc-$pkgver"
+ patch -p1 < ../xbmc11.patch
# fix lsb_release dependency
sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp
@@ -71,7 +71,8 @@ build() {
--enable-libusb \
--enable-libcec \
--enable-external-libraries \
- --disable-external-ffmpeg
+ --disable-external-ffmpeg \
+ --disable-crystalhd
# Now (finally) build
make
}
@@ -99,3 +100,5 @@ package() {
done
}
# vim:set ts=2 sw=2 et:
+md5sums=('9e8a26ee25173c7268abea7f1d82d428'
+ '5aa2e21a1f9fea60a2e5bb345e5aefd0')
diff --git a/abs/extra/xbmc/xbmc11.patch b/abs/extra/xbmc/xbmc11.patch
new file mode 100644
index 0000000..fb144d1
--- /dev/null
+++ b/abs/extra/xbmc/xbmc11.patch
@@ -0,0 +1,15 @@
+diff -ruaN xbmc-11.0.orig//xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamRTMP.cpp xbmc-11.0/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamRTMP.cpp
+--- xbmc-11.0.orig//xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamRTMP.cpp 2012-03-21 22:07:50.000000000 +0000
++++ xbmc-11.0/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamRTMP.cpp 2012-04-08 21:04:19.000000000 +0000
+@@ -22,9 +22,9 @@
+ #if (defined HAVE_CONFIG_H) && (!defined WIN32)
+ #include "config.h"
+ #endif
+-#ifdef _WIN32
++//#ifdef _WIN32
+ #include "system.h" // just for HAS_LIBRTMP
+-#endif
++//#endif
+
+ #ifdef HAS_LIBRTMP
+ #include "settings/AdvancedSettings.h"