summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-27 15:38:54 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 18:37:20 -0300
commitd606c60bb89ac30b252a73a861ea3f1360907d1a (patch)
treeec202c2dcb9211468f3fe140aef632a3a1ad1fcb /pcr/reicast-git/PKGBUILD
parent9ee87d27299aa5ed55a3183bc6200547a2e19e35 (diff)
downloadabslibre-d606c60bb89ac30b252a73a861ea3f1360907d1a.tar.gz
abslibre-d606c60bb89ac30b252a73a861ea3f1360907d1a.tar.bz2
abslibre-d606c60bb89ac30b252a73a861ea3f1360907d1a.zip
pcr/reicast-git: update pkg
Diffstat (limited to 'pcr/reicast-git/PKGBUILD')
-rw-r--r--pcr/reicast-git/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD
index ddd9099e1..7b49b2a69 100644
--- a/pcr/reicast-git/PKGBUILD
+++ b/pcr/reicast-git/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=reicast-git
-pkgver=r1546.5fd66a1
+pkgver=r1622.826853a
pkgrel=1
pkgdesc="A multiplatform Sega Dreamcast emulator"
arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@ license=('GPL2')
conflicts=('reicast')
provides=('reicast')
makedepends=('git')
-depends=('libgl' 'alsa-plugins' 'libpulse')
+depends=('libgl' 'alsa-plugins' 'libpulse' 'python-evdev' )
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"
@@ -20,7 +20,7 @@ source=(reicast::"git+https://github.com/reicast/reicast-emulator.git"
'wait_if_two_frames_already_in_flight.patch')
sha256sums=('SKIP'
'095961538c13208b39ebb0b9d6b6e30c1225f218dcc67239a9d938a23aec601e'
- '8f7b392ac6fac2d62e078a397f6b7c29ac3a23877d5c1a4566a58710b3383aef')
+ '4e087844ed22f5a65348e6826444481e14d0409faf8dafb0c6e5284f3f2bd9f7')
pkgver() {
cd reicast
@@ -29,6 +29,10 @@ pkgver() {
prepare () {
cd reicast
+
+ # remove nonfree fp.h header
+ rm -v core/deps/libpng/fp.h
+
patch -Np1 -i "$srcdir"/enable_x11_keyboard_support.patch
patch -Np1 -i "$srcdir"/wait_if_two_frames_already_in_flight.patch
@@ -49,7 +53,7 @@ build () {
package () {
cd reicast
- install -Dm755 shell/linux/reicast.elf "$pkgdir"/usr/bin/reicast
- install -Dm755 shell/linux/nosym-reicast.elf "$pkgdir"/usr/bin/reicast-nosym
+ make -C shell/linux PREFIX=/usr DESTDIR=$pkgdir install
+
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}