[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/32: gnu: clutter-gtk: Update package definition.
From: |
guix-commits |
Subject: |
17/32: gnu: clutter-gtk: Update package definition. |
Date: |
Tue, 23 Jun 2020 14:52:05 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 28839a28d6d2f9a7b01382840402985828edb159
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri May 29 10:01:08 2020 -0400
gnu: clutter-gtk: Update package definition.
* gnu/packages/gnome.scm (clutter-gtk): Update package definition.
[build-system]: Change from gnu-build-system to meson-build-system.
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Denable_docs]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gettext and gtk-doc.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Change from http to https.
[license]: Update to lgpl2.1+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 43 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index efa6be0..5a874f2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4997,27 +4997,56 @@ box UIs, presentations, kiosk style applications and so
on.")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
(sha256
(base32
"01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
- (build-system gnu-build-system)
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas.
+ #:configure-flags
+ (list
+ "-Denable_docs=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook")))
+ (substitute* "doc/clutter-gtk-1.0-docs.xml"
+ (("http://.*/docbookx\\.dtd")
+ (string-append xmldoc "/docbookx.dtd")))
+ #t)))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("gobject-introspection" ,gobject-introspection)))
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("gettext" ,gettext-minimal)
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
(propagated-inputs
- ;; clutter-gtk.pc refers to all these.
`(("clutter" ,clutter)
("gtk+" ,gtk+)))
- (home-page "http://www.clutter-project.org")
- (synopsis "OpenGL-based interactive canvas library GTK+ widget")
- (description
- "Clutter is an OpenGL-based interactive canvas library, designed for
-creating fast, mainly 2D single window applications such as media box UIs,
-presentations, kiosk style applications and so on.")
- (license license:lgpl2.0+)))
+ (synopsis "GTK+ integration library for Clutter")
+ (description "Clutter-GTK is a library providing facilities to integrate
+Clutter into GTK+ applications and vice versa. It provides a GTK+ widget,
+GtkClutterEmbed, for embedding the a Clutter stage into any GtkContainer; and
+GtkClutterActor, a Clutter actor for embedding any GtkWidget inside a Clutter
+stage.")
+ (home-page "https://www.clutter-project.org")
+ (license license:lgpl2.1+)))
(define-public clutter-gst
(package
- 10/32: gnu: appstream-glib: Update package definition., (continued)
- 10/32: gnu: appstream-glib: Update package definition., guix-commits, 2020/06/23
- 11/32: gnu: at-spi2-core: Update package definition., guix-commits, 2020/06/23
- 19/32: gnu: cogl: Update package definition., guix-commits, 2020/06/23
- 20/32: gnu: dconf: Update to 0.36.0., guix-commits, 2020/06/23
- 22/32: gnu: Add ronn., guix-commits, 2020/06/23
- 27/32: gnu: fcitx: Update package definition., guix-commits, 2020/06/23
- 06/32: gnu: Add libxmlb., guix-commits, 2020/06/23
- 05/32: gnu: Add portablexdr., guix-commits, 2020/06/23
- 15/32: gnu: font-cantarell: Update package definition., guix-commits, 2020/06/23
- 14/32: gnu: google-brotli: Update package definition., guix-commits, 2020/06/23
- 17/32: gnu: clutter-gtk: Update package definition.,
guix-commits <=
- 09/32: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/06/23
- 21/32: gnu: catch-framework2: Update to 2.3.0., guix-commits, 2020/06/23
- 18/32: gnu: clutter-gst: Update package definition., guix-commits, 2020/06/23
- 31/32: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/06/23
- 23/32: gnu: Add nuspell., guix-commits, 2020/06/23
- 30/32: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/06/23
- 16/32: gnu: clutter: Update to 1.26.4., guix-commits, 2020/06/23
- 08/32: gnu: Add gnome-photos., guix-commits, 2020/06/23
- 26/32: gnu: Add presage., guix-commits, 2020/06/23
- 29/32: gnu: gcr: Update to 3.36.0., guix-commits, 2020/06/23