From c34f78dd37c2a2015d43de5d89748a2f8147ba1b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Jan 2012 23:14:57 +0000 Subject: Tue Jan 31 23:14:56 UTC 2012 --- testing/vice/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ testing/vice/vice-2.3-x11video.patch | 11 +++++++++++ 2 files changed, 46 insertions(+) create mode 100644 testing/vice/PKGBUILD create mode 100644 testing/vice/vice-2.3-x11video.patch (limited to 'testing/vice') 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 +# Contributor: Tom Newsom + +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 + #include + #include ++#include ++#include + + #include + #include -- cgit v1.2.3-54-g00ecf