[arch-commits] Commit in yabause-gtk/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 25 16:43:37 UTC 2020
Date: Saturday, April 25, 2020 @ 16:43:36
Author: foutrelis
Revision: 620977
archrelease: copy trunk to community-staging-x86_64
Added:
yabause-gtk/repos/community-staging-x86_64/
yabause-gtk/repos/community-staging-x86_64/PKGBUILD
(from rev 620976, yabause-gtk/trunk/PKGBUILD)
yabause-gtk/repos/community-staging-x86_64/rwx.patch
(from rev 620976, yabause-gtk/trunk/rwx.patch)
-----------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
rwx.patch | 20 ++++++++++++++++++++
2 files changed, 73 insertions(+)
Copied: yabause-gtk/repos/community-staging-x86_64/PKGBUILD (from rev 620976, yabause-gtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 16:43:36 UTC (rev 620977)
@@ -0,0 +1,53 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at gmail.com>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Anton Shestakov <engoredi at ya.ru>
+# Contributor: Tiago Camargo <tcamargo at gmail.com>
+# Contributor: robb_force <robb_force at holybuffalo.net>
+
+pkgname=yabause-gtk
+pkgver=0.9.15
+pkgrel=3
+pkgdesc='A Sega Saturn emulator'
+arch=('x86_64')
+url="https://yabause.org/"
+license=('GPL')
+depends=('freeglut' 'glew' 'gtkglext' 'openal' 'sdl2')
+makedepends=('cmake')
+conflicts=('yabause-qt')
+source=("https://download.tuxfamily.org/yabause/releases/${pkgver}/yabause-${pkgver}.tar.gz"
+ 'rwx.patch')
+sha256sums=('4334c43fe0f3ff297bac8e91f4e059fe5fd276291faff2489e37b5b3a4ccc2b2'
+ 'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1')
+
+prepare() {
+ cd yabause-${pkgver}
+
+ patch -Np1 -i ../rwx.patch
+}
+
+build() {
+ cd yabause-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DYAB_PORTS='gtk' \
+ -DYAB_NETWORK='ON' \
+ -DYAB_OPTIMIZED_DMA='ON' \
+ -DSH2_DYNAREC=OFF # https://github.com/Yabause/yabause/issues/270
+ make
+}
+
+package() {
+ cd yabause-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: yabause-gtk/repos/community-staging-x86_64/rwx.patch (from rev 620976, yabause-gtk/trunk/rwx.patch)
===================================================================
--- community-staging-x86_64/rwx.patch (rev 0)
+++ community-staging-x86_64/rwx.patch 2020-04-25 16:43:36 UTC (rev 620977)
@@ -0,0 +1,20 @@
+--- a/src/sh2_dynarec/linkage_x64.s 2013-03-11 20:29:53.112870900 +0100
++++ b/src/sh2_dynarec/linkage_x64.s 2013-03-11 20:31:48.856778600 +0100
+@@ -747,3 +747,7 @@ breakpoint:
+ ret
+ /* Set breakpoint here for debugging */
+ .size breakpoint, .-breakpoint
++
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- a/src/sh2_dynarec/linkage_x86.s 2013-03-11 20:30:08.157693100 +0100
++++ b/src/sh2_dynarec/linkage_x86.s 2013-03-11 20:32:30.993310600 +0100
+@@ -743,3 +743,7 @@ breakpoint:
+ ret
+ /* Set breakpoint here for debugging */
+ .size breakpoint, .-breakpoint
++
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
More information about the arch-commits
mailing list