waybar: mpd_clientlib -> libmpdclient

This commit is contained in:
AndersonTorres 2021-02-12 08:34:53 -03:00
parent 9ac26e0f9c
commit a6b8246c91

View file

@ -1,5 +1,19 @@
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, wrapGAppsHook
, wayland, wlroots, gtkmm3, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
{ lib
, stdenv
, fetchFromGitHub
, meson
, pkg-config
, ninja
, wrapGAppsHook
, wayland
, wlroots
, gtkmm3
, libsigcxx
, jsoncpp
, fmt
, scdoc
, spdlog
, gtk-layer-shell
, howard-hinnant-date, cmake
, traySupport ? true, libdbusmenu-gtk3
, pulseSupport ? true, libpulseaudio
@ -7,10 +21,11 @@
, nlSupport ? true, libnl
, udevSupport ? true, udev
, swaySupport ? true, sway
, mpdSupport ? true, mpd_clientlib
, mpdSupport ? true, libmpdclient
, withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "waybar";
version = "0.9.5";
@ -40,7 +55,7 @@
++ optional nlSupport libnl
++ optional udevSupport udev
++ optional swaySupport sway
++ optional mpdSupport mpd_clientlib;
++ optional mpdSupport libmpdclient;
mesonFlags = (lib.mapAttrsToList
(option: enable: "-D${option}=${if enable then "enabled" else "disabled"}")
@ -71,4 +86,4 @@
platforms = platforms.unix;
homepage = "https://github.com/alexays/waybar";
};
}
}