[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
192/402: gnu: gsound: Update package definition.
From: |
guix-commits |
Subject: |
192/402: gnu: gsound: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:34 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 33d0f367d5ab536ff4452136a6ee775800d3dd5f
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 24 13:10:42 2020 -0400
gnu: gsound: Update package definition.
* gnu/packages/gnome.scm (gsound): Update package definition.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[--disable-static]: New flag.
[--enable-gtk-doc]: New flag.
[--with-html-dir=]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml and gtk-doc.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 50 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 35 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a2528d9..064b600 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1208,7 +1208,6 @@ for creating UPnP devices and control points, written in
C using
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
- ("libxml" ,libxml2)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(inputs
@@ -9508,28 +9507,49 @@ specified duration and save it as a GIF encoded
animated image file.")
(package
(name "gsound")
(version "1.0.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:configure-flags
+ (list
+ "--disable-static"
+ "--enable-gtk-doc"
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute* "gsound-docs.sgml"
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("docbook-xml" ,docbook-xml-4.3)
("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)
("vala" ,vala)))
(inputs
`(("glib" ,glib)
("libcanberra" ,libcanberra)))
- (home-page "https://wiki.gnome.org/Projects/GSound")
(synopsis "GObject wrapper for libcanberra")
- (description
- "GSound is a small library for playing system sounds. It's designed to be
-used via GObject Introspection, and is a thin wrapper around the libcanberra C
-library.")
+ (description "GSound is a small library for playing system sounds. It's
+designed to be used via GObject Introspection, and is a thin wrapper around the
+libcanberra C library.")
+ (home-page "https://wiki.gnome.org/Projects/GSound")
(license license:lgpl2.1+)))
(define-public libzapojit
- 136/402: gnu: woff2: Update package definition., (continued)
- 136/402: gnu: woff2: Update package definition., guix-commits, 2020/08/18
- 134/402: gnu: libwpe: Update package definition., guix-commits, 2020/08/18
- 137/402: gnu: Add wpewebkit., guix-commits, 2020/08/18
- 148/402: gnu: libsigc++: Update package definition., guix-commits, 2020/08/18
- 165/402: gnu: Add gtx., guix-commits, 2020/08/18
- 170/402: gnu: Add mmm., guix-commits, 2020/08/18
- 179/402: gnu: gnome-online-miners: Update package definition., guix-commits, 2020/08/18
- 177/402: gnu: gnome-online-accounts: Update package definition., guix-commits, 2020/08/18
- 167/402: gnu: Add zeitgeist., guix-commits, 2020/08/18
- 183/402: gnu: gom: Update package definition., guix-commits, 2020/08/18
- 192/402: gnu: gsound: Update package definition.,
guix-commits <=
- 193/402: gnu: gspell: Update package definition., guix-commits, 2020/08/18
- 191/402: gnu: gupnp-dlna: Update package definition., guix-commits, 2020/08/18
- 187/402: gnu: gssdp: Update package definition., guix-commits, 2020/08/18
- 195/402: gnu: Add gnome-js-common., guix-commits, 2020/08/18
- 201/402: gnu: libgsf: Update package definition., guix-commits, 2020/08/18
- 206/402: gnu: libgxps: Update package definition., guix-commits, 2020/08/18
- 212/402: gnu: libzapojit: Update package definition., guix-commits, 2020/08/18
- 226/402: gnu: Add libgrss., guix-commits, 2020/08/18
- 224/402: Revert "gnu: java-jakarta-oro: Update hash.", guix-commits, 2020/08/18
- 238/402: gnu: eog: Update package definition., guix-commits, 2020/08/18