[arch-commits] Commit in yabause-gtk/repos (6 files)
Felix Yan
felixonmars at archlinux.org
Thu Aug 3 20:10:19 UTC 2017
Date: Thursday, August 3, 2017 @ 20:10:17
Author: felixonmars
Revision: 247923
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
yabause-gtk/repos/community-staging-i686/
yabause-gtk/repos/community-staging-i686/PKGBUILD
(from rev 247922, yabause-gtk/trunk/PKGBUILD)
yabause-gtk/repos/community-staging-i686/rwx.patch
(from rev 247922, yabause-gtk/trunk/rwx.patch)
yabause-gtk/repos/community-staging-x86_64/
yabause-gtk/repos/community-staging-x86_64/PKGBUILD
(from rev 247922, yabause-gtk/trunk/PKGBUILD)
yabause-gtk/repos/community-staging-x86_64/rwx.patch
(from rev 247922, yabause-gtk/trunk/rwx.patch)
------------------------------------+
community-staging-i686/PKGBUILD | 54 +++++++++++++++++++++++++++++++++++
community-staging-i686/rwx.patch | 20 ++++++++++++
community-staging-x86_64/PKGBUILD | 54 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/rwx.patch | 20 ++++++++++++
4 files changed, 148 insertions(+)
Copied: yabause-gtk/repos/community-staging-i686/PKGBUILD (from rev 247922, yabause-gtk/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-03 20:10:17 UTC (rev 247923)
@@ -0,0 +1,54 @@
+# $Id$
+# 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=2
+pkgdesc='A Sega Saturn emulator'
+arch=('i686' 'x86_64')
+url="http://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-i686/rwx.patch (from rev 247922, yabause-gtk/trunk/rwx.patch)
===================================================================
--- community-staging-i686/rwx.patch (rev 0)
+++ community-staging-i686/rwx.patch 2017-08-03 20:10:17 UTC (rev 247923)
@@ -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
Copied: yabause-gtk/repos/community-staging-x86_64/PKGBUILD (from rev 247922, yabause-gtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-08-03 20:10:17 UTC (rev 247923)
@@ -0,0 +1,54 @@
+# $Id$
+# 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=2
+pkgdesc='A Sega Saturn emulator'
+arch=('i686' 'x86_64')
+url="http://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 247922, yabause-gtk/trunk/rwx.patch)
===================================================================
--- community-staging-x86_64/rwx.patch (rev 0)
+++ community-staging-x86_64/rwx.patch 2017-08-03 20:10:17 UTC (rev 247923)
@@ -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