[arch-commits] Commit in libretro-bsnes-hd (4 files)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 29 12:04:16 UTC 2020


    Date: Wednesday, January 29, 2020 @ 12:04:16
  Author: alucryd
Revision: 558722

archrelease: copy trunk to community-x86_64

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

-------------------------------+
 PKGBUILD                      |   46 ++++++++++++++++++++++++++++++++++++++++
 libretro-bsnes-hd-flags.patch |   14 ++++++++++++
 2 files changed, 60 insertions(+)

Copied: libretro-bsnes-hd/repos/community-x86_64/PKGBUILD (from rev 558721, libretro-bsnes-hd/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-01-29 12:04:16 UTC (rev 558722)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-bsnes-hd
+pkgver=21
+pkgrel=1
+epoch=1
+pkgdesc='Super Nintendo Entertainment System core'
+arch=(x86_64)
+url=https://github.com/DerKoun/bsnes-hd
+license=(GPL3)
+groups=(libretro)
+depends=(
+  gcc-libs
+  libretro-core-info
+)
+makedepends=(git)
+source=(
+  libretro-bsnes-hd::git+https://github.com/DerKoun/bsnes-hd.git#commit=e39c59785d8fa017107e81106bebaea081238e21
+  libretro-bsnes-hd-flags.patch
+)
+sha256sums=(
+  SKIP
+  8108ce3da95d9a7fd9fae00d2db042f1053e60d19fe87813b7ddf0aa5313cdd8
+)
+
+prepare() {
+  cd libretro-bsnes-hd
+
+  patch -Np1 -i ../libretro-bsnes-hd-flags.patch
+}
+
+pkgver() {
+  cd libretro-bsnes-hd
+
+  git rev-list --count HEAD
+}
+
+build() {
+  make -C libretro-bsnes-hd/bsnes -f GNUmakefile target=libretro binary=library local=false platform=linux
+}
+
+package() {
+  install -Dm 644 libretro-bsnes-hd/bsnes/out/bsnes_hd_beta_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:

Copied: libretro-bsnes-hd/repos/community-x86_64/libretro-bsnes-hd-flags.patch (from rev 558721, libretro-bsnes-hd/trunk/libretro-bsnes-hd-flags.patch)
===================================================================
--- repos/community-x86_64/libretro-bsnes-hd-flags.patch	                        (rev 0)
+++ repos/community-x86_64/libretro-bsnes-hd-flags.patch	2020-01-29 12:04:16 UTC (rev 558722)
@@ -0,0 +1,14 @@
+diff -rupN libretro-bsnes-hd.orig/bsnes/GNUmakefile libretro-bsnes-hd/bsnes/GNUmakefile
+--- libretro-bsnes-hd.orig/bsnes/GNUmakefile	2020-01-29 12:32:57.736128837 +0100
++++ libretro-bsnes-hd/bsnes/GNUmakefile	2020-01-29 12:40:58.993295237 +0100
+@@ -39,8 +39,8 @@ else ifneq ($(filter $(platform),linux b
+     options += -Wl,-export-dynamic
+     options += -lX11 -lXext
+   else ifeq ($(binary),library)
+-    flags += -fPIC
+-    options += -shared
++    flags += $(CXXFLAGS) -fPIC
++    options += $(LDFLAGS) -shared
+   endif
+ endif
+ 



More information about the arch-commits mailing list