guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: Add sugar-artwork.


From: guix-commits
Subject: 03/03: gnu: Add sugar-artwork.
Date: Wed, 4 Jan 2023 08:20:08 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit ddebb5c5634fcfbec9571453f2db72b238d73e75
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 4 14:19:14 2023 +0100

    gnu: Add sugar-artwork.
    
    * gnu/packages/sugar.scm (sugar-artwork): New variable.
---
 gnu/packages/sugar.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 655ff79b99..fe6e545d7b 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages search)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -38,6 +39,47 @@
   #:use-module (guix utils)
   #:use-module (guix gexp))
 
+(define-public sugar-artwork
+  (package
+    (name "sugar-artwork")
+    (version "0.120")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/sugarlabs/sugar-artwork";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1mjydyx7kbk429s3kswfb8x7g5smjwnai924avwxab1kjsjjksm9"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      '(list "--without-gtk2")
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'patch-build-system
+           (lambda _
+             (substitute* "autogen.sh"
+               (("^\"\\$srcdir/configure" m)
+                (string-append "#" m))))))))
+    (inputs (list cairo gtk+))
+    (native-inputs
+     (list autoconf automake
+           icon-naming-utils
+           libtool
+           pkg-config
+           python
+           python-empy
+           xcursorgen))
+    (home-page "https://www.sugarlabs.org/";)
+    (synopsis "Sugar icons and themes")
+    (description "Sugar Artwork provides icons, and GTK+ CSS to build
+activities and other Sugar components.")
+    (license (list license:lgpl2.1+
+                   license:asl2.0))))
+
 (define-public sugar-datastore
   (package
     (name "sugar-datastore")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]