diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emulators.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 0086ac0dd9a..ab10959dff0 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | ;;; Copyright © 2025 Andrew Wong <wongandj@icloud.comg> | 26 | ;;; Copyright © 2025 Andrew Wong <wongandj@icloud.comg> |
| 27 | ;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> | 27 | ;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> |
| 28 | ;;; Copyright © 2025 Laura Kirsch <laurakirsch240406@gmail.com> | 28 | ;;; Copyright © 2025 Laura Kirsch <laurakirsch240406@gmail.com> |
| 29 | ;;; Copyright © 2026 Nikita Alkhovik <forgoty13@gmail.com> | ||
| 29 | ;;; | 30 | ;;; |
| 30 | ;;; This file is part of GNU Guix. | 31 | ;;; This file is part of GNU Guix. |
| 31 | ;;; | 32 | ;;; |
| @@ -4382,6 +4383,44 @@ of the Nestopia emulator.") | |||
| 4382 | (license (list license:gpl2+ ;this project | 4383 | (license (list license:gpl2+ ;this project |
| 4383 | license:lgpl2.1+)))) ;nes_ntsc source files | 4384 | license:lgpl2.1+)))) ;nes_ntsc source files |
| 4384 | 4385 | ||
| 4386 | (define-public libretro-nestopia | ||
| 4387 | (let ((commit "473d3072be67fa2542ca833c274ef6682cf0f0bc") | ||
| 4388 | (revision "0")) | ||
| 4389 | (package | ||
| 4390 | (inherit jg-nestopia) | ||
| 4391 | (name "libretro-nestopia") | ||
| 4392 | (version (git-version "2.0" ;from libretro/libretro_core_options.h | ||
| 4393 | revision commit)) | ||
| 4394 | (source | ||
| 4395 | (origin | ||
| 4396 | (method git-fetch) | ||
| 4397 | (uri (git-reference | ||
| 4398 | (url "https://github.com/libretro/nestopia") | ||
| 4399 | (commit commit))) | ||
| 4400 | (file-name (git-file-name name version)) | ||
| 4401 | (sha256 | ||
| 4402 | (base32 "01gfwm6ig9ih4yw34fw4hdg6qsyzyjx3v4rvzb0bwk31453v9vhx")))) | ||
| 4403 | (arguments | ||
| 4404 | (list | ||
| 4405 | #:tests? #f ;no test suite | ||
| 4406 | #:phases | ||
| 4407 | #~(modify-phases %standard-phases | ||
| 4408 | (add-after 'unpack 'change-to-build-dir | ||
| 4409 | (lambda _ | ||
| 4410 | (chdir "libretro"))) | ||
| 4411 | (delete 'configure) | ||
| 4412 | (replace 'install | ||
| 4413 | (lambda _ | ||
| 4414 | (let ((out (string-append #$output "/lib/libretro"))) | ||
| 4415 | (mkdir-p out) | ||
| 4416 | (install-file "nestopia_libretro.so" out))))))) | ||
| 4417 | (synopsis "Libretro port of Nestopia NES/Famicom emulator") | ||
| 4418 | (description | ||
| 4419 | "This is the libretro port of the Nestopia emulator, based on the de | ||
| 4420 | facto upstream Nestopia JG fork, which lives at: | ||
| 4421 | https://gitlab.com/jgemu/nestopia. The libretro port contains an additional | ||
| 4422 | overclocking feature.")))) | ||
| 4423 | |||
| 4385 | (define-public jg-cega | 4424 | (define-public jg-cega |
| 4386 | (package | 4425 | (package |
| 4387 | (name "jg-cega") | 4426 | (name "jg-cega") |
