all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59524] [PATCH] gnu: Add portfolio.
@ 2022-11-23 20:33 conses
  0 siblings, 0 replies; only message in thread
From: conses @ 2022-11-23 20:33 UTC (permalink / raw)
  To: 59524

* gnu/packages/gnome-xyz.scm (portfolio): New variable.
---
 gnu/packages/gnome-xyz.scm | 54 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index b7e10100fb..e244b2d302 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1536,3 +1536,57 @@ (define-public tiramisu
 notifications to STDOUT in order to allow the user to process notifications any
 way they prefer.")
     (license license:expat)))
+
+(define-public portfolio
+  (package
+   (name "portfolio")
+   (version "0.9.14")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://github.com/tchx84/Portfolio")
+           (commit (string-append "v" version))))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "0h09v8lhz3kv6qmwjhx3gr7rp6ccfhrzm54gjnaixl4dcg9zddls"))))
+   (arguments
+    (list
+     #:glib-or-gtk? #t
+      #:imported-modules `(,@%meson-build-system-modules
+                           (guix build python-build-system))
+      #:modules '((guix build meson-build-system)
+                  ((guix build python-build-system) #:prefix python:)
+                  (guix build utils))
+     #:phases
+     #~(modify-phases %standard-phases
+         (add-after 'install 'rename-executable
+           (lambda _
+             (with-directory-excursion (string-append #$output "/bin")
+               (rename-file "dev.tchx84.Portfolio" "portfolio"))))
+         (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (wrap-program (search-input-file outputs "bin/portfolio")
+               `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
+                                      ,(python:site-packages inputs outputs)))
+               `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
+   (build-system meson-build-system)
+   (inputs
+    (list
+     bash-minimal
+     python-pygobject
+     gtk+
+     libhandy))
+   (native-inputs
+    (list
+     (list glib "bin")
+     desktop-file-utils
+     gettext-minimal
+     python
+     (list gtk+ "bin")))
+   (home-page "https://github.com/tchx84/Portfolio")
+   (synopsis "A minimalist file manager for those who want to use Linux mobile devices.")
+   (description "Portfolio is a minimalist file manager for those who want to use Linux
+mobile devices.  Tap to activate and long press to select, to browse, open, copy, move,
+delete, or edit your files.")
+   (license license:gpl3)))
-- 
2.38.1



-- 
Best regards,
conses




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-23 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 20:33 [bug#59524] [PATCH] gnu: Add portfolio conses

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.