diff options
author | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-20 23:14:48 +0000 |
commit | a1922d0ec660fdc1892f2783515f781c090df0a9 (patch) | |
tree | 6d38a09231ff439c051261d41bfa066870e1fccb /staging/vice | |
parent | eefecc8813e0c062a2058b33209cb30830f824b6 (diff) |
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'staging/vice')
-rw-r--r-- | staging/vice/PKGBUILD | 35 | ||||
-rw-r--r-- | staging/vice/vice-2.3-x11video.patch | 11 |
2 files changed, 46 insertions, 0 deletions
diff --git a/staging/vice/PKGBUILD b/staging/vice/PKGBUILD new file mode 100644 index 000000000..92a531c26 --- /dev/null +++ b/staging/vice/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 146938 2012-01-19 12:54:40Z giovanni $ +# 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/staging/vice/vice-2.3-x11video.patch b/staging/vice/vice-2.3-x11video.patch new file mode 100644 index 000000000..d698638c6 --- /dev/null +++ b/staging/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> |