gnu: bsnes-hd: Update to 10.6-0.0bb7b86.

* gnu/packages/emulators.scm (bsnes-hd): Update to 10.6-0.0bb7b86.
[#:make-flags]: Add hiro=gtk3.

Relates-to: #1401
Change-Id: I95ff68eb56dd63cf5b75ff3700ae1b765302ff92
This commit is contained in:
Maxim Cournoyer 2025-07-22 10:53:51 +09:00
parent 4b5a4de167
commit 729674f8d2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3530,24 +3530,32 @@ performance, features, and ease of use.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public bsnes-hd (define-public bsnes-hd
;; Use a git snapshot of the master branch, which includes unreleased build
;; fixes.
(let ((commit "0bb7b8645e22ea2476cabd58f32e987b14686601")
(revision "0"))
(package (package
(inherit bsnes) (inherit bsnes)
(name "bsnes-hd") (name "bsnes-hd")
;; As of 10.6, there only ever was beta releases -- treat these as the ;; As of 10.6, there only ever was beta releases -- treat these as the
;; stable releases for now. ;; stable releases for now.
(version "10.6") (version (git-version "10.6" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/DerKoun/bsnes-hd") (url "https://github.com/DerKoun/bsnes-hd")
(commit (string-append (commit commit)))
"beta_"
(string-replace-substring version "." "_")))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0f3cd89fd0lqskzj98cc1pzmdbscq0psdjckp86w94rbchx7iw4h")))) "0z9wqmx351f9160jsmprznqw5sx5lslyisbr41b9igzsr5j94db3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (substitute-keyword-arguments (package-arguments bsnes)
((#:make-flags flags ''())
;; This is needed because the modified bsnes code that
;; bsnes-hd uses is based on an older copy that still
;; defaults to gtk2.
#~(cons "hiro=gtk3" #$flags))))
(home-page "https://github.com/DerKoun/bsnes-hd/") (home-page "https://github.com/DerKoun/bsnes-hd/")
(synopsis "Fork of bsnes with added HD video features") (synopsis "Fork of bsnes with added HD video features")
(description "bsnes-hd (called ``HD Mode 7 mod, for bsnes'' in early (description "bsnes-hd (called ``HD Mode 7 mod, for bsnes'' in early
@ -3567,7 +3575,7 @@ Color calculation are done at true color instead of the SNES color depth (3x8
instead of 3x5 bit). With the optional line color smoothing color ``steps'' instead of 3x5 bit). With the optional line color smoothing color ``steps''
turn into actual gradients (without influencing the sharpness of the artwork). turn into actual gradients (without influencing the sharpness of the artwork).
@end table") @end table")
(license license:gpl3+))) (license license:gpl3+))))
(define-public libretro-bsnes-hd (define-public libretro-bsnes-hd
(package/inherit bsnes-hd (package/inherit bsnes-hd