diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-08-14 00:23:47 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-08-26 12:08:13 +0900 |
| commit | 010c9c2ed771b18ac1a3dec749d86741b10a5eb5 (patch) | |
| tree | 11ff982c5f99158ceee471181bc93db000cafd69 | |
| parent | bbc8792e1845e3cc05c42e6c67677dbd9f7944dc (diff) | |
gnu: Add libretro-flycast.
* gnu/packages/emulators.scm
(flycast) [source]: Preserve "libzip" bundled copy.
(libretro-flycast): New variable.
Change-Id: Ie5f1ff3e51a7fb9021a8c272d529478c9c6f3d8e
| -rw-r--r-- | gnu/packages/emulators.scm | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index e274a41ada..f86fcedd56 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -4380,17 +4380,21 @@ on a Commodore C64, C128 etc.") ;; (("add_subdirectory\\(core/deps/Vulkan-Headers\\)") ;; "find_package(VulkanHeaders)")) (with-directory-excursion "core/deps" - (for-each delete-file-recursively - '("SDL" - "Spout" - "Syphon" - ;; TODO: Uncomment after our vulkan-headers - ;; are update to 1.3.261.0 or newer. - ;;"Vulkan-Headers" - "breakpad" - "discord-rpc" - "libzip" - "oboe"))))))) + (for-each + delete-file-recursively + '("SDL" + "Spout" + "Syphon" + ;; TODO: Uncomment after our vulkan-headers + ;; are update to 1.3.261.0 or newer. + ;;"Vulkan-Headers" + "breakpad" + "discord-rpc" + ;; XXX: The libretro build requires the bundled + ;; libzip, which it uses to produce a + ;; static library. + ;;"libzip" + "oboe"))))))) (build-system cmake-build-system) (arguments (list @@ -4432,6 +4436,13 @@ on a Commodore C64, C128 etc.") and Atomiswave emulator derived from reicast.") (license license:gpl2+)))) +(define-public libretro-flycast + (package/inherit flycast + (name "libretro-flycast") + (arguments (substitute-keyword-arguments (package-arguments flycast) + ((#:configure-flags flags) + #~(cons "-DLIBRETRO=ON" #$flags)))))) + (define-public freedisksysrom ;; There is no release; use the latest commit. (let ((commit "0d5f95f109bb3aadf2bb9510bfda13879bbd5266") |
