[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/100: gnu: clutter-gst: Update package definition.
From: |
guix-commits |
Subject: |
18/100: gnu: clutter-gst: Update package definition. |
Date: |
Wed, 8 Jul 2020 03:36:36 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit e48df768b460ad6d28b3575ac8ad2a5ed3d1b84a
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri May 29 10:51:27 2020 -0400
gnu: clutter-gst: Update package definition.
* gnu/packages/gnome.scm (clutter-gst): Update package definition.
[build-system]: Change from gnu-build-system to glib-or-gtk-build-system.
[outputs]: New output 'doc'.
[arguments]<#:configure-flags>[--enable-gtk-doc]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml, gtk-doc and python-wrapper.
[propagated-inputs]: Add cogl and glib.
[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 | 58 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 43 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5a874f2..1262abc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5055,28 +5055,56 @@ stage.")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/clutter-gst/"
- (version-major+minor version) "/"
- "clutter-gst-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/clutter-gst/"
+ (version-major+minor version) "/"
+ "clutter-gst-" version ".tar.xz"))
(sha256
(base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
- (build-system gnu-build-system)
+ (build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:configure-flags
+ (list
+ "--enable-gtk-doc")
+ #: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/reference/clutter-gst-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
- `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config)
- ("gobject-introspection" ,gobject-introspection)))
- (inputs
+ ("python-wrapper" ,python-wrapper)))
+ (propagated-inputs
`(("clutter" ,clutter)
+ ("cogl" ,cogl)
+ ("glib" ,glib)
("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base)))
- (home-page "http://www.clutter-project.org")
- (synopsis "Integration library for using GStreamer with Clutter")
- (description
- "Clutter-Gst is an integration library for using GStreamer with Clutter.
-It provides a GStreamer sink to upload frames to GL and an actor that
-implements the ClutterGstPlayer interface using playbin. Clutter is an
-OpenGL-based interactive canvas library.")
- (license license:lgpl2.0+)))
+ (synopsis "GStreamer integration library for Clutter")
+ (description "Clutter-Gst is an integration library for using GStreamer
with
+Clutter. It provides a GStreamer sink to upload frames to GL and an actor that
+implements the ClutterGstPlayer interface using playbin.")
+ (home-page "https://www.clutter-project.org")
+ (license license:lgpl2.1+)))
(define-public libchamplain
(package
- 09/100: gnu: adwaita-icon-theme: Update to 3.36.1., (continued)
- 09/100: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/07/08
- 10/100: gnu: appstream-glib: Update package definition., guix-commits, 2020/07/08
- 11/100: gnu: at-spi2-core: Update package definition., guix-commits, 2020/07/08
- 14/100: gnu: google-brotli: Update package definition., guix-commits, 2020/07/08
- 17/100: gnu: clutter-gtk: Update package definition., guix-commits, 2020/07/08
- 16/100: gnu: clutter: Update to 1.26.4., guix-commits, 2020/07/08
- 13/100: gnu: atk: Update to 2.36.0., guix-commits, 2020/07/08
- 21/100: gnu: catch-framework2: Update to 2.3.0., guix-commits, 2020/07/08
- 22/100: gnu: Add ronn., guix-commits, 2020/07/08
- 30/100: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/07/08
- 18/100: gnu: clutter-gst: Update package definition.,
guix-commits <=
- 20/100: gnu: dconf: Update to 0.36.0., guix-commits, 2020/07/08
- 23/100: gnu: Add nuspell., guix-commits, 2020/07/08
- 26/100: gnu: Add presage., guix-commits, 2020/07/08
- 27/100: gnu: fcitx: Update package definition., guix-commits, 2020/07/08
- 28/100: gnu: gcab: Update to 1.4., guix-commits, 2020/07/08
- 29/100: gnu: gcr: Update to 3.36.0., guix-commits, 2020/07/08
- 31/100: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/07/08
- 35/100: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/07/08
- 19/100: gnu: cogl: Update package definition., guix-commits, 2020/07/08
- 24/100: gnu: enchant-1.6: Update package definition., guix-commits, 2020/07/08