gnu: sideload: Update to 6.0.2.

* gnu/packages/pantheon.scm (sideload): Update to 6.0.2.
Delete trailing #t.
[configure-flags]: Remove nonexistent flatpak build option.
[inputs]: Add libhandy.
This commit is contained in:
Maxim Cournoyer 2021-11-24 00:00:14 -05:00
parent c3fd310d8f
commit bf445d303b
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -115,7 +115,7 @@ desktop.")
(define-public sideload (define-public sideload
(package (package
(name "sideload") (name "sideload")
(version "1.1.1") (version "6.0.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -125,27 +125,22 @@ desktop.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0mlc3nm2navzxm8k1rwpbw4w6mv30lmhqybm8jqxd4v8x7my73vq")))) "0abpcawmmv5mgzk2i5n9rlairmjr2v9rg9b8c9g7xa085s496bi9"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t `(#:glib-or-gtk? #t
#:configure-flags (list (string-append "-Dflatpak="
(assoc-ref %build-inputs "flatpak")
"/include"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'install 'set-environment-variables (add-before 'install 'set-environment-variables
(lambda _ (lambda _
;; Disable compiling schemas and updating desktop databases ;; Disable compiling schemas and updating desktop databases
(setenv "DESTDIR" "/") (setenv "DESTDIR" "/")))
#t))
(add-after 'install 'install-symlinks (add-after 'install 'install-symlinks
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/io.elementary.sideload")) (bin (string-append out "/bin/io.elementary.sideload"))
(link (string-append out "/bin/sideload"))) (link (string-append out "/bin/sideload")))
(symlink bin link) (symlink bin link)))))))
#t))))))
(inputs (inputs
`(("flatpak" ,flatpak) `(("flatpak" ,flatpak)
("glib" ,glib) ("glib" ,glib)
@ -153,6 +148,7 @@ desktop.")
("gtk" ,gtk+) ("gtk" ,gtk+)
("hicolor-icon-theme" ,hicolor-icon-theme) ("hicolor-icon-theme" ,hicolor-icon-theme)
("libgee" ,libgee) ("libgee" ,libgee)
("libhandy" ,libhandy)
("libostree" ,libostree) ("libostree" ,libostree)
("libxml2" ,libxml2))) ("libxml2" ,libxml2)))
(propagated-inputs (propagated-inputs