[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
291/402: gnu: gnome-music: Update package definition.
From: |
guix-commits |
Subject: |
291/402: gnu: gnome-music: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:48:05 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit dd4488cc4f394011baaeb2c2338fcd622e693d3c
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Aug 6 13:49:43 2020 -0400
gnu: gnome-music: Update package definition.
* gnu/packages/gnome.scm (gnome-music) [version]: Update to 3.36.4.1.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "help".
[arguments]<#:tests?>: New argument.
<#:phases>['skip-gtk-update-icon-cache]: New phase.
['move-help]: New phase.
['wrap-gnome-music]: Modify phase.
[native-inputs]: Remove gtk+:bin.
[inputs]: Add appstream-glib, gtk+ and python. Change gnome-online-accounts
to gnome-online-accounts:lib. Remove gst-plugins-base, gstreamer, gvfs and
tracker-miners.
[propagated-inputs]: Add glib.
[synopsis]: Modify.
[description]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 61 +++++++++++++++++++++++++++++++-------------------
1 file changed, 38 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4c10509..c938890 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -860,7 +860,7 @@ cloud integration is offered through GNOME Online
Accounts.")
(define-public gnome-music
(package
(name "gnome-music")
- (version "3.34.5")
+ (version "3.36.4.1")
(source
(origin
(method url-fetch)
@@ -869,24 +869,38 @@ cloud integration is offered through GNOME Online
Accounts.")
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
- (base32
- "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
+ (base32 "0zdpjgwf48bqb66wrl6k33pzcmc2g3m1046ma7z8xaj9idpi37jh"))))
(build-system meson-build-system)
+ (outputs '("out" "help"))
(arguments
- `(#:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:tests? #f ; Tests require networking
#:phases
(modify-phases %standard-phases
- (add-after 'install 'wrap-gnome-music
+ (add-before 'configure 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("gtk-update-icon-cache")
+ "true"))
+ #t))
+ (add-after 'install 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ #t)))
+ (add-after 'move-help 'wrap-gnome-music
(lambda* (#:key inputs outputs #:allow-other-keys)
- (let*
- ((out (assoc-ref outputs "out"))
- (pylib (string-append out "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
+ (let* ((out (assoc-ref outputs "out"))
+ (pylib (string-append out "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages")))
(wrap-program (string-append out "/bin/gnome-music")
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
- `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv
"GST_PLUGIN_SYSTEM_PATH")))
`("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
`("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
#t)))))
@@ -895,28 +909,29 @@ cloud integration is offered through GNOME Online
Accounts.")
("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
- ("gtk+:bin" ,gtk+ "bin")
("itstools" ,itstool)
("pkg-config" ,pkg-config)))
(inputs
- `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
+ `(("appstream-util" ,appstream-glib)
+ ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
("grilo" ,grilo)
("grilo-plugins" ,grilo-plugins)
- ("gst-plugins-base" ,gst-plugins-base)
- ("gstreamer" ,gstreamer)
- ("gvfs" ,gvfs)
+ ("gtk+" ,gtk+)
("libdazzle" ,libdazzle)
("libmediaart" ,libmediaart)
("libsoup" ,libsoup)
("pycairo" ,python-pycairo)
("pygobject" ,python-pygobject)
- ("tracker" ,tracker)
- ("tracker-miners" ,tracker-miners)))
- (synopsis "Simple music player for GNOME desktop")
- (description "GNOME Music is the new GNOME music playing application that
-aims to combine an elegant and immersive browsing experience with simple
-and straightforward controls.")
+ ("python" ,python)
+ ("tracker" ,tracker)))
+ (propagated-inputs
+ `(("glib" ,glib)))
+ (synopsis "Simple music player")
+ (description "GNOME-Music is the new GNOME music playing application.
+It aims to combine an elegant and immersive browsing experience with simple and
+straightforward controls.")
(home-page "https://wiki.gnome.org/Apps/Music")
+ ;; With added exception clause.
(license license:gpl2+)))
(define-public portablexdr
- 264/402: gnu: rust-cssparser: Remove duplicate definition., (continued)
- 264/402: gnu: rust-cssparser: Remove duplicate definition., guix-commits, 2020/08/18
- 265/402: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 267/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 269/402: gnu: rust-peg@0.5.7: Remove duplicate definition., guix-commits, 2020/08/18
- 276/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-syn., guix-commits, 2020/08/18
- 277/402: gnu: rust-rgb@0.8.20: Fix references to rust-bytemuck, rust-serde, rust-serde-json., guix-commits, 2020/08/18
- 279/402: gnu: gnome-desktop: Update package definition., guix-commits, 2020/08/18
- 282/402: gnu: gnome-getting-started-docs: Update package definition., guix-commits, 2020/08/18
- 283/402: gnu: Add fuse@2.9.9., guix-commits, 2020/08/18
- 286/402: gnu: malcontent: Update package definition., guix-commits, 2020/08/18
- 291/402: gnu: gnome-music: Update package definition.,
guix-commits <=
- 293/402: gnu: gnome-screenshot: Update package definition., guix-commits, 2020/08/18
- 296/402: gnu: gnome-shell-extensions: Update package definition., guix-commits, 2020/08/18
- 304/402: gnu: Add liblouis., guix-commits, 2020/08/18
- 305/402: gnu: Add liblouisutdml., guix-commits, 2020/08/18
- 306/402: gnu: Add latex2html., guix-commits, 2020/08/18
- 310/402: gnu: gst-editing-services: Update package definition., guix-commits, 2020/08/18
- 315/402: gnu: totem: Update package definition., guix-commits, 2020/08/18
- 313/402: gnu: libmusicbrainz: Propagate inputs., guix-commits, 2020/08/18
- 316/402: gnu: wayland: Update package definition., guix-commits, 2020/08/18
- 324/402: gnu: gnome-shell: Update package definition., guix-commits, 2020/08/18