From 1765cab8124243bab33908903f6a497cea1aa43b Mon Sep 17 00:00:00 2001 From: Michael Hanson <hansonorders@verizon.net> 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>Yellow</yellow> + <blue>Blue</blue> + </remote> ++ ++ <remote device="Snapstream_Firefly"> ++ <pause>PAUSE</pause> ++ <stop>STOP</stop> ++ <forward>FWD</forward> ++ <reverse>REW</reverse> ++ <left>LEFT</left> ++ <right>RIGHT</right> ++ <up>UP</up> ++ <down>DOWN</down> ++ <select>OK</select> ++ <pageplus>CH+</pageplus> ++ <pageminus>CH-</pageminus> ++ <back>EXIT</back> ++ <menu>MENU</menu> ++ <title>PLAY</title> ++ <info>INFO</info> ++ <skipplus>NEXT</skipplus> ++ <skipminus>PREV</skipminus> ++ <display>MAXI</display> ++ <start>FIREFLY</start> ++ <record>REC</record> ++ <volumeplus>VOL+</volumeplus> ++ <volumeminus>VOL-</volumeminus> ++ <mute>MUTE</mute> ++ <power>CLOSE</power> ++ <myvideo>VIDEO</myvideo> ++ <mymusic>MUSIC</mymusic> ++ <mypictures>PHOTOS</mypictures> ++ <mytv>TV</mytv> ++ <one>1</one> ++ <two>2</two> ++ <three>3</three> ++ <four>4</four> ++ <five>5</five> ++ <six>6</six> ++ <seven>7</seven> ++ <eight>8</eight> ++ <nine>9</nine> ++ <zero>0</zero> ++ <mytv>A</mytv> ++ <mymusic>B</mymusic> ++ <mypictures>C</mypictures> ++ <myvideo>D</myvideo> ++ </remote> ++ + <remote device="TwinHanRemote"> + <display>fullscreen</display> + <power>power</power> -- cgit v0.12