From e6de7263c6865f342b6c23d40b8055549d5d9015 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 May 2014 11:46:52 +0200 Subject: [PATCH] New package: yabause-gtk-0.9.13. --- srcpkgs/yabause-gtk/patches/rwx.patch | 20 ++++++++++++++++++++ srcpkgs/yabause-gtk/template | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/yabause-gtk/patches/rwx.patch create mode 100644 srcpkgs/yabause-gtk/template diff --git a/srcpkgs/yabause-gtk/patches/rwx.patch b/srcpkgs/yabause-gtk/patches/rwx.patch new file mode 100644 index 00000000000..4a1c3e37ba6 --- /dev/null +++ b/srcpkgs/yabause-gtk/patches/rwx.patch @@ -0,0 +1,20 @@ +--- src/sh2_dynarec/linkage_x64.s 2013-03-11 20:29:53.112870900 +0100 ++++ 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 +--- src/sh2_dynarec/linkage_x86.s 2013-03-11 20:30:08.157693100 +0100 ++++ 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 diff --git a/srcpkgs/yabause-gtk/template b/srcpkgs/yabause-gtk/template new file mode 100644 index 00000000000..57ac15eec45 --- /dev/null +++ b/srcpkgs/yabause-gtk/template @@ -0,0 +1,16 @@ +# Template file for 'yabause-gtk' +pkgname=yabause-gtk +version=0.9.13 +revision=1 +wrksrc="${pkgname%-gtk}-${version}" +build_style=cmake +configure_args="-DYAB_PORTS=gtk -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON" +hostmakedepends="cmake pkg-config" +makedepends="libXmu-devel libfreeglut-devel gtkglext-devel libopenal-devel SDL-devel desktop-file-utils" +depends="desktop-file-utils" +short_desc="A Sega Saturn emulator with GTK UI)" +maintainer="Juan RP " +license="GPL" +homepage="http://yabause.org/" +distfiles="${SOURCEFORGE_SITE}/${pkgname%-gtk}/${pkgname%-gtk}-${version}.tar.gz" +checksum=3913f9c57bb65912eb22a339ec6f9413e0c00c11105baeae6a165b84ad4d32fb