gnu: libretro-lowresnx: Update to 1.2.

* gnu/packages/emulators.scm (libretro-lowresnx): Update to 1.2.
This commit is contained in:
宋文武 2021-04-22 20:52:37 +08:00
parent 24293db24e
commit 0609713120
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1233,42 +1233,40 @@ (define-public nestopia-ue
(license license:gpl2+))) (license license:gpl2+)))
(define-public libretro-lowresnx (define-public libretro-lowresnx
(let ((commit "743ab43a6c4a13e0d5363b0d25ac12c7511c6581") (package
(revision "1")) (name "libretro-lowresnx")
(package (version "1.2")
(name "libretro-lowresnx") (source (origin
(version (git-version "1.1" revision commit)) (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://github.com/timoinutilis/lowres-nx")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/timoinutilis/lowres-nx") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32
(sha256 "0b0vg3iz342dpkffvf7frsnqh8inj8yzi8550bsx8vnbpq5r2ay5"))))
(base32 (build-system gnu-build-system)
"0r15kb5p5s2jwky6zy4v1j9i95i4rz36p9wxg0g6xdjksf04b5cf")))) (arguments
(build-system gnu-build-system) `(#:tests? #f ; no tests
(arguments #:make-flags (list "-C" "platform/LibRetro"
`(#:tests? #f ; no tests (string-append "CC=" ,(cc-for-target)))
#:make-flags (list "-C" "platform/LibRetro" #:phases
(string-append "CC=" ,(cc-for-target))) (modify-phases %standard-phases
#:phases (delete 'configure) ; no configure script
(modify-phases %standard-phases (replace 'install
(delete 'configure) ; no configure script (lambda* (#:key outputs #:allow-other-keys)
(replace 'install (let* ((out (assoc-ref outputs "out"))
(lambda* (#:key outputs #:allow-other-keys) (libretrodir (string-append out "/lib/libretro")))
(let* ((out (assoc-ref outputs "out")) (install-file "platform/LibRetro/lowresnx_libretro.so"
(libretrodir (string-append out "/lib/libretro"))) libretrodir)
(install-file "platform/LibRetro/lowresnx_libretro.so" #t))))))
libretrodir) (home-page "https://lowresnx.inutilis.com/")
#t)))))) (synopsis "Libretro core for LowRES NX")
(home-page "https://lowresnx.inutilis.com/") (description "LowRES NX is a simulated retro game console, which can be
(synopsis "Libretro core for LowRES NX")
(description "LowRES NX is a simulated retro game console, which can be
programmed in the classic BASIC language. This package provides a libretro programmed in the classic BASIC language. This package provides a libretro
core allowing the lowRES NX programs to be used with libretro frontends such core allowing the lowRES NX programs to be used with libretro frontends such
as RetroArch.") as RetroArch.")
(license license:zlib)))) (license license:zlib)))
(define-public retroarch (define-public retroarch
(package (package