Date: Monday, March 11, 2013 @ 22:41:40
  Author: alucryd
Revision: 86071

Add yabause-{gtk,qt}

Added:
  yabause-gtk/
  yabause-gtk/repos/
  yabause-gtk/trunk/
  yabause-gtk/trunk/PKGBUILD
  yabause-gtk/trunk/rwx.patch
  yabause-qt/
  yabause-qt/repos/
  yabause-qt/trunk/
  yabause-qt/trunk/PKGBUILD
  yabause-qt/trunk/rwx.patch

-----------------------------+
 yabause-gtk/trunk/PKGBUILD  |   45 ++++++++++++++++++++++++++++++++++++++++++
 yabause-gtk/trunk/rwx.patch |   20 ++++++++++++++++++
 yabause-qt/trunk/PKGBUILD   |   45 ++++++++++++++++++++++++++++++++++++++++++
 yabause-qt/trunk/rwx.patch  |   20 ++++++++++++++++++
 4 files changed, 130 insertions(+)

Added: yabause-gtk/trunk/PKGBUILD
===================================================================
--- yabause-gtk/trunk/PKGBUILD                          (rev 0)
+++ yabause-gtk/trunk/PKGBUILD  2013-03-11 21:41:40 UTC (rev 86071)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Harley Laue <[email protected]>
+# Contributor: Hyacinthe Cartiaux <[email protected]>
+# Contributor: Anton Shestakov <[email protected]>
+# Contributor: Tiago Camargo <[email protected]>
+# Contributor: robb_force <[email protected]>
+
+pkgname=yabause-gtk
+pkgver=0.9.12
+pkgrel=2
+pkgdesc='A Sega Saturn emulator'
+arch=('i686' 'x86_64')
+url='http://yabause.org/'
+license=('GPL')
+depends=('freeglut' 'gtkglext' 'openal' 'sdl')
+makedepends=('cmake' 'mesa')
+conflicts=('yabause-qt')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname%-*}-${pkgver}.tar.gz";
 'rwx.patch')
+sha256sums=('f45c9649c379e1e790856f8dfa37d93be5638e8f697319b241951316f817bfb1'
+            'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1')
+
+build() {
+  cd "${srcdir}"/${pkgname%-*}-${pkgver}
+
+# Patch
+  patch -Np1 -i "${srcdir}"/rwx.patch
+
+# Build
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS=gtk -DYAB_NETWORK=ON 
-DYAB_OPTIMIZED_DMA=on -DYAB_PERKEYNAME=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname%-*}-${pkgver}/build
+
+# Install
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: yabause-gtk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: yabause-gtk/trunk/rwx.patch
===================================================================
--- yabause-gtk/trunk/rwx.patch                         (rev 0)
+++ yabause-gtk/trunk/rwx.patch 2013-03-11 21:41:40 UTC (rev 86071)
@@ -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


Property changes on: yabause-gtk/trunk/rwx.patch
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: yabause-qt/trunk/PKGBUILD
===================================================================
--- yabause-qt/trunk/PKGBUILD                           (rev 0)
+++ yabause-qt/trunk/PKGBUILD   2013-03-11 21:41:40 UTC (rev 86071)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Harley Laue <[email protected]>
+# Contributor: Hyacinthe Cartiaux <[email protected]>
+# Contributor: Anton Shestakov <[email protected]>
+# Contributor: Tiago Camargo <[email protected]>
+# Contributor: robb_force <[email protected]>
+
+pkgname=yabause-qt
+pkgver=0.9.12
+pkgrel=1
+pkgdesc='A Sega Saturn emulator'
+arch=('i686' 'x86_64')
+url='http://yabause.org/'
+license=('GPL')
+depends=('freeglut' 'mesa' 'openal' 'qt4' 'sdl')
+makedepends=('cmake' 'glu')
+conflicts=('yabause-gtk')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname%-*}-${pkgver}.tar.gz";
 'rwx.patch')
+sha256sums=('f45c9649c379e1e790856f8dfa37d93be5638e8f697319b241951316f817bfb1'
+            'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1')
+
+build() {
+  cd "${srcdir}"/${pkgname%-*}-${pkgver}
+
+# Patch
+  patch -Np1 -i "${srcdir}"/rwx.patch
+
+# Build
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build && cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS=qt -DYAB_NETWORK=ON 
-DYAB_OPTIMIZED_DMA=on -DYAB_PERKEYNAME=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname%-*}-${pkgver}/build
+
+# Install
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: yabause-qt/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: yabause-qt/trunk/rwx.patch
===================================================================
--- yabause-qt/trunk/rwx.patch                          (rev 0)
+++ yabause-qt/trunk/rwx.patch  2013-03-11 21:41:40 UTC (rev 86071)
@@ -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


Property changes on: yabause-qt/trunk/rwx.patch
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property

Reply via email to