gnu: cozy: Update to 1.1.2.

* gnu/packages/ebook.scm (cozy): Update to 1.1.2.
[arguments]<#:phases>: Don't return #t.
[inputs]: Add libdazzle.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Vinicius Monego 2021-09-11 22:38:27 +00:00 committed by Nicolas Goaziou
parent 5ab7f7f8c0
commit 88429c2783
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -477,7 +477,7 @@ following formats:
(define-public cozy (define-public cozy
(package (package
(name "cozy") (name "cozy")
(version "1.0.3") (version "1.1.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -486,7 +486,7 @@ following formats:
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0m0xiqpb87pwr3fhy0a4qxg67yjhwchcxj3x2anyy0li4inryxag")))) (base32 "0hifzzhhf0ww6iar9gswjfndy3i54s6jc41zaazlx4scc7r6fhs0"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t `(#:glib-or-gtk? #t
@ -495,14 +495,12 @@ following formats:
(add-after 'unpack 'patch-desktop-file (add-after 'unpack 'patch-desktop-file
(lambda _ (lambda _
(substitute* "data/com.github.geigi.cozy.desktop" (substitute* "data/com.github.geigi.cozy.desktop"
(("Exec=com.github.geigi.cozy") "Exec=cozy")) (("Exec=com.github.geigi.cozy") "Exec=cozy"))))
#t))
(add-after 'install 'patch-executable-name (add-after 'install 'patch-executable-name
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(with-directory-excursion (with-directory-excursion
(string-append (assoc-ref outputs "out") "/bin") (string-append (assoc-ref outputs "out") "/bin")
(rename-file "com.github.geigi.cozy" "cozy")) (rename-file "com.github.geigi.cozy" "cozy"))))
#t))
(add-after 'wrap 'wrap-libs (add-after 'wrap 'wrap-libs
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -521,8 +519,7 @@ following formats:
`("LD_LIBRARY_PATH" ":" prefix (,libmagic-path)) `("LD_LIBRARY_PATH" ":" prefix (,libmagic-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("PYTHONPATH" ":" prefix (,python-path ,pylib)))) `("PYTHONPATH" ":" prefix (,python-path ,pylib)))))))))
#t)))))
(native-inputs (native-inputs
`(("desktop-file-utils" ,desktop-file-utils) `(("desktop-file-utils" ,desktop-file-utils)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
@ -540,6 +537,7 @@ following formats:
("gst-plugins-good" ,gst-plugins-good) ("gst-plugins-good" ,gst-plugins-good)
("gst-plugins-ugly" ,gst-plugins-ugly) ("gst-plugins-ugly" ,gst-plugins-ugly)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("libdazzle" ,libdazzle)
("libgee" ,libgee) ("libgee" ,libgee)
("libhandy" ,libhandy) ("libhandy" ,libhandy)
("python-distro" ,python-distro) ("python-distro" ,python-distro)