Date: Friday, January 30, 2015 @ 12:56:26
  Author: alucryd
Revision: 126788

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dolphin-emu/repos/community-staging-i686/
  dolphin-emu/repos/community-staging-i686/PKGBUILD
    (from rev 126787, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch
    (from rev 126787, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
  dolphin-emu/repos/community-staging-x86_64/
  dolphin-emu/repos/community-staging-x86_64/PKGBUILD
    (from rev 126787, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch
    (from rev 126787, dolphin-emu/trunk/dolphin-emu-gcc49.patch)

--------------------------------------------------+
 community-staging-i686/PKGBUILD                  |   49 +++++++++++++++++++++
 community-staging-i686/dolphin-emu-gcc49.patch   |   17 +++++++
 community-staging-x86_64/PKGBUILD                |   49 +++++++++++++++++++++
 community-staging-x86_64/dolphin-emu-gcc49.patch |   17 +++++++
 4 files changed, 132 insertions(+)

Copied: dolphin-emu/repos/community-staging-i686/PKGBUILD (from rev 126787, 
dolphin-emu/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-01-30 11:56:26 UTC (rev 126788)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: schuay <[email protected]>
+# Contributor: Jeremy Newton (Mystro256) <[email protected]>
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=7
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'git' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+         'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname%-*}::git+https://code.google.com/p/dolphin-emu/#tag=${pkgver}";
+        'dolphin-emu-gcc49.patch')
+md5sums=('SKIP'
+         '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd "${srcdir}/${pkgname%-*}"
+
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname%-*}"
+
+  mkdir build && cd build
+  if [[ $CARCH == x86_64 ]]; then
+    cmake .. -DCMAKE_INSTALL_PREFIX='/usr' 
-DCMAKE_CXX_FLAGS='-fno-inline-functions'
+  else
+    cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
+  fi
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname%-*}/build"
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch (from 
rev 126787, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===================================================================
--- community-staging-i686/dolphin-emu-gcc49.patch                              
(rev 0)
+++ community-staging-i686/dolphin-emu-gcc49.patch      2015-01-30 11:56:26 UTC 
(rev 126788)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
++++ dolphin/Source/Core/Common/Src/CommonFuncs.h       2014-08-19 
02:38:44.301036700 +0200
+@@ -30,7 +30,12 @@ struct ArraySizeImpl : public std::exten
+ #define b32(x)  (b16(x) | (b16(x) >>16) )
+ #define ROUND_UP_POW2(x)      (b32(x - 1) + 1)
+ 
+-#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
++#ifndef __GNUC_PREREQ
++      #define __GNUC_PREREQ(a, b) 0
++#endif
++
++#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) && \
++      !defined __SSSE3__ && defined _M_X86
+ #include <emmintrin.h>
+ static __inline __m128i __attribute__((__always_inline__))
+ _mm_shuffle_epi8(__m128i a, __m128i mask)

Copied: dolphin-emu/repos/community-staging-x86_64/PKGBUILD (from rev 126787, 
dolphin-emu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-01-30 11:56:26 UTC (rev 126788)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: schuay <[email protected]>
+# Contributor: Jeremy Newton (Mystro256) <[email protected]>
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=7
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'git' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+         'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname%-*}::git+https://code.google.com/p/dolphin-emu/#tag=${pkgver}";
+        'dolphin-emu-gcc49.patch')
+md5sums=('SKIP'
+         '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd "${srcdir}/${pkgname%-*}"
+
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname%-*}"
+
+  mkdir build && cd build
+  if [[ $CARCH == x86_64 ]]; then
+    cmake .. -DCMAKE_INSTALL_PREFIX='/usr' 
-DCMAKE_CXX_FLAGS='-fno-inline-functions'
+  else
+    cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
+  fi
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname%-*}/build"
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch 
(from rev 126787, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===================================================================
--- community-staging-x86_64/dolphin-emu-gcc49.patch                            
(rev 0)
+++ community-staging-x86_64/dolphin-emu-gcc49.patch    2015-01-30 11:56:26 UTC 
(rev 126788)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
++++ dolphin/Source/Core/Common/Src/CommonFuncs.h       2014-08-19 
02:38:44.301036700 +0200
+@@ -30,7 +30,12 @@ struct ArraySizeImpl : public std::exten
+ #define b32(x)  (b16(x) | (b16(x) >>16) )
+ #define ROUND_UP_POW2(x)      (b32(x - 1) + 1)
+ 
+-#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
++#ifndef __GNUC_PREREQ
++      #define __GNUC_PREREQ(a, b) 0
++#endif
++
++#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) && \
++      !defined __SSSE3__ && defined _M_X86
+ #include <emmintrin.h>
+ static __inline __m128i __attribute__((__always_inline__))
+ _mm_shuffle_epi8(__m128i a, __m128i mask)

Reply via email to