From: Leo Prikler <leo.prikler@student.tugraz.at>
To: 46615@debbugs.gnu.org
Subject: [bug#46615] [PATCH] gnu: Add orchis-theme.
Date: Thu, 18 Feb 2021 13:51:42 +0100 [thread overview]
Message-ID: <20210218125141.21441-1-leo.prikler@student.tugraz.at> (raw)
* gnu/packages/gnome-xyz.scm (orchis-theme): New variable.
---
gnu/packages/gnome-xyz.scm | 56 ++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index aa7949478c..768fa9082e 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -781,6 +781,62 @@ dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
(define-public numix-theme
(deprecated-package "numix-theme" numix-gtk-theme))
+(define-public orchis-theme
+ (package
+ (name "orchis-theme")
+ (version "2021-01-22")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/vinceliuice/Orchis-theme")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1m0wilvrscg2xnkp6a90j0iccxd8ywvfpza1345sc6xmml9gvjzc"))
+ (modules '((guix build utils)
+ (ice-9 regex)
+ (srfi srfi-26)))
+ (snippet
+ '(begin
+ (for-each
+ (lambda (f)
+ (let* ((r (make-regexp "\\.scss"))
+ (f* (regexp-substitute #f (regexp-exec r f) 'pre ".css")))
+ (if (file-exists? f*)
+ (delete-file f*))))
+ (find-files "." ".*\\.scss"))
+ #t))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'bootstrap)
+ (delete 'configure)
+ (replace 'build (lambda _ (invoke "./parse-sass.sh")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((themes (string-append (assoc-ref outputs "out")
+ "/share/themes")))
+ (mkdir-p themes)
+ (invoke "./install.sh" "-d" themes)
+ #t))))))
+ (inputs
+ `(("gtk-engines" ,gtk-engines)))
+ (native-inputs
+ `(;("coreutils" ,coreutils)
+ ("gtk+" ,gtk+)
+ ("sassc" ,sassc)))
+ (home-page "https://github.com/vinceliuice/Orchis-theme")
+ (synopsis "Material Design theme for a wide range of environments")
+ (description "Orchis is a Material Design them for GNOME/GTK based
+desktop environments. It is based on materia-theme and adds more color
+variants.")
+ (license license:gpl3)))
+
(define-public markets
(package
(name "markets")
--
2.30.1
next reply other threads:[~2021-02-18 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 12:51 Leo Prikler [this message]
2021-03-06 17:32 ` bug#46615: [PATCH] gnu: Add orchis-theme Leo Prikler
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210218125141.21441-1-leo.prikler@student.tugraz.at \
--to=leo.prikler@student.tugraz.at \
--cc=46615@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 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).