[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/265: gnu: clutter-gst: Update package definition.
From: |
guix-commits |
Subject: |
03/265: gnu: clutter-gst: Update package definition. |
Date: |
Wed, 19 Aug 2020 13:08:23 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 5e3e79ccd3b4cf4fa303dabfdf03049ee709d04c
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 835984d..cad84c5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5541,28 +5541,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
- branch wip-desktop created (now 0014697), guix-commits, 2020/08/19
- 01/265: gnu: clutter: Update to 1.26.4., guix-commits, 2020/08/19
- 02/265: gnu: clutter-gtk: Update package definition., guix-commits, 2020/08/19
- 05/265: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/08/19
- 07/265: gnu: at-spi2-core: Update package definition., guix-commits, 2020/08/19
- 08/265: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/08/19
- 09/265: gnu: atk: Update to 2.36.0., guix-commits, 2020/08/19
- 10/265: gnu: google-brotli: Update package definition., guix-commits, 2020/08/19
- 17/265: gnu: gcab: Update to 1.4., guix-commits, 2020/08/19
- 03/265: gnu: clutter-gst: Update package definition.,
guix-commits <=
- 04/265: gnu: geoclue: Update to 2.5.6., guix-commits, 2020/08/19
- 06/265: gnu: appstream-glib: Update package definition., guix-commits, 2020/08/19
- 12/265: gnu: cogl: Update package definition., guix-commits, 2020/08/19
- 14/265: gnu: enchant-1.6: Update package definition., guix-commits, 2020/08/19
- 16/265: gnu: fcitx: Update package definition., guix-commits, 2020/08/19
- 18/265: gnu: gcr: Update to 3.36.0., guix-commits, 2020/08/19
- 15/265: gnu: enchant: Update package definition., guix-commits, 2020/08/19
- 20/265: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/08/19
- 22/265: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/08/19
- 23/265: gnu: gsettings-desktop-schemas: Update package definition., guix-commits, 2020/08/19