[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: Add gupnp-igd.
From: |
guix-commits |
Subject: |
02/13: gnu: Add gupnp-igd. |
Date: |
Mon, 19 Oct 2020 18:25:20 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 7bc5c0f0e041320348cc86876948fc4e3af85f43
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sun Sep 20 04:11:09 2020 -0400
gnu: Add gupnp-igd.
* gnu/packages/gnome.scm (gupnp-igd): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/gnome.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9da5809..b1e0776 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -215,6 +215,62 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
+(define-public gupnp-igd
+ (package
+ (name "gupnp-igd")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and 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* "gupnp-igd-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml-4.1.2")
+ "/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-4.1.2" ,docbook-xml-4.1.2)
+ ("docbook-xsl" ,docbook-xsl)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gssdp" ,gssdp)
+ ("gupnp" ,gupnp)
+ ("libsoup" ,libsoup)))
+ (synopsis "UPnP IGD for GNOME")
+ (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
+ (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
+ (license license:lgpl2.1+)))
+
(define-public brasero
(package
(name "brasero")
- branch master updated (223c447 -> 2cbda6d), guix-commits, 2020/10/19
- 02/13: gnu: Add gupnp-igd.,
guix-commits <=
- 03/13: gnu: Add farstream., guix-commits, 2020/10/19
- 01/13: gnu: libnice: Propagate gnutls., guix-commits, 2020/10/19
- 07/13: gnu: gajim: Make some cosmetic changes., guix-commits, 2020/10/19
- 08/13: gnu: gajim: Update to 1.2.2., guix-commits, 2020/10/19
- 10/13: gnu: gajim-omemo: Make some cosmetic changes., guix-commits, 2020/10/19
- 13/13: gnu: Add gajim-openpgp., guix-commits, 2020/10/19
- 04/13: gnu: python-nbxmpp: Make some cosmetic changes., guix-commits, 2020/10/19
- 05/13: gnu: python-nbxmpp: Update to 1.0.2., guix-commits, 2020/10/19
- 06/13: gnu: python-nbxmpp: Update synopsis and description., guix-commits, 2020/10/19
- 09/13: gnu: gajim: Update synopsis and description., guix-commits, 2020/10/19