[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/86: gnu: graphene: Update package definition.
From: |
guix-commits |
Subject: |
37/86: gnu: graphene: Update package definition. |
Date: |
Sun, 5 Jul 2020 16:17:00 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 9abf35b54e1d53eacc93732d487c8cc1760eb5ed
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Jun 9 09:44:44 2020 -0400
gnu: graphene: Update package definition.
* gnu/packages/gtk.scm (graphene): Update package definition.
[source]<origin>[method]: Change from url-fetch to git-fetch.
[uri]: Add git-reference.
[sha256]: Modify base32.
[arguments]<#:glib-or-gtk?>: New argument.
[native-inputs]: Add git-minimal and mutest.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gtk.scm | 38 +++++++++++++++++++++++---------------
1 file changed, 23 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9520d6c..bff7da2 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -83,6 +83,7 @@
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages cups)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages xdisorg)
@@ -1786,27 +1787,34 @@ Parcellite and adds bugfixes and features.")
(package
(name "graphene")
(version "1.10.0")
- (source (origin
- (method url-fetch)
- (uri (string-append
"https://github.com/ebassi/graphene/releases/"
- "download/" version
- "/graphene-" version ".tar.xz"))
- (sha256
- (base32
"16b4hz73bnrgv5v8n96dczkd6xp9qc06lrl43zln3jnl3psrfva0"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/ebassi/graphene.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14a0j1rvjlc7yhfdmhmckdmkzy4ch61qbzywdlw1xv58h23wx29p"))))
(build-system meson-build-system)
(arguments
- `(#:configure-flags '("-Dinstalled_tests=false")))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dinstalled_tests=false")))
(native-inputs
- `(("gobject-introspection" ,gobject-introspection)
+ `(("git" ,git-minimal)
+ ("gobject-introspection" ,gobject-introspection)
+ ("mutest" ,mutest)
("pkg-config" ,pkg-config)))
(inputs
- `(("python" ,python)
- ("glib" ,glib)))
- (home-page "https://ebassi.github.io/graphene/")
+ `(("glib" ,glib)
+ ("python" ,python)))
(synopsis "Thin layer of graphic data types")
- (description "This library provides graphic types and their relative API;
-it does not deal with windowing system surfaces, drawing, scene graphs, or
-input.")
+ (description "Graphene provides graphic types and their relative API; it
+does not deal with windowing system surfaces, drawing, scene graphs, or
input.")
+ (home-page "https://ebassi.github.io/graphene/")
(license license:expat)))
(define-public spread-sheet-widget
- 19/86: gnu: cogl: Update package definition., (continued)
- 19/86: gnu: cogl: Update package definition., guix-commits, 2020/07/05
- 26/86: gnu: Add presage., guix-commits, 2020/07/05
- 28/86: gnu: gcab: Update to 1.4., guix-commits, 2020/07/05
- 29/86: gnu: gcr: Update to 3.36.0., guix-commits, 2020/07/05
- 25/86: gnu: enchant: Update package definition., guix-commits, 2020/07/05
- 31/86: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/07/05
- 22/86: gnu: Add ronn., guix-commits, 2020/07/05
- 23/86: gnu: Add nuspell., guix-commits, 2020/07/05
- 30/86: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/07/05
- 33/86: gnu: Add sysprof., guix-commits, 2020/07/05
- 37/86: gnu: graphene: Update package definition.,
guix-commits <=
- 48/86: gnu: gst-plugins-base: Update package definition., guix-commits, 2020/07/05
- 32/86: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/07/05
- 34/86: gnu: gjs: Update to 1.58.8., guix-commits, 2020/07/05
- 41/86: gnu: glib: Update package definition., guix-commits, 2020/07/05
- 45/86: gnu: gstreamer: Update package definition., guix-commits, 2020/07/05
- 59/86: gnu: Add directfb., guix-commits, 2020/07/05
- 50/86: gnu: Add nanomsg., guix-commits, 2020/07/05
- 14/86: gnu: google-brotli: Update package definition., guix-commits, 2020/07/05
- 44/86: gnu: gobject-introspection: Update package definition., guix-commits, 2020/07/05
- 56/86: gnu: Add tslib., guix-commits, 2020/07/05