diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-06-29 10:53:28 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-08-31 01:56:18 +0200 |
| commit | e2ef7a52cf5c837a266c1f67879adfbe6f8d93b8 (patch) | |
| tree | 784c89056ad99d3203ce3ac46b925017c84b29ea | |
| parent | 4c863218967e6372127bc38a750991bd6d7843d6 (diff) | |
gnu: dolphin-emu: Update to 2606.
* gnu/packages/emulators.scm (dolphin-rcheevos-submodule): Update.
(dolphin-glslang-submodule): Update.
(dolphin-cpp-ipc-submodule): New variable.
(dolphin-cpp-optparse-submodule): New variable.
(dolphin-imgui-submodule): New variable.
(dolphin-implot-submodule): New variable.
(mgba-for-dolphin): Update.
(dolphin-emu): Update.
[source]: Keep cpp-ipc scaffolding.
[arguments]<#:phases>{copy-implot-source}: Delete phase.
<#:configure-flags>: Add HAVE_CRC32, ENABLE_VFS, ENABLE_DIRECTORIES.
Change-Id: I963517daeac637989dcfbb9717b2aa722473eab2
| -rw-r--r-- | gnu/packages/emulators.scm | 97 |
1 files changed, 79 insertions, 18 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 88165da9474..2df83d1fab0 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm | |||
| @@ -472,21 +472,76 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 472 | (method git-fetch) | 472 | (method git-fetch) |
| 473 | (uri (git-reference | 473 | (uri (git-reference |
| 474 | (url "https://github.com/RetroAchievements/rcheevos") | 474 | (url "https://github.com/RetroAchievements/rcheevos") |
| 475 | (commit "b443902b1cdfee5a66b09fec20a94d2d2afaf2ec"))) | 475 | (commit "926e4608f8dca7989267c787bbefb3ab1c835ac5"))) |
| 476 | (file-name "dolphin-rcheevos-submodule-checkout") | 476 | (file-name "dolphin-rcheevos-submodule-checkout") |
| 477 | (sha256 | 477 | (sha256 |
| 478 | (base32 | 478 | (base32 |
| 479 | "1118l6ln73rjj7hw45712lm2i24m96nygiiw57hlcyaxijppl1vj")))) | 479 | "0vj6har1l5izmirvzv2qs28qmjfshx6awn3zilq99pk66nx9xsdy")))) |
| 480 | |||
| 481 | (define dolphin-glslang-submodule | ||
| 482 | (origin | ||
| 483 | (method git-fetch) | ||
| 484 | (uri (git-reference | ||
| 485 | (url "https://github.com/KhronosGroup/glslang") | ||
| 486 | (commit "a57276bf558f5cf94d3a9854ebdf5a2236849a5a"))) | ||
| 487 | (file-name "dolphin-glslang-submodule-checkout") | ||
| 488 | (sha256 | ||
| 489 | (base32 | ||
| 490 | "05lg4k0m79lx9lrz9k5giaq9yh2c8v3avnf5rsv1s2w6wk51sg7w")))) | ||
| 491 | |||
| 492 | (define dolphin-cpp-ipc-submodule | ||
| 493 | (origin | ||
| 494 | (method git-fetch) | ||
| 495 | (uri (git-reference | ||
| 496 | (url "https://github.com/mutouyun/cpp-ipc") | ||
| 497 | (commit "ce0773b3e6d5abaa8d104100c5704321113853ca"))) | ||
| 498 | (file-name "dolphin-cpp-ipc-submodule-checkout") | ||
| 499 | (sha256 | ||
| 500 | (base32 | ||
| 501 | "09dkkax3nri604y77820pnq7vp29v1knybv6b4wm567ha2rnby6c")))) | ||
| 502 | |||
| 503 | (define dolphin-cpp-optparse-submodule | ||
| 504 | (origin | ||
| 505 | (method git-fetch) | ||
| 506 | (uri (git-reference | ||
| 507 | (url "https://github.com/weisslj/cpp-optparse.git") | ||
| 508 | (commit "2265d647232249a53a03b411099863ceca35f0d3"))) | ||
| 509 | (file-name "dolphin-cpp-optparse-submodule-checkout") | ||
| 510 | (sha256 | ||
| 511 | (base32 | ||
| 512 | "11409rai8inia1rjl3kig5rcs4sfmschf9jrb0q22v7pdlaqmxw5")))) | ||
| 513 | |||
| 514 | (define dolphin-imgui-submodule | ||
| 515 | (origin | ||
| 516 | (method git-fetch) | ||
| 517 | (uri (git-reference | ||
| 518 | (url "https://github.com/ocornut/imgui.git") | ||
| 519 | (commit "45acd5e0e82f4c954432533ae9985ff0e1aad6d5"))) | ||
| 520 | (file-name "dolphin-imgui-submodule-checkout") | ||
| 521 | (sha256 | ||
| 522 | (base32 | ||
| 523 | "108dvbsqyf9am0f744z3ymgfppw1ad0amqkbwwwg2kqdm85dq1wv")))) | ||
| 524 | |||
| 525 | (define dolphin-implot-submodule | ||
| 526 | (origin | ||
| 527 | (method git-fetch) | ||
| 528 | (uri (git-reference | ||
| 529 | (url "https://github.com/epezent/implot.git") | ||
| 530 | (commit "3da8bd34299965d3b0ab124df743fe3e076fa222"))) | ||
| 531 | (file-name "dolphin-implot-submodule-checkout") | ||
| 532 | (sha256 | ||
| 533 | (base32 | ||
| 534 | "0vgh3vs60my4blfn0ryjmas2q62466c8hx7smf0w4lgf2kkmqyag")))) | ||
| 480 | 535 | ||
| 481 | (define-public dolphin-emu | 536 | (define-public dolphin-emu |
| 482 | ;; Note: make sure to update the above rcheevos commit to match that of the | 537 | ;; Note: make sure to update the above rcheevos commit to match that of the |
| 483 | ;; corresponding git submodule in dolphin (see: | 538 | ;; corresponding git submodule in dolphin (see: |
| 484 | ;; <https://github.com/dolphin-emu/dolphin/tree/master/Externals/>). | 539 | ;; <https://github.com/dolphin-emu/dolphin/tree/master/Externals/>). |
| 485 | (let ((commit "64d4c4020cf444d5afea708b38d1b363e532c7ba") | 540 | (let ((commit "6094cfcf7b8fba733b3116fdf3414d51c1c0e4a4") |
| 486 | (revision "0")) | 541 | (revision "1")) |
| 487 | (package | 542 | (package |
| 488 | (name "dolphin-emu") | 543 | (name "dolphin-emu") |
| 489 | (version (git-version "2506" revision commit)) | 544 | (version (git-version "2606" revision commit)) |
| 490 | (source | 545 | (source |
| 491 | (origin | 546 | (origin |
| 492 | (method git-fetch) | 547 | (method git-fetch) |
| @@ -495,7 +550,7 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 495 | (commit commit))) | 550 | (commit commit))) |
| 496 | (file-name (git-file-name name version)) | 551 | (file-name (git-file-name name version)) |
| 497 | (sha256 | 552 | (sha256 |
| 498 | (base32 "095326n1dznaplll5crlfdg2d39qxxlhgch5fn7vz8majz0qb5pg")) | 553 | (base32 "15fcpr3a1y55iwkr1fvcwk6hxmw39fch2a3nnbgy52kdabvm4y0f")) |
| 499 | (modules '((guix build utils) | 554 | (modules '((guix build utils) |
| 500 | (ice-9 ftw) | 555 | (ice-9 ftw) |
| 501 | (ice-9 regex) | 556 | (ice-9 regex) |
| @@ -516,6 +571,7 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 516 | "Bochs_disasm" | 571 | "Bochs_disasm" |
| 517 | "FatFs" | 572 | "FatFs" |
| 518 | "FreeSurround" | 573 | "FreeSurround" |
| 574 | "cpp-ipc" | ||
| 519 | "cpp-optparse" | 575 | "cpp-optparse" |
| 520 | "expr" | 576 | "expr" |
| 521 | "glslang" | 577 | "glslang" |
| @@ -525,11 +581,18 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 525 | "rangeset" | 581 | "rangeset" |
| 526 | "rcheevos") ;submodule | 582 | "rcheevos") ;submodule |
| 527 | (with-directory-excursion "Externals" | 583 | (with-directory-excursion "Externals" |
| 528 | ;; Note: Not copying implot sources here, which would | ||
| 529 | ;; introduce a top-level circular dependency. | ||
| 530 | (copy-recursively #$dolphin-rcheevos-submodule | 584 | (copy-recursively #$dolphin-rcheevos-submodule |
| 531 | "rcheevos/rcheevos")) | 585 | "rcheevos/rcheevos") |
| 532 | 586 | (copy-recursively #$dolphin-glslang-submodule | |
| 587 | "glslang/glslang") | ||
| 588 | (copy-recursively #$dolphin-cpp-ipc-submodule | ||
| 589 | "cpp-ipc/cpp-ipc") | ||
| 590 | (copy-recursively #$dolphin-cpp-optparse-submodule | ||
| 591 | "cpp-optparse/cpp-optparse") | ||
| 592 | (copy-recursively #$dolphin-imgui-submodule | ||
| 593 | "imgui/imgui") | ||
| 594 | (copy-recursively #$dolphin-implot-submodule | ||
| 595 | "implot/implot")) | ||
| 533 | (for-each delete-file | 596 | (for-each delete-file |
| 534 | (find-files | 597 | (find-files |
| 535 | "." | 598 | "." |
| @@ -552,10 +615,6 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 552 | (guix build utils)) | 615 | (guix build utils)) |
| 553 | #:phases | 616 | #:phases |
| 554 | #~(modify-phases %standard-phases | 617 | #~(modify-phases %standard-phases |
| 555 | (add-after 'unpack 'copy-implot-source | ||
| 556 | (lambda _ | ||
| 557 | (copy-recursively #$(package-source implot) | ||
| 558 | "Externals/implot/implot"))) | ||
| 559 | (add-before 'configure 'generate-fonts&hardcode-libvulkan-path | 618 | (add-before 'configure 'generate-fonts&hardcode-libvulkan-path |
| 560 | (lambda* (#:key inputs #:allow-other-keys) | 619 | (lambda* (#:key inputs #:allow-other-keys) |
| 561 | (let ((fontfile | 620 | (let ((fontfile |
| @@ -604,7 +663,9 @@ It aims to support Nintendo DSi and 3DS as well.") | |||
| 604 | (rename-file "dsp_coef.bin" "Data/Sys/GC/dsp_coef.bin"))))) | 663 | (rename-file "dsp_coef.bin" "Data/Sys/GC/dsp_coef.bin"))))) |
| 605 | #:configure-flags | 664 | #:configure-flags |
| 606 | #~(list "-DUSE_DISCORD_PRESENCE=OFF" ;avoid bundled discord-rpc lib | 665 | #~(list "-DUSE_DISCORD_PRESENCE=OFF" ;avoid bundled discord-rpc lib |
| 607 | "-DDSPTOOL=ON"))) | 666 | "-DDSPTOOL=ON" |
| 667 | ;; The bundled CMakeLists.txt had defined those--but we unbundled it. | ||
| 668 | "-DCMAKE_CXX_FLAGS=-DHAVE_CRC32 -DENABLE_VFS -DENABLE_DIRECTORIES"))) | ||
| 608 | (native-inputs | 669 | (native-inputs |
| 609 | (list (cross-gcc "powerpc-linux-gnu") | 670 | (list (cross-gcc "powerpc-linux-gnu") |
| 610 | gettext-minimal | 671 | gettext-minimal |
| @@ -1190,8 +1251,8 @@ The following systems are supported: | |||
| 1190 | (define-public mgba-for-dolphin | 1251 | (define-public mgba-for-dolphin |
| 1191 | ;; The commit should match that of the mgba git submodule in dolphin (see: | 1252 | ;; The commit should match that of the mgba git submodule in dolphin (see: |
| 1192 | ;; <https://github.com/dolphin-emu/dolphin/tree/master/Externals/mGBA>). | 1253 | ;; <https://github.com/dolphin-emu/dolphin/tree/master/Externals/mGBA>). |
| 1193 | (let ((commit "8739b22fbc90fdf0b4f6612ef9c0520f0ba44a51") | 1254 | (let ((commit "0b40863f64d0940f333fa1c638e75f86f8a26a33") |
| 1194 | (revision "0")) | 1255 | (revision "1")) |
| 1195 | (hidden-package | 1256 | (hidden-package |
| 1196 | (package | 1257 | (package |
| 1197 | (inherit mgba) | 1258 | (inherit mgba) |
| @@ -1207,7 +1268,7 @@ The following systems are supported: | |||
| 1207 | (file-name (git-file-name name version)) | 1268 | (file-name (git-file-name name version)) |
| 1208 | (sha256 | 1269 | (sha256 |
| 1209 | (base32 | 1270 | (base32 |
| 1210 | "1bbcsikgcycf3cp9ciicg4yckjyamdfvgk4fgw079la59q8aw13q")))) | 1271 | "1l4iv0p5aah8adhf5fpjil883mhiabk88yfy05p6h3650nj8n9v7")))) |
| 1211 | (arguments | 1272 | (arguments |
| 1212 | (substitute-keyword-arguments arguments | 1273 | (substitute-keyword-arguments arguments |
| 1213 | ((#:configure-flags flags ''()) | 1274 | ((#:configure-flags flags ''()) |
