# Template file for 'Waybar' pkgname=Waybar version=0.10.2 revision=1 build_style=meson configure_args="-Dlibudev=enabled -Dman-pages=enabled -Dsystemd=disabled -Drfkill=enabled $(vopt_feature libnl libnl) $(vopt_feature pulseaudio pulseaudio) $(vopt_feature dbusmenugtk dbusmenu-gtk) $(vopt_feature mpd mpd) $(vopt_feature sndio sndio) $(vopt_feature jack jack) $(vopt_feature pipewire wireplumber)" hostmakedepends="cmake pkg-config glib-devel wayland-devel scdoc $(vopt_if dbusmenugtk gobject-introspection)" makedepends="libevdev-devel libinput-devel wayland-devel gtkmm-devel spdlog eudev-libudev-devel gtk-layer-shell-devel jsoncpp-devel libglib-devel libsigc++-devel fmt-devel chrono-date-devel playerctl-devel $(vopt_if pipewire 'wireplumber-devel pipewire-devel') $(vopt_if libnl libnl3-devel) $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if dbusmenugtk libdbusmenu-gtk3-devel) $(vopt_if mpd libmpdclient-devel) $(vopt_if sndio sndio-devel) $(vopt_if jack jack-devel)" short_desc="Polybar-like Wayland Bar for Sway and Wlroots based compositors" maintainer="Érico Nogueira " license="MIT" homepage="https://github.com/Alexays/Waybar" changelog="https://github.com/Alexays/Waybar/releases" distfiles="https://github.com/Alexays/Waybar/archive/refs/tags/${version}.tar.gz" checksum=7ecccfe5d326d66987a32e77e02b825019d191670ab8e87412df01dd0913f9c0 conf_files="/etc/xdg/waybar/config.jsonc /etc/xdg/waybar/style.css" build_options="libnl pulseaudio dbusmenugtk mpd sndio jack pipewire" build_options_default="libnl pulseaudio dbusmenugtk mpd sndio jack pipewire" desc_option_libnl="Enable libnl support for network related features" desc_option_dbusmenugtk="Enable support for tray" desc_option_mpd="Enable support for MPD" desc_option_pipewire="Enable support for pipewire related features" post_install() { vlicense LICENSE }