diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/desmume | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/desmume')
-rw-r--r-- | community/desmume/PKGBUILD | 16 | ||||
-rw-r--r-- | community/desmume/glx_3Demu.patch | 25 |
2 files changed, 35 insertions, 6 deletions
diff --git a/community/desmume/PKGBUILD b/community/desmume/PKGBUILD index 2df6273f0..cfc22754a 100644 --- a/community/desmume/PKGBUILD +++ b/community/desmume/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 89975 2013-05-06 15:32:51Z schuay $ +# $Id: PKGBUILD 101801 2013-12-01 11:51:18Z schuay $ # Maintainer: schuay <jakob.gruber@gmail.com> # Contributor: Jonathan Conder <jonno dot conder at gmail dot com> # Contributor: Brad Fanella <bradfanella@archlinux.us> @@ -12,21 +12,24 @@ # Contributor: Asher256 <achrafcherti at gmail dot com> pkgname=desmume -pkgver=0.9.9 +pkgver=0.9.10 pkgrel=2 pkgdesc="Nintendo DS emulator" arch=('i686' 'x86_64') url="http://desmume.org/" license=('GPL') -depends=('agg' 'gtkglext' 'libglade' 'desktop-file-utils' 'libpcap' - 'soundtouch' 'alsa-lib' 'zziplib' 'glu') +depends=('desktop-file-utils' 'libpcap' 'soundtouch' 'alsa-lib' 'glu' 'sdl' 'gtk2' 'zziplib') makedepends=('intltool' 'mesa') install=desmume.install -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.tar" + "glx_3Demu.patch") build() { cd "$srcdir/$pkgname-$pkgver" + # http://sourceforge.net/p/desmume/code/4907/ + patch -Np2 < "$srcdir"/glx_3Demu.patch + # See https://bugs.archlinux.org/task/35086 and # https://sourceforge.net/tracker/?func=detail&aid=3612768&group_id=164579&atid=832291 sed -i 's/@GETTEXT_PACKAGE@/desmume/' po/Makefile.in.in @@ -41,4 +44,5 @@ package() { make DESTDIR="$pkgdir/" install } -md5sums=('458b5f8b3dbb38a47e6d0518f97aa82a') +md5sums=('a6aedfe5d6437d481aa9ac5fb5aebbea' + '352ea0ffa109f68da2fb79f30d2c85e2') diff --git a/community/desmume/glx_3Demu.patch b/community/desmume/glx_3Demu.patch new file mode 100644 index 000000000..a47342595 --- /dev/null +++ b/community/desmume/glx_3Demu.patch @@ -0,0 +1,25 @@ +--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp 2013-11-28 01:36:53.712615822 +0100 ++++ glx_3Demu.cpp 2013-11-28 22:08:52.762390897 +0100 +@@ -41,11 +41,7 @@ + glXDestroyContext(dpy, ctx); + + XCloseDisplay(dpy); +- +- return true; + } +- +- return false; + } + + int init_glx_3Demu(void) +--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp 2013-11-28 01:36:53.712615822 +0100 ++++ glx_3Demu.cpp 2013-11-28 22:14:34.529740137 +0100 +@@ -31,7 +31,7 @@ + static GLXContext ctx; + static GLXPbuffer pbuf; + +-void deinit_glx_3Demu(void) ++int deinit_glx_3Demu(void) + { + Display *dpy = glXGetCurrentDisplay(); + |