all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexandros Theodotou <alex@zrythm.org>
To: 38095@debbugs.gnu.org
Subject: [bug#38095] [PATCH] gnu: Add matcha-theme.
Date: Thu, 07 Nov 2019 16:51:30 +0100	[thread overview]
Message-ID: <59590cc41c29c6a01025388b0b0200c6@posteo.net> (raw)
In-Reply-To: <3f860943566a5c5c59f97b17d6ecf150@posteo.net>

Forgot license header.

 From 0107cd76c0db3c70cc1e1ccdbc8be9710337e711 Mon Sep 17 00:00:00 2001
 From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.

* gnu/packages/matcha-theme.scm (matcha-theme): New variable.
---
  gnu/packages/gnome.scm | 50 ++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 50 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..c044d33537 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -42,6 +42,7 @@
  ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
  ;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
  ;;; Copyright © 2019 David Wilson <david@daviwil.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -7105,6 +7106,55 @@ dark elements.  It supports GNOME, Unity, Xfce, 
and Openbox.")
      (home-page "https://numixproject.github.io")
      (license license:gpl3+)))

+(define-public matcha-theme
+  (package
+   (name "matcha-theme")
+   (version "2019-11-02")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append 
"https://github.com/vinceliuice/matcha/archive/" version
+                                ".tar.gz"))
+            (sha256
+             (base32
+              
"0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4"))))
+   (build-system trivial-build-system)
+   (outputs '("out"))
+   (arguments
+    '(#:modules ((guix build utils))
+      #:builder
+      (begin
+        (use-modules (guix build utils))
+        (let* ((out (assoc-ref %outputs "out"))
+               (source (assoc-ref %build-inputs "source"))
+               (tar (assoc-ref %build-inputs "tar"))
+               (bash (assoc-ref %build-inputs "bash"))
+               (gzip (assoc-ref %build-inputs "gzip"))
+               (coreutils (assoc-ref %build-inputs "coreutils"))
+               (themesdir (string-append out "/share/themes")))
+          (setenv "PATH" (string-append tar "/bin:"
+                                        (string-append gzip "/bin:")
+                                        (string-append coreutils 
"/bin:")))
+          (invoke "tar" "xf" source)
+          (chdir "matcha-2019-11-02")
+          (substitute* "Install" (("/bin/bash") (string-append bash 
"/bin/bash")))
+          (mkdir-p themesdir)
+          (invoke (string-append bash "/bin/bash") "-c"
+                  (string-append "./Install -d " themesdir))))))
+   (inputs
+    `(("gtk-engines", gtk-engines)))
+   (native-inputs
+    `(("tar", tar)
+      ("bash", bash)
+      ("coreutils", coreutils)
+      ("gzip", gzip)))
+   (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+   (description
+    "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
+which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+   (home-page "https://github.com/vinceliuice/matcha")
+   (license license:gpl3)))
+
  (define-public arc-theme
    (package
      (name "arc-theme")
-- 
2.24.0

  reply	other threads:[~2019-11-07 16:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-07  6:02 [bug#38095] [PATCH] gnu: Add matcha-theme Alexandros Theodotou
2019-11-07 15:45 ` Alexandros Theodotou
2019-11-07 15:51   ` Alexandros Theodotou [this message]
2019-11-07 19:44     ` Alexandros Theodotou
2019-11-08 23:47       ` Alexandros Theodotou
2019-11-09 10:03 ` Leo Prikler
2019-11-09 21:47   ` bug#38095: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59590cc41c29c6a01025388b0b0200c6@posteo.net \
    --to=alex@zrythm.org \
    --cc=38095@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.