diff options
Diffstat (limited to 'extra/xine-ui')
-rw-r--r-- | extra/xine-ui/PKGBUILD | 20 | ||||
-rw-r--r-- | extra/xine-ui/xine-ui-readline.patch | 11 |
2 files changed, 24 insertions, 7 deletions
diff --git a/extra/xine-ui/PKGBUILD b/extra/xine-ui/PKGBUILD index e63309034..7678cf079 100644 --- a/extra/xine-ui/PKGBUILD +++ b/extra/xine-ui/PKGBUILD @@ -1,19 +1,25 @@ -# $Id: PKGBUILD 184454 2013-05-06 19:40:24Z foutrelis $ +# $Id: PKGBUILD 208230 2014-03-19 21:26:01Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=xine-ui -pkgver=0.99.7 -pkgrel=2 +pkgver=0.99.8 +pkgrel=1 pkgdesc="A free video player for Unix" arch=('i686' 'x86_64') license=('GPL') url="http://www.xine-project.org" -depends=('xine-lib' 'curl' 'libpng' 'libxft' 'xdg-utils' 'shared-mime-info' - 'hicolor-icon-theme' 'desktop-file-utils' 'lirc-utils') +depends=('xine-lib' 'curl' 'libxft' 'libxxf86vm' 'lirc-utils' 'xdg-utils' + 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils') options=('!strip') install=xine-ui.install -source=(http://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz) -sha1sums=('ca82e09cf8245d038813bc4dbd8384ba79cbf197') +source=(http://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz xine-ui-readline.patch) +sha1sums=('ffe8e6507a95f92f1e29aa4e3751f4b505e8da1a' + 'e325c322a365a57ddbd62256a540202d092d4d1e') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/xine-ui-readline.patch" +} build() { cd ${pkgname}-${pkgver} diff --git a/extra/xine-ui/xine-ui-readline.patch b/extra/xine-ui/xine-ui-readline.patch new file mode 100644 index 000000000..bb680193e --- /dev/null +++ b/extra/xine-ui/xine-ui-readline.patch @@ -0,0 +1,11 @@ +--- xine-ui-0.99.8.orig/src/xitk/network.c ++++ xine-ui-0.99.8/src/xitk/network.c +@@ -1255,7 +1255,7 @@ int main(int argc, char **argv) { + rl_readline_name = PROGNAME; + rl_set_prompt(session.prompt); + rl_initialize(); +- rl_attempted_completion_function = (CPPFunction *)completion_function; ++ rl_attempted_completion_function = completion_function; + + signal(SIGPIPE, SIG_IGN); + |