Package Details: libretro-bsnes-mercury-git 314.4e221df-1

Git Clone URL: https://aur.archlinux.org/libretro-bsnes-mercury-git.git (read-only, click to copy)
Package Base: libretro-bsnes-mercury-git
Description: Super Nintendo Entertainment System cores with various performance improvements
Upstream URL: https://github.com/libretro/bsnes-mercury
Keywords: games libretro retroarch snes
Licenses: GPL3
Groups: libretro
Submitter: uberushaximus
Maintainer: mictjs
Last Packager: mictjs
Votes: 2
Popularity: 0.31
First Submitted: 2016-05-04 02:50
Last Updated: 2018-10-03 22:44

Latest Comments

Ferdi265 commented on 2020-12-04 11:48

When trying to build this, I found a few problems with the PKGBUILD:

  1. the current upstream repo uses make PROFILE=accuracy, not make profile=accuracy
  2. the current upstream repo puts the built .so files directly into the repository root, not into an out/ folder.
  3. the balanced profile fails to link (ppu-balanced seems to be missing some methods), disabling for now

anyway, even with these fixes, the core crashes when used.

diff below:

diff --git a/PKGBUILD b/PKGBUILD
index 47d82f2..4f65f95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: uberushaximus <uberushaximus@gmail.com>

 pkgname=libretro-bsnes-mercury-git
-pkgver=314.4e221df
+pkgver=324.e574f9a
 pkgrel=1
 pkgdesc='Super Nintendo Entertainment System cores with various performance improvements'
 arch=('i686' 'x86_64')
@@ -23,14 +23,14 @@ pkgver() {

 build() {
     cd "${_gitname}"
-    for i in accuracy balanced performance; do
-        make profile=${i}
+    for i in accuracy performance; do
+        make PROFILE=${i}
     done
 }

 package() {
     install -Dm644 "${_gitname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-    for i in accuracy balanced performance; do
-        install -Dm644 "${_gitname}/out/${_libname}_${i}_libretro.so" "${pkgdir}/usr/lib/libretro/${_libname}_${i}_libretro.so"
+    for i in accuracy performance; do
+        install -Dm644 "${_gitname}/${_libname}_${i}_libretro.so" "${pkgdir}/usr/lib/libretro/${_libname}_${i}_libretro.so"
     done
 }

mrturcot commented on 2020-11-18 02:11

install: cannot stat 'bsnes-mercury/out/bsnes_mercury_accuracy_libretro.so': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... error making: libretro-bsnes-mercury-git

Error at end of compile

ProfessorKaos64 commented on 2016-09-15 14:17

Can you please ad "groups=('libretro')" (sans quotes) so this shows up when installing the "libretro" group package set?