summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/reicast-git/PKGBUILD19
-rw-r--r--pcr/reicast-multilib-git/PKGBUILD12
2 files changed, 17 insertions, 14 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD
index fe50339b2..e10d00c34 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=r1252.5b92793
+pkgver=r1322.4b94e2f
pkgrel=1
pkgdesc="A multiplatform Sega Dreamcast emulator"
arch=('i686' 'x86_64')
@@ -32,26 +32,27 @@ 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/linux
if [[ $CARCH == x86_64 ]]; then
- make -C reicast/shell/lin64
- elif [[ $CARCH == i686 ]]; then
- make -C reicast/shell/lin86
+ make -C reicast/shell/linCPP
fi
}
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
if [[ $CARCH == x86_64 ]]; then
- install -Dm755 shell/lin64/reicast.elf "$pkgdir"/usr/bin/reicast
- elif [[ $CARCH == i686 ]]; then
- install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast
+ install -Dm755 shell/linCPP/reicast.elf "$pkgdir"/usr/bin/reicast-cpp
+ install -Dm755 shell/linCPP/nosym-reicast.elf "$pkgdir"/usr/bin/reicast-nosym-cpp
fi
- # license
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
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
}