diff options
Diffstat (limited to 'pcr/reicast-multilib-git/PKGBUILD')
-rw-r--r-- | pcr/reicast-multilib-git/PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pcr/reicast-multilib-git/PKGBUILD b/pcr/reicast-multilib-git/PKGBUILD index bbf632116..881fbb886 100644 --- a/pcr/reicast-multilib-git/PKGBUILD +++ b/pcr/reicast-multilib-git/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=reicast-multilib-git -pkgver=r1252.5b92793 +pkgver=r1322.4b94e2f pkgrel=1 pkgdesc="A multiplatform Sega Dreamcast emulator" arch=('x86_64') @@ -33,18 +33,20 @@ prepare () { patch -Np1 -i "$srcdir"/enable_joystick_support.patch patch -Np1 -i "$srcdir"/wait_if_two_frames_already_in_flight.patch - # experimental shadow support + # Fix pointer size on 64 bit arch: http://github.com/reicast-emulator/pull/768 + sed -i 's|verify((int)rbi);|verify((size_t)rbi);|' core/hw/sh4/dyna/driver.cpp + # Add experimental shadow support: http://github.com/reicast-emulator/issues/94 sed -i 's|//DrawModVols|DrawModVols|' core/rend/gles/gldraw.cpp } build () { - make -C reicast/shell/lin86 + make -C reicast/shell/linux } package () { cd reicast - install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast - # license + install -Dm755 shell/linux/reicast.elf "$pkgdir"/usr/bin/reicast + install -Dm755 shell/linux/nosym-reicast.elf "$pkgdir"/usr/bin/reicast-nosym install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |