From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 73522@debbugs.gnu.org
Cc: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
"Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
"Sergey Trofimov" <sarg@sarg.org.ru>,
"Adam Faiz" <adam.faiz@disroot.org>,
"Liliana Marie Prikler" <liliana.prikler@gmail.com>,
宋文武 <iyzsong@envs.net>
Subject: [bug#73522] [PATCH games-team 14/14] gnu: Add libretro-bsnes-jg.
Date: Sun, 6 Oct 2024 14:32:10 +0900 [thread overview]
Message-ID: <41ad6fd189e72bfe2296af6ae3a20d7c7dac1fe8.1728192708.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1728192708.git.maxim.cournoyer@gmail.com>
* gnu/packages/emulators.scm (libretro-bsnes-jg): New variable.
Change-Id: I24e74c38c44d03e028d270beb184ab85af0394ba
---
gnu/packages/emulators.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 0cf7619147..33c115e380 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -3350,6 +3350,44 @@ (define-public jg-bsnes
license:isc ;libco
license:lgpl2.1+))))
+(define-public libretro-bsnes-jg
+ ;; There aren't any release yet; use the latest commit.
+ (let ((commit "0d42dea0cb20aba8bfec05b928e4aed2b295352a")
+ (revision "0"))
+ (package
+ (inherit jg-bsnes)
+ (name "libretro-bsnes-jg")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (inherit (package-source jg-bsnes))
+ (uri (git-reference
+ (url "https://git.libretro.com/libretro/bsnes-jg")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dq2ypf4g4karayc9sgqn74bfnnsq2f4b3r615xyczchdaf2mi1n"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments jg-bsnes)
+ ((#:make-flags flags)
+ #~(cons* #$(string-append "GIT_VERSION=" version)
+ (string-append "prefix=" #$output)
+ #$flags))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "libretro")))
+ (add-after 'chdir 'unbundle-libsamplerate
+ (lambda _
+ (substitute* "Makefile.common"
+ (("LIBS \\+= -lm")
+ "LIBS += -lm -lsamplerate")
+ ((".*\\$\\(CORE_DIR)/deps/libsamplerate/.*")
+ ""))))))))
+ (home-page "https://git.libretro.com/libretro/bsnes-jg")
+ (synopsis "libretro port of bsnes-jg"))))
+
(define-public jg-nestopia
(package
(name "jg-nestopia")
--
2.46.0
next prev parent reply other threads:[~2024-10-06 5:35 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-28 0:29 [bug#73522] [PATCH 0/6] Package and use RetroArch assets, plus other improvements Maxim Cournoyer
2024-09-29 12:08 ` Sergey Trofimov
2024-10-06 5:34 ` Maxim Cournoyer
2024-10-06 5:31 ` [bug#73522] [PATCH games-team 00/14] " Maxim Cournoyer
2024-10-06 5:31 ` [bug#73522] [PATCH games-team 01/14] gnu: Add retroarch-assets Maxim Cournoyer
2024-10-06 5:31 ` [bug#73522] [PATCH games-team 02/14] gnu: Add retroarch-core-info Maxim Cournoyer
2024-10-06 5:31 ` [bug#73522] [PATCH games-team 03/14] gnu: Add retroarch-joypad-autoconfig Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 04/14] gnu: retroarch: Use gexps Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 05/14] gnu: retroarch: Add missing inputs, upgrade Qt to version 6 Maxim Cournoyer
2024-10-06 7:22 ` Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 06/14] gnu: retroarch: Clean-up source from extraneous bundled libraries Maxim Cournoyer
2024-10-06 6:55 ` Liliana Marie Prikler
2024-10-06 8:12 ` Maxim Cournoyer
2024-10-06 16:26 ` bug#73522: " Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 07/14] gnu: retroarch: Extend search-path support Maxim Cournoyer
2024-10-06 6:58 ` Liliana Marie Prikler
2024-10-06 7:45 ` Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 08/14] gnu: retroarch: Really disable online fetching of cores and resources Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 09/14] gnu: retroarch: Propagate core assets Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 10/14] gnu: retroarch: Update to 1.19.1-1.48b71d5 Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 11/14] gnu: libretro-lowresnx: Use gexps Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 12/14] gnu: Add libretro-mupen64plus-nx Maxim Cournoyer
2024-10-06 5:32 ` [bug#73522] [PATCH games-team 13/14] gnu: Add retroarch-slang-shaders Maxim Cournoyer
2024-10-06 5:32 ` Maxim Cournoyer [this message]
2024-10-06 7:17 ` [bug#73522] [PATCH games-team 00/14] Package and use RetroArch assets, plus other improvements Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41ad6fd189e72bfe2296af6ae3a20d7c7dac1fe8.1728192708.git.maxim.cournoyer@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=73522@debbugs.gnu.org \
--cc=adam.faiz@disroot.org \
--cc=iyzsong@envs.net \
--cc=liliana.prikler@gmail.com \
--cc=sarg@sarg.org.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.