[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
191/277: gnu: gupnp-dlna: Update package definition.
From: |
guix-commits |
Subject: |
191/277: gnu: gupnp-dlna: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:33 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 746243d523a10089964345c684e0ab2302d6cd84
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 24 11:38:57 2020 -0400
gnu: gupnp-dlna: Update package definition.
* gnu/packages/gnome.scm (gupnp-dlna): 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. Remove libxml2.
[inputs]: Add libxml2. Remove gstreamer.
[propagated-inputs]: Add glib, glib-networking and gstreamer. Remove
gst-plugins-good.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 88 ++++++++++++++++++++++++++++++++------------------
1 file changed, 57 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d678ca6..147d132 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1169,37 +1169,63 @@ UPnP's internals.")
(define-public gupnp-dlna
(package
- (name "gupnp-dlna")
- (version "0.10.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
- (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)
- ("vala" ,vala)))
- (inputs
- `(("gstreamer" ,gstreamer)
- ("gupnp" ,gupnp)))
- (propagated-inputs
- `(("gst-plugins-base" ,gst-plugins-base)
- ("gst-plugins-good" ,gst-plugins-good)))
- (synopsis "GUPnP DLNA for GNOME")
- (description "This package provides a small utility library to
-support DLNA-related tasks such as media profile guessing, transcoding to a
-given profile, etc. DLNA is a subset of UPnP A/V.")
- (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
- (license license:lgpl2.0+)))
+ (name "gupnp-dlna")
+ (version "0.10.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
+ (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-dlna-gst/gupnp-dlna-gst-docs.sgml"
+ "gupnp-dlna-metadata/gupnp-dlna-metadata-docs.sgml"
+ "gupnp-dlna/gupnp-dlna-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)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("libxml" ,libxml2)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
+ (inputs
+ `(("gupnp" ,gupnp)
+ ("libxml2" ,libxml2)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
+ (synopsis "GUPnP DLNA for GNOME")
+ (description "GUPnP-DLNA is a small utility library that aims to ease the
+DLNA-related tasks such as media profile guessing, transcoding to a given
+profile, etc.")
+ (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
+ (license license:lgpl2.0+)))
(define-public gupnp-av
(package
- 240/277: gnu: texlive-bin: Recompile with -fPIC., (continued)
- 240/277: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/06
- 246/277: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/06
- 223/277: gnu: phodav: Update package definition., guix-commits, 2020/08/06
- 226/277: gnu: Add libgrss., guix-commits, 2020/08/06
- 231/277: gnu: totem-pl-parser: Update package definition., guix-commits, 2020/08/06
- 239/277: gnu: epiphany: Update package definition., guix-commits, 2020/08/06
- 250/277: gnu: gnome-clocks: Update package definition., guix-commits, 2020/08/06
- 182/277: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2020/08/06
- 183/277: gnu: gom: Update package definition., guix-commits, 2020/08/06
- 190/277: gnu: grilo-plugins: Update package definition., guix-commits, 2020/08/06
- 191/277: gnu: gupnp-dlna: Update package definition.,
guix-commits <=
- 210/277: gnu: libpeas: Update package definition., guix-commits, 2020/08/06
- 211/277: gnu: rest: Update package definition., guix-commits, 2020/08/06
- 212/277: gnu: libzapojit: Update package definition., guix-commits, 2020/08/06
- 214/277: gnu: seed: Fix tests., guix-commits, 2020/08/06
- 222/277: gnu: network-manager-applet: Update package definition., guix-commits, 2020/08/06
- 224/277: Revert "gnu: java-jakarta-oro: Update hash.", guix-commits, 2020/08/06
- 252/277: gnu: gnome-contacts: Update package definition., guix-commits, 2020/08/06
- 217/277: gnu: Add ldns., guix-commits, 2020/08/06
- 220/277: gnu: network-manager: Update package definition., guix-commits, 2020/08/06
- 225/277: gnu: gtksourceview: Fix glade., guix-commits, 2020/08/06