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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 15:33:50 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:33:50
  Author: felixonmars
Revision: 1142401

archrelease: copy trunk to community-staging-x86_64

Added:
  libretro-bsnes/repos/community-staging-x86_64/
  libretro-bsnes/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142399, libretro-bsnes/trunk/PKGBUILD)
  libretro-bsnes/repos/community-staging-x86_64/libretro-bsnes-flags.patch
    (from rev 1142399, libretro-bsnes/trunk/libretro-bsnes-flags.patch)

----------------------------+
 PKGBUILD                   |   47 +++++++++++++++++++++++++++++++++++++++++++
 libretro-bsnes-flags.patch |   24 +++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: libretro-bsnes/repos/community-staging-x86_64/PKGBUILD (from rev 1142399, libretro-bsnes/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:33:50 UTC (rev 1142401)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-bsnes
+pkgver=1226
+pkgrel=2
+epoch=1
+pkgdesc='Super Nintendo Entertainment System cores'
+arch=(x86_64)
+url=https://github.com/libretro/bsnes
+license=(GPL3)
+groups=(libretro)
+depends=(
+  gcc-libs
+  libretro-core-info
+)
+makedepends=(git)
+_commit=4ea6208ad05de7698c321db6fffea9273efc7dee
+source=(
+  libretro-bsnes::git+https://github.com/libretro/bsnes.git#commit=${_commit}
+  libretro-bsnes-flags.patch
+)
+sha256sums=(
+  SKIP
+  3e1704ba3e7175330a0e291fbeb1e0bee18518ac29a2008d984585fb7a9b887c
+)
+
+pkgver() {
+  cd libretro-bsnes
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-bsnes
+
+  patch -Np1 -i ../libretro-bsnes-flags.patch
+}
+
+build() {
+  make -C libretro-bsnes/bsnes target=libretro binary=library local=false platform=linux
+}
+
+package() {
+  install -Dm 644 libretro-bsnes/bsnes/out/bsnes_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:

Copied: libretro-bsnes/repos/community-staging-x86_64/libretro-bsnes-flags.patch (from rev 1142399, libretro-bsnes/trunk/libretro-bsnes-flags.patch)
===================================================================
--- community-staging-x86_64/libretro-bsnes-flags.patch	                        (rev 0)
+++ community-staging-x86_64/libretro-bsnes-flags.patch	2022-03-06 15:33:50 UTC (rev 1142401)
@@ -0,0 +1,24 @@
+From 6d0f100d25fecae89a48c76f55371730a51c10fe Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin <alucryd at archlinux.org>
+Date: Wed, 18 Mar 2020 17:08:25 +0100
+Subject: [PATCH] use system flags
+
+---
+ nall/GNUmakefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/nall/GNUmakefile b/nall/GNUmakefile
+index 67fb3a15..fddec93d 100755
+--- a/nall/GNUmakefile
++++ b/nall/GNUmakefile
+@@ -127,7 +127,8 @@ endif
+
+ # linux settings
+ ifeq ($(platform),linux)
+-  options += -ldl
++  flags += ${CXXFLAGS}
++  options += ${LDFLAGS} -ldl
+ endif
+
+ # bsd settings
+



More information about the arch-commits mailing list