waybar: mpd_clientlib -> libmpdclient
This commit is contained in:
parent
9ac26e0f9c
commit
a6b8246c91
1 changed files with 68 additions and 53 deletions
|
@ -1,5 +1,19 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, wrapGAppsHook
|
{ lib
|
||||||
, wayland, wlroots, gtkmm3, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, pkg-config
|
||||||
|
, ninja
|
||||||
|
, wrapGAppsHook
|
||||||
|
, wayland
|
||||||
|
, wlroots
|
||||||
|
, gtkmm3
|
||||||
|
, libsigcxx
|
||||||
|
, jsoncpp
|
||||||
|
, fmt
|
||||||
|
, scdoc
|
||||||
|
, spdlog
|
||||||
|
, gtk-layer-shell
|
||||||
, howard-hinnant-date, cmake
|
, howard-hinnant-date, cmake
|
||||||
, traySupport ? true, libdbusmenu-gtk3
|
, traySupport ? true, libdbusmenu-gtk3
|
||||||
, pulseSupport ? true, libpulseaudio
|
, pulseSupport ? true, libpulseaudio
|
||||||
|
@ -7,10 +21,11 @@
|
||||||
, nlSupport ? true, libnl
|
, nlSupport ? true, libnl
|
||||||
, udevSupport ? true, udev
|
, udevSupport ? true, udev
|
||||||
, swaySupport ? true, sway
|
, swaySupport ? true, sway
|
||||||
, mpdSupport ? true, mpd_clientlib
|
, mpdSupport ? true, libmpdclient
|
||||||
, withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl
|
, withMediaPlayer ? false, glib, gobject-introspection, python3, python38Packages, playerctl
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "waybar";
|
pname = "waybar";
|
||||||
version = "0.9.5";
|
version = "0.9.5";
|
||||||
|
|
||||||
|
@ -40,7 +55,7 @@
|
||||||
++ optional nlSupport libnl
|
++ optional nlSupport libnl
|
||||||
++ optional udevSupport udev
|
++ optional udevSupport udev
|
||||||
++ optional swaySupport sway
|
++ optional swaySupport sway
|
||||||
++ optional mpdSupport mpd_clientlib;
|
++ optional mpdSupport libmpdclient;
|
||||||
|
|
||||||
mesonFlags = (lib.mapAttrsToList
|
mesonFlags = (lib.mapAttrsToList
|
||||||
(option: enable: "-D${option}=${if enable then "enabled" else "disabled"}")
|
(option: enable: "-D${option}=${if enable then "enabled" else "disabled"}")
|
||||||
|
@ -71,4 +86,4 @@
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
homepage = "https://github.com/alexays/waybar";
|
homepage = "https://github.com/alexays/waybar";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue