From 1765cab8124243bab33908903f6a497cea1aa43b Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 9 Aug 2011 00:32:01 +0000 Subject: xbmc: Add Snapstream Firefly remote. Closes #728 --- abs/extra/xbmc/PKGBUILD | 13 +++++--- abs/extra/xbmc/__changelog | 1 + abs/extra/xbmc/snapstream_remote.patch | 55 ++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 4 deletions(-) create mode 100644 abs/extra/xbmc/snapstream_remote.patch diff --git a/abs/extra/xbmc/PKGBUILD b/abs/extra/xbmc/PKGBUILD index bd67ae5..252e312 100644 --- a/abs/extra/xbmc/PKGBUILD +++ b/abs/extra/xbmc/PKGBUILD @@ -9,7 +9,7 @@ _prefix=/usr pkgname=xbmc pkgver=10.1 -pkgrel=3 +pkgrel=4 pkgdesc="A software media player and entertainment hub for digital media" arch=('i686' 'x86_64') url="http://xbmc.org" @@ -31,13 +31,15 @@ optdepends=('lirc: remote controller support' 'tk') install=("${pkgname}.install") source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz" - 'FEH.sh') -md5sums=('391398126cb86a4f6fbd0b7037997d84' - '7127c0336f91ff48e408e2d1078fe8eb') + 'FEH.sh' + 'snapstream_remote.patch') build() { cd "${srcdir}/xbmc-$pkgver" + # Patch to add Snapstream Firelfy remote + patch -Np1 -i ${srcdir}/snapstream_remote.patch || return 1 + # remove "--as-needed" from LDFLAGS, since it causes # undefined symbols at runtime: # /usr/lib/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so: @@ -105,3 +107,6 @@ package() { rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" } # vim:set ts=2 sw=2 et: +md5sums=('391398126cb86a4f6fbd0b7037997d84' + '7127c0336f91ff48e408e2d1078fe8eb' + 'ae41945febf6906761589ddad33c0205') diff --git a/abs/extra/xbmc/__changelog b/abs/extra/xbmc/__changelog index e5b3c49..07c930f 100644 --- a/abs/extra/xbmc/__changelog +++ b/abs/extra/xbmc/__changelog @@ -1 +1,2 @@ 7/5/11 - chw - Removed libpulse and lsb-release dep. +8/8/11 - mjh - Add patch for Snapstream Firefly remote. Ref #728 diff --git a/abs/extra/xbmc/snapstream_remote.patch b/abs/extra/xbmc/snapstream_remote.patch new file mode 100644 index 0000000..c379b81 --- /dev/null +++ b/abs/extra/xbmc/snapstream_remote.patch @@ -0,0 +1,55 @@ +--- xbmc-10.1/system/Lircmap.xml.orig 2011-03-05 03:33:37.000000000 +0000 ++++ xbmc-10.1/system/Lircmap.xml 2011-08-09 00:16:44.000000000 +0000 +@@ -332,6 +332,52 @@ + Yellow + Blue + ++ ++ ++ PAUSE ++ STOP ++ FWD ++ REW ++ LEFT ++ RIGHT ++ UP ++ DOWN ++ ++ CH+ ++ CH- ++ EXIT ++ MENU ++ PLAY ++ INFO ++ NEXT ++ PREV ++ MAXI ++ FIREFLY ++ REC ++ VOL+ ++ VOL- ++ MUTE ++ CLOSE ++ VIDEO ++ MUSIC ++ PHOTOS ++ TV ++ 1 ++ 2 ++ 3 ++ 4 ++ 5 ++ 6 ++ 7 ++ 8 ++ 9 ++ 0 ++ A ++ B ++ C ++ D ++ ++ + + fullscreen + power -- cgit v0.12