me
/
guix
Archived
1
0
Fork 0

gnu: rhythmbox: Update to 3.4.6.

* gnu/packages/gnome.scm (rhythmbox): Update to 3.4.6.
[build-system]: Use meson-build-system.
[glib-or-gtk?]: New argument.
[configure-flags]: Delete argument.
[phases]{skip-gtk-update-icon-cache}: New phase.
{wrap-rhythmbox}: Simplify.
[native-inputs]: Remove labels.  Replace intltool with gettext-minimal.
[inputs]: Add bash-minimal.  Remove labels.  Remove libsoup.
master
Maxim Cournoyer 2022-09-09 13:51:10 -04:00
parent 77ad9ef333
commit bcb877d391
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 81 additions and 84 deletions

View File

@ -6585,7 +6585,7 @@ which can read a large number of file formats.")
(define-public rhythmbox (define-public rhythmbox
(package (package
(name "rhythmbox") (name "rhythmbox")
(version "3.4.4") (version "3.4.6")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/rhythmbox/" (uri (string-append "mirror://gnome/sources/rhythmbox/"
@ -6593,77 +6593,74 @@ which can read a large number of file formats.")
"rhythmbox-" version ".tar.xz")) "rhythmbox-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf")))) "0d5hbsdk2p8w567mfzy4kk8xn4d227hrbyy857li3r2mrq884mpr"))))
(build-system glib-or-gtk-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags (list
(list "--enable-lirc" #:glib-or-gtk? #t
"--enable-python"
"--enable-vala"
"--with-brasero"
"--with-gudev"
"--with-libsecret")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after (add-after 'unpack 'skip-gtk-update-icon-cache
'install 'wrap-rhythmbox (lambda _
(lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "meson.build"
(let ((out (assoc-ref outputs "out")) (("gtk_update_icon_cache: true")
(gi-typelib-path (getenv "GI_TYPELIB_PATH")) "gtk_update_icon_cache: false"))))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) (add-after 'install 'wrap-rhythmbox
(grl-plugin-path (getenv "GRL_PLUGIN_PATH")) (lambda* (#:key outputs #:allow-other-keys)
(python-path (getenv "GUIX_PYTHONPATH"))) (wrap-program (search-input-file outputs "bin/rhythmbox")
(wrap-program (string-append out "/bin/rhythmbox") `("GI_TYPELIB_PATH" ":" prefix
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)) (,(getenv "GI_TYPELIB_PATH")))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
`("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)) (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))) `("GRL_PLUGIN_PATH" ":" prefix
#t))))) (,(getenv "GRL_PLUGIN_PATH")))
`("GUIX_PYTHONPATH" ":" prefix
(,(getenv "GUIX_PYTHONPATH")))))))))
(propagated-inputs (propagated-inputs
(list dconf)) (list dconf))
(native-inputs (native-inputs
`(("itstool" ,itstool) (list desktop-file-utils
("intltool" ,intltool) gettext-minimal
("glib" ,glib "bin") gobject-introspection
("gobject-introspection" ,gobject-introspection) `(,glib "bin")
("desktop-file-utils" ,desktop-file-utils) itstool
("pkg-config" ,pkg-config) pkg-config
("xmllint" ,libxml2))) vala))
(inputs (inputs
`(("json-glib" ,json-glib)
("tdb" ,tdb)
("gnome-desktop" ,gnome-desktop)
("python" ,python)
("python-pygobject" ,python-pygobject)
("vala" ,vala)
("gmime" ,gmime)
("adwaita-icon-theme" ,adwaita-icon-theme)
("grilo" ,grilo)
("grilo-plugins" ,grilo-plugins)
("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base)
("gst-plugins-good" ,gst-plugins-good)
("totem-pl-parser" ,totem-pl-parser)
("libgudev" ,libgudev)
;;("libmtp" ,libmtp) FIXME: Not detected
("libsecret" ,libsecret)
("libsoup" ,libsoup)
("libnotify" ,libnotify)
("libpeas" ,libpeas)
("libsoup" ,libsoup-minimal-2)
("lirc" ,lirc)
;; TODO: clutter* only used by visualizer plugin, which also requires mx
;;("clutter" ,clutter)
;;("clutter-gtk" ,clutter-gtk)
;;("clutter-gst" ,clutter-gst)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("atk" ,atk)
("pango" ,pango)
("gtk+" ,gtk+)
;; TODO: ;; TODO:
;; * libgpod ;; * libgpod
;; * mx ;; * mx
("brasero" ,brasero))) ;; TODO: clutter* only used by visualizer plugin, which also requires mx
;;clutter
;;clutter-gtk
;;clutter-gst
(list adwaita-icon-theme
atk
bash-minimal
brasero
json-glib
gmime
gnome-desktop
grilo
grilo-plugins
gsettings-desktop-schemas
gst-plugins-base
gst-plugins-good
gstreamer
gtk+
libgudev
libnotify
libpeas
libsecret
libmtp
libsoup-minimal-2
libxml2
lirc
pango
python
python-pygobject
tdb
totem-pl-parser))
(home-page "https://wiki.gnome.org/Apps/Rhythmbox") (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
(synopsis "Music player for GNOME") (synopsis "Music player for GNOME")
(description "Rhythmbox is a music playing application for GNOME. It (description "Rhythmbox is a music playing application for GNOME. It