summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-19 04:45:52 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-19 04:45:52 -0300
commit3b2d3075929a6dcfd03fb1123ede810d54e9bb00 (patch)
treec7346d71f9662798690508cf2f876e4de6f69788 /pcr/reicast-git/PKGBUILD
parent8ec72b300bd4d3123a052a58ca8b707febfbe8e5 (diff)
downloadabslibre-3b2d3075929a6dcfd03fb1123ede810d54e9bb00.tar.gz
abslibre-3b2d3075929a6dcfd03fb1123ede810d54e9bb00.tar.bz2
abslibre-3b2d3075929a6dcfd03fb1123ede810d54e9bb00.zip
reicast-git-r1200.a9fc0f5-2: enable joystick support
Diffstat (limited to 'pcr/reicast-git/PKGBUILD')
-rw-r--r--pcr/reicast-git/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD
index aae8b1862..ab671fc2f 100644
--- a/pcr/reicast-git/PKGBUILD
+++ b/pcr/reicast-git/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=reicast-git
pkgver=r1200.a9fc0f5
-pkgrel=1
+pkgrel=2
pkgdesc="A multiplatform Sega Dreamcast emulator"
arch=('i686' 'x86_64')
url="http://reicast.com/"
@@ -13,16 +13,25 @@ conflicts=('reicast')
provides=('reicast')
makedepends=('git')
makedepends_x86_64=('gcc-multilib')
-depends_x86_64=('lib32-libgl' 'lib32-alsa-lib')
-depends_i686=('libgl' 'alsa-lib')
-source=(reicast::"git+https://github.com/reicast/reicast-emulator.git")
-md5sums=('SKIP')
+depends_x86_64=('lib32-libgl' 'lib32-alsa-plugins')
+depends_i686=('libgl' 'alsa-plugins')
+optdepends=('xboxdrv: Userspace gamepad driver for Xbox and Xbox360 gamepads'
+ 'antimicro: Graphical program used to map keyboard keys and mouse controls to gamepad buttons')
+source=(reicast::"git+https://github.com/reicast/reicast-emulator.git"
+ 'enable_joystick_support.patch')
+sha256sums=('SKIP'
+ 'e0f53e5834acb5978c2b9f55cbfb8586f9482ea0bab1eec4398d87608a9b264e')
pkgver() {
cd reicast
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare () {
+ cd reicast
+ patch -Np1 -i "$srcdir"/enable_joystick_support.patch
+}
+
build () {
make -C reicast/shell/lin86
}