[arch-commits] Commit in mupen64plus/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Sep 15 21:23:44 UTC 2017


    Date: Friday, September 15, 2017 @ 21:23:43
  Author: bpiotrowski
Revision: 257732

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

Added:
  mupen64plus/repos/community-staging-i686/
  mupen64plus/repos/community-staging-i686/PKGBUILD
    (from rev 257731, mupen64plus/trunk/PKGBUILD)
  mupen64plus/repos/community-staging-i686/ui-console-pic.patch
    (from rev 257731, mupen64plus/trunk/ui-console-pic.patch)
  mupen64plus/repos/community-staging-x86_64/
  mupen64plus/repos/community-staging-x86_64/PKGBUILD
    (from rev 257731, mupen64plus/trunk/PKGBUILD)
  mupen64plus/repos/community-staging-x86_64/ui-console-pic.patch
    (from rev 257731, mupen64plus/trunk/ui-console-pic.patch)

-----------------------------------------------+
 community-staging-i686/PKGBUILD               |   45 ++++++++++++++++++++++++
 community-staging-i686/ui-console-pic.patch   |   12 ++++++
 community-staging-x86_64/PKGBUILD             |   45 ++++++++++++++++++++++++
 community-staging-x86_64/ui-console-pic.patch |   12 ++++++
 4 files changed, 114 insertions(+)

Copied: mupen64plus/repos/community-staging-i686/PKGBUILD (from rev 257731, mupen64plus/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-09-15 21:23:43 UTC (rev 257732)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Zephyr
+
+pkgname=mupen64plus
+pkgver=2.5
+pkgrel=9
+pkgdesc='Nintendo64 Emulator'
+arch=('i686' 'x86_64')
+url='https://github.com/mupen64plus/mupen64plus-core'
+license=('GPL')
+depends=('glu' 'libsamplerate' 'libpng' 'sdl' 'freetype2' 'boost-libs')
+makedepends=('mesa' 'boost')
+source=("https://github.com/mupen64plus/mupen64plus-core/releases/download/2.5/mupen64plus-bundle-src-${pkgver}.tar.gz"
+        'ui-console-pic.patch')
+sha256sums=('9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66'
+            'bb4784de177aaa4c0b4f5d07b14ae020f3b47e6aa524df65366ac00eb169ee8f')
+
+prepare() {
+  cd mupen64plus-bundle-src-$pkgver
+  patch -p1 -i ../ui-console-pic.patch
+}
+
+build() {
+  cd mupen64plus-bundle-src-${pkgver}
+
+  if [[ $CARCH = 'i686' ]]; then
+    export CFLAGS="${CFLAGS/-fno-plt/}"
+    export CXXFLAGS="${CXXFLAGS/-fno-plt/}"
+  fi
+
+  sh m64p_build.sh
+}
+
+package() {
+  cd mupen64plus-bundle-src-$pkgver
+  
+  # set LDCONFIG since we are using fakeroot and scripts run root commands by checking the uid
+  ./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr' MANDIR='/usr/share/man' LDCONFIG='true'
+}
+
+# vim: ts=2:sw=2:et

Copied: mupen64plus/repos/community-staging-i686/ui-console-pic.patch (from rev 257731, mupen64plus/trunk/ui-console-pic.patch)
===================================================================
--- community-staging-i686/ui-console-pic.patch	                        (rev 0)
+++ community-staging-i686/ui-console-pic.patch	2017-09-15 21:23:43 UTC (rev 257732)
@@ -0,0 +1,12 @@
+diff --git a/source/mupen64plus-ui-console/projects/unix/Makefile b/source/mupen64plus-ui-console/projects/unix/Makefile
+index a4a05e3..199f27f 100755
+--- a/source/mupen64plus-ui-console/projects/unix/Makefile
++++ b/source/mupen64plus-ui-console/projects/unix/Makefile
+@@ -90,6 +90,7 @@ endif
+ 
+ # set special flags per-system
+ ifeq ($(OS), LINUX)
++  CFLAGS += -fPIC
+   LDLIBS += -ldl
+ endif
+ ifeq ($(OS), OSX)

Copied: mupen64plus/repos/community-staging-x86_64/PKGBUILD (from rev 257731, mupen64plus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-09-15 21:23:43 UTC (rev 257732)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Zephyr
+
+pkgname=mupen64plus
+pkgver=2.5
+pkgrel=9
+pkgdesc='Nintendo64 Emulator'
+arch=('i686' 'x86_64')
+url='https://github.com/mupen64plus/mupen64plus-core'
+license=('GPL')
+depends=('glu' 'libsamplerate' 'libpng' 'sdl' 'freetype2' 'boost-libs')
+makedepends=('mesa' 'boost')
+source=("https://github.com/mupen64plus/mupen64plus-core/releases/download/2.5/mupen64plus-bundle-src-${pkgver}.tar.gz"
+        'ui-console-pic.patch')
+sha256sums=('9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66'
+            'bb4784de177aaa4c0b4f5d07b14ae020f3b47e6aa524df65366ac00eb169ee8f')
+
+prepare() {
+  cd mupen64plus-bundle-src-$pkgver
+  patch -p1 -i ../ui-console-pic.patch
+}
+
+build() {
+  cd mupen64plus-bundle-src-${pkgver}
+
+  if [[ $CARCH = 'i686' ]]; then
+    export CFLAGS="${CFLAGS/-fno-plt/}"
+    export CXXFLAGS="${CXXFLAGS/-fno-plt/}"
+  fi
+
+  sh m64p_build.sh
+}
+
+package() {
+  cd mupen64plus-bundle-src-$pkgver
+  
+  # set LDCONFIG since we are using fakeroot and scripts run root commands by checking the uid
+  ./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr' MANDIR='/usr/share/man' LDCONFIG='true'
+}
+
+# vim: ts=2:sw=2:et

Copied: mupen64plus/repos/community-staging-x86_64/ui-console-pic.patch (from rev 257731, mupen64plus/trunk/ui-console-pic.patch)
===================================================================
--- community-staging-x86_64/ui-console-pic.patch	                        (rev 0)
+++ community-staging-x86_64/ui-console-pic.patch	2017-09-15 21:23:43 UTC (rev 257732)
@@ -0,0 +1,12 @@
+diff --git a/source/mupen64plus-ui-console/projects/unix/Makefile b/source/mupen64plus-ui-console/projects/unix/Makefile
+index a4a05e3..199f27f 100755
+--- a/source/mupen64plus-ui-console/projects/unix/Makefile
++++ b/source/mupen64plus-ui-console/projects/unix/Makefile
+@@ -90,6 +90,7 @@ endif
+ 
+ # set special flags per-system
+ ifeq ($(OS), LINUX)
++  CFLAGS += -fPIC
+   LDLIBS += -ldl
+ endif
+ ifeq ($(OS), OSX)



More information about the arch-commits mailing list