mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: Add drawing.
* gnu/packages/gnome.scm (drawing): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
c420cec69b
commit
ab170124a3
1 changed files with 51 additions and 0 deletions
|
@ -4256,6 +4256,57 @@ (define-public gnumeric
|
||||||
;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
|
;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
|
||||||
(list license:gpl2 license:gpl3))))
|
(list license:gpl2 license:gpl3))))
|
||||||
|
|
||||||
|
(define-public drawing
|
||||||
|
(package
|
||||||
|
(name "drawing")
|
||||||
|
(version "0.6.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/maoschanz/drawing")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:glib-or-gtk? #t
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((prog (string-append (assoc-ref outputs "out")
|
||||||
|
"/bin/drawing"))
|
||||||
|
(pylib (string-append (assoc-ref outputs "out")
|
||||||
|
"/lib/python"
|
||||||
|
,(version-major+minor
|
||||||
|
(package-version python))
|
||||||
|
"/site-packages")))
|
||||||
|
(wrap-program prog
|
||||||
|
`("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
|
||||||
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
|
||||||
|
#t))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("desktop-file-utils" ,desktop-file-utils)
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
|
("glib:bin" ,glib "bin")
|
||||||
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
("gtk+:bin" ,gtk+ "bin")
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
|
(inputs
|
||||||
|
`(("gdk-pixbuf" ,gdk-pixbuf+svg)
|
||||||
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
||||||
|
("gtk+" ,gtk+)
|
||||||
|
("pango" ,pango)
|
||||||
|
("python-pycairo" ,python-pycairo)
|
||||||
|
("python-pygobject" ,python-pygobject)))
|
||||||
|
(home-page "https://maoschanz.github.io/drawing/")
|
||||||
|
(synopsis "Basic image editor for GNOME")
|
||||||
|
(description
|
||||||
|
"Drawing is a basic image editor aiming at the GNOME desktop.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public gnome-themes-standard
|
(define-public gnome-themes-standard
|
||||||
(package
|
(package
|
||||||
(name "gnome-themes-standard")
|
(name "gnome-themes-standard")
|
||||||
|
|
Loading…
Reference in a new issue