[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
187/401: gnu: gssdp: Update package definition.
From: |
guix-commits |
Subject: |
187/401: gnu: gssdp: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:21:26 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit bf643b5e9c33b19a809673574331e0da6e3f4007
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 24 09:33:48 2020 -0400
gnu: gssdp: Update package definition.
* gnu/packages/gnome.scm (gssdp) [version]: Update to 1.2.3.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "doc".
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Dgtk_doc]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml.
[inputs]: Remove libsoup.
[propagated-inputs]: Add glib, glib-networking and libsoup.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 79 ++++++++++++++++++++++++++++++++++----------------
1 file changed, 54 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2ac94fa..c144a2a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1037,34 +1037,63 @@ Facebook, Flickr, Google, ownCloud and SkyDrive.")
(define-public gssdp
(package
- (name "gssdp")
- (version "1.2.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
- (build-system meson-build-system)
- (native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gtk-doc" ,gtk-doc)
- ("pkg-config" ,pkg-config)
- ("vala" ,vala)))
- (inputs
- `(("gtk+" ,gtk+)
- ("libsoup" ,libsoup)))
- (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
+ (name "gssdp")
+ (version "1.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dgtk_doc=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (substitute* "gssdp-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #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
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
+ (inputs
+ `(("gtk+" ,gtk+)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("libsoup" ,libsoup)))
+ (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
Protocol} for GNOME")
- (description "This package provides a library to handle resource discovery
+ (description "This package provides a library to handle resource discovery
and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
a debugging tool, @command{gssdp-device-sniffer}.")
- (home-page "https://gitlab.gnome.org/GNOME/gssdp")
- (license license:lgpl2.0+)))
+ (home-page "https://gitlab.gnome.org/GNOME/gssdp")
+ (license license:lgpl2.0+)))
(define-public gupnp
(package
- 202/401: gnu: libgtop: Update package definition., (continued)
- 202/401: gnu: libgtop: Update package definition., guix-commits, 2020/08/18
- 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 <=
- 189/401: gnu: gupnp-av: Update package definition., guix-commits, 2020/08/18
- 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