unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46628] gnu: Add movim-desktop.
@ 2021-02-19  1:15 Raghav Gururajan via Guix-patches via
  2021-02-23 17:07 ` Leo Prikler
  2021-03-21 11:36 ` bug#46628: " Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-02-19  1:15 UTC (permalink / raw)
  To: 46628


[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.1.2: 0001-gnu-Add-movim-desktop.patch --]
[-- Type: text/x-patch, Size: 2306 bytes --]

From 90df6f54c0d7fce7a0421fbeb1ba4ae52c3ef98f Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 18 Feb 2021 19:31:24 -0500
Subject: [PATCH] gnu: Add movim-desktop.

* gnu/packages/messaging.scm (movim-desktop): New variable.
---
 gnu/packages/messaging.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 1878c71c7d..a60c9ec8f6 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -130,6 +130,49 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public movim-desktop
+  (let ((commit "83d583b83629dbd2ec448da9a1ffd81f6c1fb295")
+        (revision "3"))
+    (package
+      (name "movim-desktop")
+      (version
+       (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/movim/movim_desktop")
+           (commit commit)))
+         (file-name
+          (git-file-name name version))
+         (sha256
+          (base32 "1lsa3k3wx1d2lk0qs0k5jc5bmapnmpzwynprjf2wihh8c8y3iwlz"))))
+      (build-system qt-build-system)
+      (arguments
+       `(#:tests? #f                    ; No target
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key outputs #:allow-other-keys)
+               (substitute* `("CMakeLists.txt" "movim.desktop")
+                 (("/usr")
+                  (assoc-ref outputs "out"))
+                 (("\"build")
+                  "\"../build"))
+               #t)))))
+      (inputs
+       `(("qtbase" ,qtbase)
+         ("qtdeclarative" ,qtdeclarative)
+         ("qtwebchannel" ,qtwebchannel)))
+      (propagated-inputs
+       `(("qtwebengine" ,qtwebengine)))
+      (synopsis "Desktop Application for Movim")
+      (description "Movim-Desktop is a desktop app for Movim relying on Qt.
+Movim is a social and chat platform that act as a frontend for the XMPP network.")
+      (home-page "https://movim.eu/")
+      (license license:gpl3+))))
+
 (define-public libgnt
   (package
     (name "libgnt")
-- 
2.30.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <0cf2536c-2bdc-61ca-7c0e-168242d927bf@raghavgururajan.name>]

end of thread, other threads:[~2021-03-21 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19  1:15 [bug#46628] gnu: Add movim-desktop Raghav Gururajan via Guix-patches via
2021-02-23 17:07 ` Leo Prikler
2021-03-21 11:36 ` bug#46628: " Nicolas Goaziou
     [not found] <0cf2536c-2bdc-61ca-7c0e-168242d927bf@raghavgururajan.name>
2021-03-21  0:12 ` [bug#46628] " Raghav Gururajan via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).