unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
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 12/14] gnu: Add libretro-mupen64plus-nx.
Date: Sun,  6 Oct 2024 14:32:08 +0900	[thread overview]
Message-ID: <c52c557a0f3ea65c217cfa6ae71f6c442a068099.1728192708.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1728192708.git.maxim.cournoyer@gmail.com>

* gnu/packages/emulators.scm (libretro-mupen64plus-nx): New variable.

Change-Id: I2249a41722478d340ac4ca2d6d96fa8ae525d1f6
---

 gnu/packages/emulators.scm | 56 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 5b435a0916..eca0990147 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1495,6 +1495,62 @@ (define-public libretro-lowresnx
 as RetroArch.")
     (license license:zlib)))
 
+(define-public libretro-mupen64plus-nx
+  ;; There are no proper release; use the latest commit of the master branch
+  ;; (their stable branch).
+  (let ((commit "9d940bacb95c4d86733f42b67b57fc83046a6d39")
+        (revision "0"))
+    (package
+      (name "libretro-mupen64plus-nx")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/libretro/mupen64plus-libretro-nx")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0s3l62mfkbzmv8g1y4r40iayfwdz68rq6l6khc0d8kw08qk7ggl9"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ;no test suite
+        #:make-flags
+        #~(list (string-append "CC=" #$(cc-for-target))
+                (string-append "CXX=" #$(cxx-for-target))
+                (string-append "GIT_VERSION=" #$version)
+                (string-append "PREFIX=" #$output)
+                "LLE=1"
+                "HAVE_THR_AL=1"         ;for the angrylion video plugin
+                "HAVE_PARALLEL_RDP=1"
+                "HAVE_PARALLEL_RSP=1"
+                "SYSTEM_MINIZIP=1"
+                "SYSTEM_LIBPNG=1"
+                "SYSTEM_XXHASH=1"
+                "SYSTEM_ZLIB=1")
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)
+            (replace 'install
+              (lambda _
+                (install-file "mupen64plus_next_libretro.so"
+                              (string-append #$output "/lib/libretro/")))))))
+      (native-inputs (list nasm pkg-config))
+      (inputs (list mesa libpng minizip unzip xxhash zlib))
+      (home-page "https://github.com/libretro/mupen64plus-libretro-nx")
+      (synopsis "Improved Mupen64Plus libretro core")
+      (description "Mupen64Plus-Next is a N64 emulation library for the
+libretro API, based on Mupen64Plus.  It incorporates the following projects:
+@itemize
+@item @url{https://github.com/mupen64plus/mupen64plus-core, mupen64plus}
+@item @url{https://github.com/gonetz/GLideN64, GLideN64}
+@item @url{https://github.com/cxd4/rsp, cxd4}
+@item @url{https://github.com/Themaister/parallel-rsp, parallel-rsp}
+@item @url{https://github.com/ata4/angrylion-rdp-plus, angrylion-rdp-plus}
+@end itemize")
+      (license license:gpl2+))))
+
 (define-public retroarch-assets
   (package
     (name "retroarch-assets")
-- 
2.46.0





  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   ` Maxim Cournoyer [this message]
2024-10-06  5:32   ` [bug#73522] [PATCH games-team 13/14] gnu: Add retroarch-slang-shaders Maxim Cournoyer
2024-10-06  5:32   ` [bug#73522] [PATCH games-team 14/14] gnu: Add libretro-bsnes-jg Maxim Cournoyer
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c52c557a0f3ea65c217cfa6ae71f6c442a068099.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).