aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-01-04 14:19:14 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-01-04 14:19:14 +0100
commitddebb5c5634fcfbec9571453f2db72b238d73e75 (patch)
treed939545b7ba8f33d9499d33b0a64ab7a9a030616
parente1e76b7ab82f7160d1b117d8c2e2892b052e1706 (diff)
downloadguix-ddebb5c5634fcfbec9571453f2db72b238d73e75.tar
guix-ddebb5c5634fcfbec9571453f2db72b238d73e75.tar.gz
gnu: Add sugar-artwork.
* gnu/packages/sugar.scm (sugar-artwork): New variable.
-rw-r--r--gnu/packages/sugar.scm42
1 files changed, 42 insertions, 0 deletions
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")