summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/PKGBUILD
diff options
context:
space:
mode:
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
}