[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
231/402: gnu: totem-pl-parser: Update package definition.
From: |
guix-commits |
Subject: |
231/402: gnu: totem-pl-parser: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:46 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit e1d58ec363c2d1d60f087269bd091cecd191a342
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 30 16:16:35 2020 -0400
gnu: totem-pl-parser: Update package definition.
* gnu/packages/gnome.scm (totem-pl-parser) [version]: Update to
3.26.5.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "doc".
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Denable-gtk-doc]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add docbook-xml and gtk-doc.
[inputs]: Add libgcrypt and libquvi.
[propagated-inputs]: Add glib-networking. Remove gmime and libgcrypt.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 93 ++++++++++++++++++++++++++++++++------------------
1 file changed, 60 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49917e2..13fc06d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5925,39 +5925,66 @@ settings, themes, mouse settings, and startup of other
daemons.")
(license license:gpl2+)))
(define-public totem-pl-parser
- (package
- (name "totem-pl-parser")
- (version "3.26.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
- (version-major+minor version) "/"
- "totem-pl-parser-" version ".tar.xz"))
- (sha256
- (base32
- "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
- (build-system meson-build-system)
- (arguments
- ;; FIXME: Tests require gvfs.
- `(#:tests? #f))
- (native-inputs
- `(("intltool" ,intltool)
- ("glib" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("pkg-config" ,pkg-config)))
- (propagated-inputs
- `(("glib" ,glib)
- ("gmime" ,gmime)
- ("libarchive" ,libarchive)
- ("libgcrypt" ,libgcrypt)
- ("libxml2" ,libxml2)))
- (inputs
- `(("libsoup" ,libsoup)))
- (home-page "https://projects.gnome.org/totem")
- (synopsis "Library to parse and save media playlists for GNOME")
- (description "Totem-pl-parser is a GObjects-based library to parse and save
-playlists in a variety of formats.")
- (license license:lgpl2.0+)))
+ (package
+ (name "totem-pl-parser")
+ (version "3.26.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/totem-pl-parser/"
+ (version-major+minor version) "/"
+ "totem-pl-parser-" version ".tar.xz"))
+ (sha256
+ (base32 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
+ (build-system meson-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:tests? #f ; Tests require networking
+ #:configure-flags
+ (list
+ "-Denable-gtk-doc=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference"
+ (substitute* "totem-pl-parser-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (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.3)
+ ("intltool" ,intltool)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libgcrypt" ,libgcrypt)
+ ("libquvi" ,libquvi)
+ ("libsoup" ,libsoup)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("libarchive" ,libarchive)
+ ("libxml2" ,libxml2)))
+ (synopsis "Totem Playlist Parser")
+ (description "Totem-pl-parser is a simple GObject-based library to parse a
+host of playlist formats, as well as save those.")
+ (home-page "http://wiki.gnome.org/Apps/Videos")
+ (license license:lgpl2.0+)))
(define-public aisleriot
(package
- 390/402: gnu: gnome-music: Replace custom typelib and python wraps., (continued)
- 390/402: gnu: gnome-music: Replace custom typelib and python wraps., guix-commits, 2020/08/18
- 395/402: gnu: openni2: Replace openjdk with icedtea., guix-commits, 2020/08/18
- 397/402: gnu: flatpak: Update package definition., guix-commits, 2020/08/18
- 396/402: services: Add udev rules and dbus services to gnome-desktop-service-type., guix-commits, 2020/08/18
- 398/402: Revert "gnu: libpeas: Include python phases.", guix-commits, 2020/08/18
- 400/402: gnu: Add generic desktop services., guix-commits, 2020/08/18
- 401/402: gnu: Add gnome desktop services., guix-commits, 2020/08/18
- 213/402: gnu: libdmapsharing: Update home-page., guix-commits, 2020/08/18
- 214/402: gnu: seed: Fix tests., guix-commits, 2020/08/18
- 216/402: gnu: mobile-broadband-provider-info: Update package definition., guix-commits, 2020/08/18
- 231/402: gnu: totem-pl-parser: Update package definition.,
guix-commits <=
- 243/402: gnu: gedit: Update package definition., guix-commits, 2020/08/18
- 249/402: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/18
- 251/402: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/18
- 253/402: gnu: gnome-control-center: Update package definition., guix-commits, 2020/08/18
- 257/402: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-proc-macro2., guix-commits, 2020/08/18
- 261/402: gnu: rust-serial-test-derive: Remove duplicate definition., guix-commits, 2020/08/18
- 263/402: gnu: rust-cssparser-macros: Remove duplicate definition., guix-commits, 2020/08/18
- 270/402: gnu: rust-serial-test: Remove duplicate definition., guix-commits, 2020/08/18
- 271/402: gnu: rust-servo-arc: Remove duplicate definition., guix-commits, 2020/08/18
- 272/402: gnu: rust-string-cache: Remove duplicate definition., guix-commits, 2020/08/18