diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-12-13 16:29:21 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-12-13 16:29:21 -0500 |
commit | 6dffced09ecda024e0884e352778c221ad066fd6 (patch) | |
tree | 1707e8d8df4d9c47317a39ab6abbfc2ca66a6c29 /gnu/packages/mpd.scm | |
parent | b603554ed044638dd40b6863d5dada59eefe03b8 (diff) | |
parent | e3196755e60ba7f1ed9d432e73f26a85e0c8893c (diff) | |
download | guix-patches-6dffced09ecda024e0884e352778c221ad066fd6.tar guix-patches-6dffced09ecda024e0884e352778c221ad066fd6.tar.gz |
Merge branch 'core-updates-frozen' into 'master'.
At last!
Diffstat (limited to 'gnu/packages/mpd.scm')
-rw-r--r-- | gnu/packages/mpd.scm | 161 |
1 files changed, 70 insertions, 91 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index e99dd49adc..596931500c 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2016, 2018, 2019, 2020 Leo Famulari <leo@famulari.name> ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com> -;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net> ;;; Copyright © 2020, 2021 Simon Streit <simon@netpanic.org> ;;; Copyright © 2021 Noah Evans <noah@nevans.me> @@ -88,13 +88,11 @@ "0z979qcjc0dqmpn3q9j174a29akx3zmavz6q6hg31hrrx5l3yy8q")))) (build-system meson-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - - ;; For building HTML documentation. - ("doxygen" ,doxygen) - - ;; For tests. - ("check" ,check))) + (list pkg-config + ;; For building HTML documentation. + doxygen + ;; For tests. + check)) (arguments `(#:configure-flags (list "-Ddocumentation=true" @@ -120,33 +118,30 @@ interfacing MPD in the C, C++ & Objective C languages.") "0m67wibxc6n6438h2va59n51wwwbwhbdj9635cnpc3wqvlq9sd9g")))) (build-system meson-build-system) (arguments - `(#:meson ,meson-next ; Requires Meson >= 0.56.0 - #:configure-flags '("-Ddocumentation=enabled"))) - (inputs `(("ao" ,ao) - ("alsa-lib" ,alsa-lib) - ("avahi" ,avahi) - ("boost" ,boost) - ("curl" ,curl) - ("ffmpeg" ,ffmpeg) - ("flac" ,flac) - ("fmt" ,fmt) - ("glib" ,glib) - ("icu4c" ,icu4c) - ;; The LAME decoder comes from FFmpeg, but is added here so that - ;; configure picks up the LAME encoder. - ("lame" ,lame) - ("libid3tag" ,libid3tag) - ("libmpdclient" ,libmpdclient) - ("libsamplerate" ,libsamplerate) - ("libsndfile" ,libsndfile) - ("libvorbis" ,libvorbis) - ("opus" ,opus) - ("pulseaudio" ,pulseaudio) - ("sqlite" ,sqlite) - ("zlib" ,zlib))) - (native-inputs `(("cmake" ,cmake) - ("pkg-config" ,pkg-config) - ("python-sphinx" ,python-sphinx))) + `(#:configure-flags '("-Ddocumentation=enabled"))) + (inputs (list ao + alsa-lib + avahi + boost + curl + ffmpeg + flac + fmt + glib + icu4c + ;; The LAME decoder comes from FFmpeg, but is added here so that + ;; configure picks up the LAME encoder. + lame + libid3tag + libmpdclient + libsamplerate + libsndfile + libvorbis + opus + pulseaudio + sqlite + zlib)) + (native-inputs (list cmake pkg-config python-sphinx)) ;; Missing optional inputs: ;; libyajl ;; libcdio_paranoia @@ -190,10 +185,9 @@ protocol.") (base32 "15hjpzqs83v1zx49x8nkpwy9hpl1jxd55z1w50vm82gm32zcqh2g")))) (build-system meson-build-system) - (inputs `(("libmpdclient" ,libmpdclient))) + (inputs (list libmpdclient)) (native-inputs - `(("pkg-config" ,pkg-config) - ("python-sphinx" ,python-sphinx))) + (list pkg-config python-sphinx)) (synopsis "Music Player Daemon client") (description "MPC is a minimalist command line interface to MPD, the music player daemon.") @@ -220,10 +214,7 @@ player daemon.") ;; '$out/share/man/man/man1'. (list (string-append "-Dmandir=" (assoc-ref %outputs "out") "/share")))) - (inputs `(("boost" ,boost) - ("pcre" ,pcre) - ("libmpdclient" ,libmpdclient) - ("ncurses" ,ncurses))) + (inputs (list boost pcre libmpdclient ncurses)) (native-inputs `(("gettext" ,gettext-minimal) ; for xgettext ("pkg-config" ,pkg-config) ("python-sphinx" ,python-sphinx))) @@ -246,15 +237,15 @@ terminal using ncurses.") (base32 "06rs734n120jp51hr0fkkhxrm7zscbhpdwls0m5b5cccghazdazs")))) (build-system gnu-build-system) - (inputs `(("libmpdclient" ,libmpdclient) - ("boost" ,boost) - ("readline" ,readline) - ("ncurses" ,ncurses) - ("taglib" ,taglib) - ("icu4c" ,icu4c) - ("curl" ,curl))) + (inputs (list libmpdclient + boost + readline + ncurses + taglib + icu4c + curl)) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (arguments '(#:configure-flags '("BOOST_LIB_SUFFIX=" "--with-taglib" "--enable-clock"))) @@ -278,11 +269,8 @@ sort playlists, and a local file system browser.") (base32 "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53")))) (build-system meson-build-system) - (inputs `(("boost" ,boost) - ("curl" ,curl) - ("libgcrypt" ,libgcrypt) - ("libmpdclient" ,libmpdclient))) - (native-inputs `(("pkg-config" ,pkg-config))) + (inputs (list boost curl libgcrypt libmpdclient)) + (native-inputs (list pkg-config)) (synopsis "MPD client for track scrobbling") (description "mpdscribble is a Music Player Daemon client which submits information about tracks being played to a scrobbler, such as Libre.FM.") @@ -306,8 +294,7 @@ information about tracks being played to a scrobbler, such as Libre.FM.") (replace 'check (lambda _ (invoke "python" "-m" "pytest" "mpd/tests.py")))))) (native-inputs - `(("python-mock" ,python-mock) - ("python-pytest" ,python-pytest))) + (list python-mock python-pytest)) (home-page "https://github.com/Mic92/python-mpd2") (synopsis "Python MPD client library") (description "Python-mpd2 is a Python library which provides a client @@ -350,12 +337,12 @@ interface for the Music Player Daemon.") (native-inputs `(("gettext" ,gettext-minimal))) (inputs - `(("python-mpd2" ,python-mpd2) - ("gtk+" ,gtk+) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("gobject-introspection" ,gobject-introspection) - ("adwaita-icon-theme" ,adwaita-icon-theme) - ("python-pygobject" ,python-pygobject))) + (list python-mpd2 + gtk+ + gsettings-desktop-schemas + gobject-introspection + adwaita-icon-theme + python-pygobject)) (synopsis "Elegant client for the Music Player Daemon") (description "Sonata is an elegant graphical client for the Music Player Daemon (MPD). It supports playlists, multiple profiles (connecting to different @@ -376,8 +363,8 @@ MPD servers, search and multimedia key support.") (sha256 (base32 "11aa95cg0yca2m2d00sar6wr14g3lc7cfm9bin1h7lk7asdm8azp")))) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs `(("libmpdclient" ,libmpdclient))) + (native-inputs (list pkg-config)) + (inputs (list libmpdclient)) (build-system meson-build-system) (home-page "https://github.com/joshkunz/ashuffle") (synopsis "Automatic library-wide shuffle for mpd") @@ -408,15 +395,12 @@ other MPD frontends.") (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) - (python-path (getenv "PYTHONPATH"))) + (python-path (getenv "GUIX_PYTHONPATH"))) (wrap-program (string-append out "/bin/mpDris2") - `("PYTHONPATH" ":" prefix (,python-path))) + `("GUIX_PYTHONPATH" ":" prefix (,python-path))) #t)))))) (inputs - `(("python-mpd2" ,python-mpd2) - ("python-dbus" ,python-dbus) - ("python-pygobject" ,python-pygobject) - ("python" ,python))) ; Sets PYTHONPATH. + (list python-mpd2 python-dbus python-pygobject python)) ; Sets GUIX_PYTHONPATH. ;; For bootstrapping. (native-inputs `(("autoconf" ,autoconf) @@ -446,19 +430,19 @@ support") (arguments `(#:tests? #f)) ; No test suite (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs - `(("eudev" ,eudev) - ("ffmpeg" ,ffmpeg) - ("libcdio-paranoia" ,libcdio-paranoia) - ("libebur128" ,libebur128) - ("libmtp" ,libmtp) - ("mpg123" ,mpg123) - ("qtbase" ,qtbase-5) - ("qtmultimedia" ,qtmultimedia) - ("qtsvg" ,qtsvg) - ("taglib" ,taglib) - ("zlib" ,zlib))) + (list eudev + ffmpeg + libcdio-paranoia + libebur128 + libmtp + mpg123 + qtbase-5 + qtmultimedia + qtsvg + taglib + zlib)) (synopsis "Graphical MPD Client") (description "Cantata is a graphical client for the Music Player Daemon (MPD), using the Qt5 toolkit. Its user interface is highly customizable, @@ -489,11 +473,7 @@ artists along with albumart.") ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config))) (inputs - `(("avahi" ,avahi) - ("dconf" ,dconf) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("gtk+" ,gtk+) - ("python-pygobject" ,python-pygobject))) + (list avahi dconf gsettings-desktop-schemas gtk+ python-pygobject)) (arguments `(#:imported-modules ((guix build glib-or-gtk-build-system) ,@%python-build-system-modules) @@ -507,9 +487,8 @@ artists along with albumart.") (let ((prog (string-append (assoc-ref outputs "out") "/bin/mcg"))) (wrap-program prog - `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) - #t))) + `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))) (add-after 'wrap-program 'glib-or-gtk-wrap (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (synopsis "Covergrid for the MPD") |