gnu: nsxiv: Update to 33.

Updated git-reference url to codeberg and updated install-icons and
install-desktop-file phases.

* gnu/packages/image-viewers.scm (nsxiv): Update to 33
[arguments]<install-desktop-file>: Update nsxiv.desktop path.
<install-icons>: Fix old make command.

Change-Id: I75984bdaff321b1302d40d22e9599249f221ee37
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Jake Koroman 2025-04-01 13:34:06 -04:00 committed by Christopher Baines
parent dc2d7d0cd2
commit 1056ca81cb
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -445,16 +445,16 @@ it and customize it for your needs.")
(define-public nsxiv (define-public nsxiv
(package (package
(name "nsxiv") (name "nsxiv")
(version "27.1") (version "33")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/nsxiv/nsxiv") (url "https://codeberg.org/nsxiv/nsxiv")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1na7f0hpc9g04nm7991gzaqr5gkj08n2azx833hgxcm2w1pnn1bk")))) (base32 "1y8rsg8q45b1dbm9zrsr0s7v86z95b87cvn7n81nlkj7paj3wnqz"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;no check target `(#:tests? #f ;no check target
@ -476,12 +476,12 @@ it and customize it for your needs.")
(string-append "-I" freetype)))))) (string-append "-I" freetype))))))
(add-after 'install 'install-desktop-file (add-after 'install 'install-desktop-file
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "nsxiv.desktop" (install-file "etc/nsxiv.desktop"
(string-append (assoc-ref outputs "out") (string-append (assoc-ref outputs "out")
"/share/applications")))) "/share/applications"))))
(add-after 'install 'install-icons (add-after 'install 'install-icons
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "make" "-C" "icon" "install" make-flags)))))) (apply invoke "make" "install-icon" make-flags))))))
(inputs (inputs
(list freetype (list freetype
giflib giflib