[arch-commits] Commit in libretro-bsnes/trunk (PKGBUILD libretro-bsnes-flags.patch)
Maxime Gauduin
alucryd at archlinux.org
Mon Mar 30 09:45:03 UTC 2020
Date: Monday, March 30, 2020 @ 09:45:02
Author: alucryd
Revision: 606716
upgpkg: libretro-bsnes 1:1196-1
Modified:
libretro-bsnes/trunk/PKGBUILD
libretro-bsnes/trunk/libretro-bsnes-flags.patch
----------------------------+
PKGBUILD | 19 +++++++-------
libretro-bsnes-flags.patch | 55 +++++++++++++++++--------------------------
2 files changed, 32 insertions(+), 42 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 09:27:05 UTC (rev 606715)
+++ PKGBUILD 2020-03-30 09:45:02 UTC (rev 606716)
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=libretro-bsnes
-pkgver=525
+pkgver=1196
pkgrel=1
epoch=1
pkgdesc='Super Nintendo Entertainment System cores'
@@ -9,15 +9,18 @@
url=https://github.com/libretro/bsnes-libretro
license=(GPL3)
groups=(libretro)
-depends=(libretro-core-info)
+depends=(
+ gcc-libs
+ libretro-core-info
+)
makedepends=(git)
source=(
- libretro-bsnes::git+https://github.com/libretro/bsnes-libretro#commit=95350550af6c76b57593dea980b5c3a27e5bf09e
+ libretro-bsnes::git+https://github.com/libretro/bsnes.git#commit=8e80d2f8a43e34a82931e25143b279e5fbcfaedc
libretro-bsnes-flags.patch
)
sha256sums=(
SKIP
- 3b1119c29373cf4bbbe4ea39bd4ad3c9bfea7501015b51b09caa95a02773058d
+ 3e1704ba3e7175330a0e291fbeb1e0bee18518ac29a2008d984585fb7a9b887c
)
pkgver() {
@@ -33,15 +36,11 @@
}
build() {
- for p in accuracy balanced performance; do
- make -C libretro-bsnes profile=${p}
- done
+ make -C libretro-bsnes/bsnes target=libretro binary=library local=false platform=linux
}
package() {
- for p in accuracy balanced performance; do
- install -Dm 644 libretro-bsnes/out/bsnes_${p}_libretro.so -t "${pkgdir}"/usr/lib/libretro/
- done
+ install -Dm 644 libretro-bsnes/bsnes/out/bsnes_libretro.so -t "${pkgdir}"/usr/lib/libretro/
}
# vim: ts=2 sw=2 et:
Modified: libretro-bsnes-flags.patch
===================================================================
--- libretro-bsnes-flags.patch 2020-03-30 09:27:05 UTC (rev 606715)
+++ libretro-bsnes-flags.patch 2020-03-30 09:45:02 UTC (rev 606716)
@@ -1,33 +1,24 @@
-diff -rupN libretro-bsnes.orig/.git/FETCH_HEAD libretro-bsnes/.git/FETCH_HEAD
---- libretro-bsnes.orig/.git/FETCH_HEAD 1970-01-01 01:00:00.000000000 +0100
-+++ libretro-bsnes/.git/FETCH_HEAD 2018-12-07 18:31:25.943337424 +0100
-@@ -0,0 +1,3 @@
-+2a0b1a4f0b47100a781e025b085cb7ed88798527 not-for-merge branch '096' of /home/alucryd/Packages/src/libretro-bsnes
-+c6e90ddcdfdc5ca1b56319df662912b3c026d78f not-for-merge branch 'libretro' of /home/alucryd/Packages/src/libretro-bsnes
-+95350550af6c76b57593dea980b5c3a27e5bf09e not-for-merge branch 'master' of /home/alucryd/Packages/src/libretro-bsnes
-Binary files libretro-bsnes.orig/.git/index and libretro-bsnes/.git/index differ
-diff -rupN libretro-bsnes.orig/Makefile libretro-bsnes/Makefile
---- libretro-bsnes.orig/Makefile 2018-12-07 18:09:48.766873570 +0100
-+++ libretro-bsnes/Makefile 2018-12-07 18:22:39.006021877 +0100
-@@ -32,7 +32,8 @@ sfc_lagfix := 1
- ifeq ($(DEBUG), 1)
- flags := -I. -Ilibco -O0 -g
- else
-- flags := -I. -Ilibco -O3 -fomit-frame-pointer
-+ flags := $(CFLAGS) -I. -Ilibco -fomit-frame-pointer
-+ link := $(LDFLAGS)
+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
-
- cflags := -std=gnu99 -xc
-diff -rupN libretro-bsnes.orig/target-libretro/Makefile libretro-bsnes/target-libretro/Makefile
---- libretro-bsnes.orig/target-libretro/Makefile 2018-12-07 18:09:48.813540589 +0100
-+++ libretro-bsnes/target-libretro/Makefile 2018-12-07 18:31:23.149982988 +0100
-@@ -46,7 +46,7 @@ obj/libretro-$(profile).o: $(ui)/libretr
- #targets
- build: $(objects)
- ifeq ($(platform),linux)
-- $(compiler) -o out/bsnes_$(profile)_libretro.so -shared $(objects) -ldl -Wl,--no-undefined -Wl,--version-script=$(ui)/link.T
-+ $(compiler) -o out/bsnes_$(profile)_libretro.so $(link) -shared $(objects) -ldl -Wl,--no-undefined -Wl,--version-script=$(ui)/link.T
- else ifneq (,$(findstring ios,$(platform)))
- ifeq ($(platform),ios-arm64)
- $(compiler) -o out/bsnes_$(profile)_libretro_ios.dylib -dynamiclib $(objects) -isysroot $(IOSSDK) -arch arm64
+
+ # bsd settings
+
More information about the arch-commits
mailing list