47 lines
1.8 KiB
Bash
47 lines
1.8 KiB
Bash
# Template file for 'Waybar'
|
|
pkgname=Waybar
|
|
version=0.10.4
|
|
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 upower-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 <ericonr@disroot.org>"
|
|
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=ad1ead64aec35bc589207ea1edce90e848620d578985967d44a850a66b5ef829
|
|
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
|
|
}
|