gnu: portfolio: Update to 1.0.0.
* gnu/packages/gnome-xyz.scm (portfolio): Update to 1.0.0. [#:phases]: Add ‘skip-gtk-update-icon-cache’. [inputs]: Replace gtk+ with gtk. Replace libhandy with libadwaita. [native-inputs]: Remove gtk+:bin. Add pkg-config.
This commit is contained in:
parent
12d8efb1a9
commit
db61bdd7f5
1 changed files with 8 additions and 4 deletions
|
@ -484,7 +484,7 @@ (define-public gnome-plots
|
||||||
(define-public portfolio
|
(define-public portfolio
|
||||||
(package
|
(package
|
||||||
(name "portfolio")
|
(name "portfolio")
|
||||||
(version "0.9.14")
|
(version "1.0.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -493,7 +493,7 @@ (define-public portfolio
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0h09v8lhz3kv6qmwjhx3gr7rp6ccfhrzm54gjnaixl4dcg9zddls"))))
|
"1ai9mx801m5lngkljg42vrpvhbvc3071sp4jypsvbzw55hxnn5ba"))))
|
||||||
(arguments
|
(arguments
|
||||||
(list #:glib-or-gtk? #t
|
(list #:glib-or-gtk? #t
|
||||||
#:imported-modules `(,@%meson-build-system-modules
|
#:imported-modules `(,@%meson-build-system-modules
|
||||||
|
@ -508,6 +508,10 @@ (define-public portfolio
|
||||||
(with-directory-excursion (string-append #$output
|
(with-directory-excursion (string-append #$output
|
||||||
"/bin")
|
"/bin")
|
||||||
(symlink "dev.tchx84.Portfolio" "portfolio"))))
|
(symlink "dev.tchx84.Portfolio" "portfolio"))))
|
||||||
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
||||||
|
(lambda _
|
||||||
|
(substitute* "build-aux/meson/postinstall.py"
|
||||||
|
(("gtk-update-icon-cache") "true"))))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(wrap-program (search-input-file outputs
|
(wrap-program (search-input-file outputs
|
||||||
|
@ -519,12 +523,12 @@ (define-public portfolio
|
||||||
`("GI_TYPELIB_PATH" =
|
`("GI_TYPELIB_PATH" =
|
||||||
(,(getenv "GI_TYPELIB_PATH")))))))))
|
(,(getenv "GI_TYPELIB_PATH")))))))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(inputs (list bash-minimal python-pygobject gtk+ libhandy))
|
(inputs (list bash-minimal python-pygobject gtk libadwaita))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list desktop-file-utils
|
(list desktop-file-utils
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
`(,glib "bin")
|
`(,glib "bin")
|
||||||
`(,gtk+ "bin")
|
pkg-config
|
||||||
python))
|
python))
|
||||||
(home-page "https://github.com/tchx84/Portfolio")
|
(home-page "https://github.com/tchx84/Portfolio")
|
||||||
(synopsis "Minimalist file manager for Linux mobile devices")
|
(synopsis "Minimalist file manager for Linux mobile devices")
|
||||||
|
|
Loading…
Reference in a new issue