diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /testing/vice | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'testing/vice')
-rw-r--r-- | testing/vice/PKGBUILD | 35 | ||||
-rw-r--r-- | testing/vice/vice-2.3-x11video.patch | 11 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/vice/PKGBUILD b/testing/vice/PKGBUILD new file mode 100644 index 000000000..df9620dba --- /dev/null +++ b/testing/vice/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 148331 2012-01-30 18:51:15Z ibiru $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=vice +pkgver=2.3 +pkgrel=5 +pkgdesc="A Versatile Commodore Emulator" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.viceteam.org/" +depends=('alsa-lib' 'gcc-libs' 'giflib' 'lame' 'libxrandr' + 'libxv' 'libjpeg' 'libpng' 'libxaw' 'libxxf86vm') +makedepends=('xorg-font-utils') +options=('!makeflags') +source=("http://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz" + 'vice-2.3-x11video.patch') +md5sums=('b48d137874daad50c087a0686cbdde34' + '088292ce9efe785edfb2b0c7c670785e') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ${srcdir}/vice-2.3-x11video.patch + ./configure --prefix=/usr \ + --with-alsa \ + --enable-fullscreen + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} diff --git a/testing/vice/vice-2.3-x11video.patch b/testing/vice/vice-2.3-x11video.patch new file mode 100644 index 000000000..d698638c6 --- /dev/null +++ b/testing/vice/vice-2.3-x11video.patch @@ -0,0 +1,11 @@ +--- a/src/arch/unix/x11/xaw/x11video.c 2011-01-18 23:59:00.000000000 +0100 ++++ b/src/arch/unix/x11/xaw/x11video.c 2011-02-27 18:40:52.000000000 +0100 +@@ -60,6 +60,8 @@ + #include <X11/Xutil.h> + #include <X11/Intrinsic.h> + #include <X11/cursorfont.h> ++#include <X11/Xmd.h> ++#include <X11/extensions/shmproto.h> + + #include <stdio.h> + #include <stdlib.h> |