summaryrefslogtreecommitdiff
path: root/gnu/packages/emulators.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/emulators.scm')
-rw-r--r--gnu/packages/emulators.scm56
1 files changed, 56 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index dae8b7097cf..21570ada74b 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1495,6 +1495,62 @@ core allowing the lowRES NX programs to be used with libretro frontends such
1495as RetroArch.") 1495as RetroArch.")
1496 (license license:zlib))) 1496 (license license:zlib)))
1497 1497
1498(define-public libretro-mupen64plus-nx
1499 ;; There are no proper release; use the latest commit of the master branch
1500 ;; (their stable branch).
1501 (let ((commit "9d940bacb95c4d86733f42b67b57fc83046a6d39")
1502 (revision "0"))
1503 (package
1504 (name "libretro-mupen64plus-nx")
1505 (version (git-version "0" revision commit))
1506 (source (origin
1507 (method git-fetch)
1508 (uri (git-reference
1509 (url "https://github.com/libretro/mupen64plus-libretro-nx")
1510 (commit commit)))
1511 (file-name (git-file-name name version))
1512 (sha256
1513 (base32
1514 "0s3l62mfkbzmv8g1y4r40iayfwdz68rq6l6khc0d8kw08qk7ggl9"))))
1515 (build-system gnu-build-system)
1516 (arguments
1517 (list
1518 #:tests? #f ;no test suite
1519 #:make-flags
1520 #~(list (string-append "CC=" #$(cc-for-target))
1521 (string-append "CXX=" #$(cxx-for-target))
1522 (string-append "GIT_VERSION=" #$version)
1523 (string-append "PREFIX=" #$output)
1524 "LLE=1"
1525 "HAVE_THR_AL=1" ;for the angrylion video plugin
1526 "HAVE_PARALLEL_RDP=1"
1527 "HAVE_PARALLEL_RSP=1"
1528 "SYSTEM_MINIZIP=1"
1529 "SYSTEM_LIBPNG=1"
1530 "SYSTEM_XXHASH=1"
1531 "SYSTEM_ZLIB=1")
1532 #:phases
1533 #~(modify-phases %standard-phases
1534 (delete 'configure)
1535 (replace 'install
1536 (lambda _
1537 (install-file "mupen64plus_next_libretro.so"
1538 (string-append #$output "/lib/libretro/")))))))
1539 (native-inputs (list nasm pkg-config))
1540 (inputs (list mesa libpng minizip unzip xxhash zlib))
1541 (home-page "https://github.com/libretro/mupen64plus-libretro-nx")
1542 (synopsis "Improved Mupen64Plus libretro core")
1543 (description "Mupen64Plus-Next is a N64 emulation library for the
1544libretro API, based on Mupen64Plus. It incorporates the following projects:
1545@itemize
1546@item @url{https://github.com/mupen64plus/mupen64plus-core, mupen64plus}
1547@item @url{https://github.com/gonetz/GLideN64, GLideN64}
1548@item @url{https://github.com/cxd4/rsp, cxd4}
1549@item @url{https://github.com/Themaister/parallel-rsp, parallel-rsp}
1550@item @url{https://github.com/ata4/angrylion-rdp-plus, angrylion-rdp-plus}
1551@end itemize")
1552 (license license:gpl2+))))
1553
1498(define-public retroarch-assets 1554(define-public retroarch-assets
1499 (package 1555 (package
1500 (name "retroarch-assets") 1556 (name "retroarch-assets")