# Template file for 'Waybar' pkgname=Waybar version=0.9.22 revision=1 build_style=meson configure_args="-Dgtk-layer-shell=enabled -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=61e8d934c178b9da8212162398d2be44c5606c92b9a3503526993bb204206c6b conf_files="/etc/xdg/waybar/config /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 }