[arch-commits] Commit in gens-gs/trunk (PKGBUILD gens-gtk.patch)

Maxime Gauduin alucryd at archlinux.org
Tue Aug 20 16:36:58 UTC 2019


    Date: Tuesday, August 20, 2019 @ 16:36:58
  Author: alucryd
Revision: 500329

 FS#59399: gens-gs 2.16.7-8

Modified:
  gens-gs/trunk/PKGBUILD	(contents, properties)
  gens-gs/trunk/gens-gtk.patch	(properties)

----------------+
 PKGBUILD       |   66 +++++++++++++++++++++++++++----------------------------
 gens-gtk.patch |    1 
 2 files changed, 33 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-20 16:36:24 UTC (rev 500328)
+++ PKGBUILD	2019-08-20 16:36:58 UTC (rev 500329)
@@ -4,23 +4,31 @@
 
 pkgname=gens-gs
 pkgver=2.16.7
-pkgrel=7
+pkgrel=8
 pkgdesc='An emulator of Sega Genesis, Sega CD and 32X, combining features from various forks of Gens'
-arch=('x86_64')
-url='https://segaretro.org/Gens/GS'
-license=('GPL')
-makedepends=('nasm')
-depends_i686=('gtk2' 'sdl')
-optdepends_i686=('libcanberra: Hide a silly warning')
-depends_x86_64=('lib32-gtk2' 'lib32-sdl')
-makedepends_x86_64=('gcc-multilib' 'lib32-gtk2' 'lib32-mesa-libgl' 'lib32-sdl')
-optdepends_x86_64=('lib32-alsa-plugins: ALSA sound support'
-                   'lib32-libcanberra: Hide a silly warning'
-                   'lib32-libpulse: PulseAudio sound support')
-provides=('gens')
-conflicts=('gens')
-source=('https://retrocdn.net/images/6/6d/Gens-gs-r7.tar.gz'
-        'gens-gtk.patch')
+arch=(x86_64)
+url=https://segaretro.org/Gens/GS
+license=(GPL)
+depends=(
+  lib32-gtk2
+  lib32-libgl
+  lib32-sdl
+)
+makedepends=(
+  lib32-libglvnd
+  nasm
+)
+optdepends=(
+  'lib32-alsa-plugins: ALSA sound support'
+  'lib32-libcanberra: Hide a silly warning'
+  'lib32-libpulse: PulseAudio sound support'
+)
+provides=(gens)
+conflicts=(gens)
+source=(
+  https://retrocdn.net/images/6/6d/Gens-gs-r7.tar.gz
+  gens-gtk.patch
+)
 sha256sums=('6320cd7bee85472891e1e29b21731d2c8180d04db67ee21256491f3f9ad145c1'
             '29b1e9755b34e00ef7d19bdc527dc4f841400a0022c81ee71c331be4a76a6c1c')
 
@@ -33,24 +41,16 @@
 build() {
   cd gens-gs-r7
 
-  if [[ $CARCH == x86_64 ]]; then
-    export CC='gcc -m32'
-    export CXX='g++ -m32'
-    export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
-    LIBS='-ldl -lX11' ./configure \
-      --host='i686-unknown-linux-gnu' \
-      --prefix='/usr' \
-      --libdir='/usr/lib32' \
-      --with-pic \
-      --disable-static
-  else
-    LIBS='-ldl -lX11' ./configure \
-      --prefix='/usr' \
-      --with-pic \
-      --disable-static
-  fi
-
+  LIBS='-ldl -lX11' ./configure \
+    --host='i686-unknown-linux-gnu' \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --with-pic \
+    --disable-static
   make
 }
 


Property changes on: gens-gs/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: gens-gs/trunk/gens-gtk.patch
===================================================================
--- gens-gtk.patch	2019-08-20 16:36:24 UTC (rev 500328)
+++ gens-gtk.patch	2019-08-20 16:36:58 UTC (rev 500329)

Property changes on: gens-gs/trunk/gens-gtk.patch
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property



More information about the arch-commits mailing list