[arch-commits] Commit in zsnes/repos (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon Apr 25 21:39:23 UTC 2022


    Date: Monday, April 25, 2022 @ 21:39:22
  Author: arojas
Revision: 1190133

archrelease: copy trunk to multilib-x86_64

Added:
  zsnes/repos/community-x86_64/
  zsnes/repos/multilib-x86_64/PKGBUILD
    (from rev 1190132, zsnes/trunk/PKGBUILD)
Deleted:
  zsnes/repos/multilib-x86_64/PKGBUILD

--------------------------+
 /PKGBUILD                |   36 ++++++++++++++++++++++++++++++++++++
 multilib-x86_64/PKGBUILD |   34 ----------------------------------
 2 files changed, 36 insertions(+), 34 deletions(-)

Deleted: multilib-x86_64/PKGBUILD
===================================================================
--- multilib-x86_64/PKGBUILD	2022-04-25 21:38:55 UTC (rev 1190132)
+++ multilib-x86_64/PKGBUILD	2022-04-25 21:39:22 UTC (rev 1190133)
@@ -1,34 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Levente Polyak <anthraxx at archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Frank Tetzel <frank.tetzel at mailbox.tu-dresden.de>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-# Contributor: Aurelien Foret <orelien at chez.com>
-
-pkgname=zsnes
-pkgver=2.0.9
-pkgrel=1
-pkgdesc='Super Nintendo emulator'
-url='https://github.com/xyproto/zsnes'
-arch=(x86_64)
-license=(GPL2)
-makedepends=(gendesk git mesa nasm)
-depends=(lib32-libpng lib32-opengl-driver lib32-sdl)
-optdepends=('lib32-alsa-lib: sound support for ALSA'
-            'lib32-libpulse: sound support for Pulse Audio')
-source=("git+$url#commit=09bc1b15e0b6ab8320e86a9399afc2984a9336f3") # tag: 2.0.9
-b2sums=('SKIP')
-
-prepare() {
-  gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc"
-}
-
-build() {
-  make -C $pkgname
-}
-
-package() {
-  install -Dm644 zsnes.desktop "$pkgdir/usr/share/applications/zsnes.desktop"
-  install -Dm644 zsnes/icons/64x64x32.png "$pkgdir/usr/share/pixmaps/zsnes.png"
-  DESTDIR="$pkgdir" make -C $pkgname install
-}

Copied: zsnes/repos/multilib-x86_64/PKGBUILD (from rev 1190132, zsnes/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2022-04-25 21:39:22 UTC (rev 1190133)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Levente Polyak <anthraxx at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Frank Tetzel <frank.tetzel at mailbox.tu-dresden.de>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: Aurelien Foret <orelien at chez.com>
+
+pkgname=zsnes
+pkgver=2.0.9
+pkgrel=2
+pkgdesc='Super Nintendo emulator'
+url='https://github.com/xyproto/zsnes'
+arch=(x86_64)
+license=(GPL2)
+makedepends=(gendesk git mesa nasm)
+depends=(lib32-libpng lib32-opengl-driver lib32-sdl)
+optdepends=('lib32-alsa-lib: sound support for ALSA'
+            'lib32-libpulse: sound support for Pulse Audio')
+source=("git+$url#commit=09bc1b15e0b6ab8320e86a9399afc2984a9336f3") # tag: 2.0.9
+b2sums=('SKIP')
+
+prepare() {
+  gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc"
+}
+
+build() {
+  export CFLAGS=${CFLAGS/-fcf-protection/}
+  export CXXFLAGS=${CXXFLAGS/-fcf-protection/}
+  make -C $pkgname
+}
+
+package() {
+  install -Dm644 zsnes.desktop "$pkgdir/usr/share/applications/zsnes.desktop"
+  install -Dm644 zsnes/icons/64x64x32.png "$pkgdir/usr/share/pixmaps/zsnes.png"
+  DESTDIR="$pkgdir" make -C $pkgname install
+}



More information about the arch-commits mailing list