Date: Thursday, May 6, 2021 @ 15:08:54 Author: alucryd Revision: 928486
archrelease: copy trunk to community-x86_64 Added: libretro-bsnes2014/repos/community-x86_64/PKGBUILD (from rev 928485, libretro-bsnes2014/trunk/PKGBUILD) libretro-bsnes2014/repos/community-x86_64/libretro-bsnes2014-flags.patch (from rev 928485, libretro-bsnes2014/trunk/libretro-bsnes2014-flags.patch) Deleted: libretro-bsnes2014/repos/community-x86_64/PKGBUILD libretro-bsnes2014/repos/community-x86_64/libretro-bsnes2014-flags.patch --------------------------------+ PKGBUILD | 90 +++++++++++++++++++-------------------- libretro-bsnes2014-flags.patch | 50 ++++++++++----------- 2 files changed, 70 insertions(+), 70 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-06 15:08:48 UTC (rev 928485) +++ PKGBUILD 2021-05-06 15:08:54 UTC (rev 928486) @@ -1,45 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=libretro-bsnes2014 -pkgver=566 -pkgrel=1 -epoch=1 -pkgdesc='Super Nintendo Entertainment System cores' -arch=(x86_64) -url=https://github.com/libretro/bsnes-libretro -license=(GPL3) -groups=(libretro) -depends=(libretro-core-info) -makedepends=(git) -source=( - libretro-bsnes2014::git+https://github.com/libretro/bsnes-libretro#commit=feb8c10c672094e689ed057a278c2b354e113f32 - libretro-bsnes2014-flags.patch -) -sha256sums=('SKIP' - '9898d71c690d596a842db562b33351c6a7a887cca84b45fccb8197499df5f9f8') - -pkgver() { - cd libretro-bsnes2014 - - git rev-list --count HEAD -} - -prepare() { - cd libretro-bsnes2014 - - patch -Np1 -i ../libretro-bsnes2014-flags.patch -} - -build() { - for p in accuracy balanced performance; do - make -C libretro-bsnes2014 profile=${p} - done -} - -package() { - for p in accuracy balanced performance; do - install -Dm 644 libretro-bsnes2014/out/bsnes2014_${p}_libretro.so -t "${pkgdir}"/usr/lib/libretro/ - done -} - -# vim: ts=2 sw=2 et: Copied: libretro-bsnes2014/repos/community-x86_64/PKGBUILD (from rev 928485, libretro-bsnes2014/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-06 15:08:54 UTC (rev 928486) @@ -0,0 +1,45 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=libretro-bsnes2014 +pkgver=566 +pkgrel=1 +epoch=1 +pkgdesc='Super Nintendo Entertainment System cores' +arch=(x86_64) +url=https://github.com/libretro/bsnes-libretro +license=(GPL3) +groups=(libretro) +depends=(libretro-core-info) +makedepends=(git) +source=( + libretro-bsnes2014::git+https://github.com/libretro/bsnes-libretro#commit=feb8c10c672094e689ed057a278c2b354e113f32 + libretro-bsnes2014-flags.patch +) +sha256sums=('SKIP' + '9898d71c690d596a842db562b33351c6a7a887cca84b45fccb8197499df5f9f8') + +pkgver() { + cd libretro-bsnes2014 + + git rev-list --count HEAD +} + +prepare() { + cd libretro-bsnes2014 + + patch -Np1 -i ../libretro-bsnes2014-flags.patch +} + +build() { + for p in accuracy balanced performance; do + make -C libretro-bsnes2014 profile=${p} + done +} + +package() { + for p in accuracy balanced performance; do + install -Dm 644 libretro-bsnes2014/out/bsnes2014_${p}_libretro.so -t "${pkgdir}"/usr/lib/libretro/ + done +} + +# vim: ts=2 sw=2 et: Deleted: libretro-bsnes2014-flags.patch =================================================================== --- libretro-bsnes2014-flags.patch 2021-05-06 15:08:48 UTC (rev 928485) +++ libretro-bsnes2014-flags.patch 2021-05-06 15:08:54 UTC (rev 928486) @@ -1,25 +0,0 @@ -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) - 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/bsnes2014_$(profile)_libretro.so -shared $(objects) -ldl -Wl,--no-undefined -Wl,--version-script=$(ui)/link.T -+ $(compiler) -o out/bsnes2014_$(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 Copied: libretro-bsnes2014/repos/community-x86_64/libretro-bsnes2014-flags.patch (from rev 928485, libretro-bsnes2014/trunk/libretro-bsnes2014-flags.patch) =================================================================== --- libretro-bsnes2014-flags.patch (rev 0) +++ libretro-bsnes2014-flags.patch 2021-05-06 15:08:54 UTC (rev 928486) @@ -0,0 +1,25 @@ +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) + 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/bsnes2014_$(profile)_libretro.so -shared $(objects) -ldl -Wl,--no-undefined -Wl,--version-script=$(ui)/link.T ++ $(compiler) -o out/bsnes2014_$(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