[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
189/401: gnu: gupnp-av: Update package definition.
From: |
guix-commits |
Subject: |
189/401: gnu: gupnp-av: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:21:27 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 67cf38e26def32bd10276b2d9e4b349bc9eb9716
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 24 10:19:20 2020 -0400
gnu: gupnp-av: Update package definition.
* gnu/packages/gnome.scm (gupnp-av): Update package definition.
[build-system]: Change from gnu to glib-or-gtk.
[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 vala. Remove libxml2.
[inputs]: Add libxml2.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 73 ++++++++++++++++++++++++++++++++------------------
1 file changed, 47 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 83be5a1..af3da1d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1202,32 +1202,53 @@ given profile, etc. DLNA is a subset of UPnP A/V.")
(define-public gupnp-av
(package
- (name "gupnp-av")
- (version "0.12.11")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
- (build-system gnu-build-system)
- (native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gtk-doc" ,gtk-doc)
- ("libxml" ,libxml2)
- ("pkg-config" ,pkg-config)))
- (inputs
- `(("gtk+" ,gtk+)
- ("gupnp" ,gupnp)))
- (synopsis "GUPnP A/V for GNOME")
- (description "This package provides a small library for handling
-and implementation of UPnP A/V profiles.")
- (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
- (license license:lgpl2.0+)))
+ (name "gupnp-av")
+ (version "0.12.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
+ (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 "doc"
+ (substitute* "gupnp-av-docs.sgml"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
+ (native-inputs
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("gettext" ,gettext-minimal)
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("gupnp" ,gupnp)
+ ("libxml2" ,libxml2)))
+ (synopsis "GUPnP A/V for GNOME")
+ (description "GUPnP-AV is a small utility library that aims to ease the
+handling and implementation of UPnP A/V profiles.")
+ (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
+ (license license:lgpl2.0+)))
(define-public libmediaart
(package
- 208/401: gnu: libmediaart: Update package definition., (continued)
- 208/401: gnu: libmediaart: Update package definition., guix-commits, 2020/08/18
- 214/401: gnu: seed: Fix tests., guix-commits, 2020/08/18
- 66/401: gnu: Add libquicktime., guix-commits, 2020/08/18
- 157/401: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/08/18
- 159/401: gnu: gtkmm-2: Update package definition., guix-commits, 2020/08/18
- 164/401: gnu: evolution-data-server: Update package definition., guix-commits, 2020/08/18
- 166/401: gnu: Add dee., guix-commits, 2020/08/18
- 168/401: gnu: folks: Update package definition., guix-commits, 2020/08/18
- 176/401: gnu: gnome-autoar: Update package definition., guix-commits, 2020/08/18
- 187/401: gnu: gssdp: Update package definition., guix-commits, 2020/08/18
- 189/401: gnu: gupnp-av: Update package definition.,
guix-commits <=
- 193/401: gnu: gspell: Update package definition., guix-commits, 2020/08/18
- 205/401: gnu: libgweather: Update package definition., guix-commits, 2020/08/18
- 207/401: gnu: libhandy: Update package definition., guix-commits, 2020/08/18
- 211/401: gnu: rest: Update package definition., guix-commits, 2020/08/18
- 219/401: gnu: Add dnssec-trigger., guix-commits, 2020/08/18
- 217/401: gnu: Add ldns., guix-commits, 2020/08/18
- 218/401: gnu: libappindicator: Propagate gtk+ and libdbusmenu., guix-commits, 2020/08/18
- 222/401: gnu: network-manager-applet: Update package definition., guix-commits, 2020/08/18
- 227/401: gnu: vte: Update package definition., guix-commits, 2020/08/18
- 232/401: gnu: Add libstemmer., guix-commits, 2020/08/18