[arch-commits] Commit in zsnes/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Jun 28 10:01:18 UTC 2021


    Date: Monday, June 28, 2021 @ 10:01:17
  Author: arodseth
Revision: 967677

Add -std=c++14 to make the package build again

+ minor changes to the dependencies
+ ignore warnings when building

Modified:
  zsnes/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-28 10:01:16 UTC (rev 967676)
+++ PKGBUILD	2021-06-28 10:01:17 UTC (rev 967677)
@@ -7,7 +7,7 @@
 
 pkgname=zsnes
 pkgver=1.51
-pkgrel=22
+pkgrel=23
 pkgdesc='Super Nintendo emulator'
 url='https://www.zsnes.com/'
 arch=(x86_64)
@@ -14,7 +14,7 @@
 license=(GPL)
 options=(!buildflags)
 makedepends=(gendesk mesa nasm)
-depends=(lib32-gcc-libs lib32-libgl lib32-libpng lib32-ncurses lib32-sdl)
+depends=(lib32-libpng lib32-opengl-driver lib32-sdl)
 optdepends=('lib32-alsa-lib: sound support for ALSA'
             'lib32-libpulse: sound support for Pulse Audio')
 source=("https://downloads.sourceforge.net/project/zsnes/zsnes/ZSNES%20v$pkgver/zsnes${pkgver/.}src.tar.bz2"
@@ -38,12 +38,12 @@
 
 build() {
   cd $_dir/src
-  export CC="gcc $CFLAGS -m32 -fcommon"
-  export CXX="g++ $CXXFLAGS -m32"
+  export CC="gcc $CFLAGS -m32 -fcommon -w"
+  export CXX="g++ $CXXFLAGS -m32 -std=c++14 -w"
   ./configure \
     --enable-release \
     --prefix=/usr \
-    force_arch=i686 \
+    force_arch=$CARCH \
     x_libraries=/usr/lib
   make
 }




More information about the arch-commits mailing list