2018-10-27 21:49:54 +00:00
|
|
|
# Template file for 'Waybar'
|
|
|
|
pkgname=Waybar
|
2019-06-22 16:34:51 +00:00
|
|
|
version=0.7.0
|
2018-10-27 21:49:54 +00:00
|
|
|
revision=1
|
|
|
|
build_style=meson
|
|
|
|
configure_args="-Dlibnl=$(vopt_if libnl enabled disabled)
|
|
|
|
-Dpulseaudio=$(vopt_if pulseaudio enabled disabled)
|
|
|
|
-Ddbusmenu-gtk=$(vopt_if dbusmenugtk enabled disabled)"
|
|
|
|
hostmakedepends="pkg-config glib-devel wayland-devel sway"
|
2019-05-26 19:59:59 +00:00
|
|
|
makedepends="libinput-devel wayland-devel wlroots-devel gtkmm-devel spdlog
|
2018-10-27 21:49:54 +00:00
|
|
|
jsoncpp-devel libglib-devel libsigc++-devel fmt-devel
|
|
|
|
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if libnl libnl3-devel)
|
2019-04-25 19:15:57 +00:00
|
|
|
$(vopt_if dbusmenugtk libdbusmenu-gtk3-devel)
|
|
|
|
$(vopt_if mpd libmpdclient-devel)"
|
2018-10-27 21:49:54 +00:00
|
|
|
short_desc="Polybar-like Wayland Bar for Sway and Wlroots based compositors"
|
2019-04-25 19:15:57 +00:00
|
|
|
maintainer="DirectorX <void.directorx@protonmail.com>"
|
2018-10-27 21:49:54 +00:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/Alexays/Waybar"
|
2018-11-16 13:12:02 +00:00
|
|
|
changelog="https://github.com/Alexays/Waybar/releases"
|
2018-10-27 21:49:54 +00:00
|
|
|
distfiles="https://github.com/Alexays/Waybar/archive/${version}.tar.gz"
|
2019-06-22 16:34:51 +00:00
|
|
|
checksum=413bff4691c8c8b9d9cb98219063cf0c7c9cb05c946313984c8969009f172659
|
2018-10-27 21:49:54 +00:00
|
|
|
|
2019-04-25 19:15:57 +00:00
|
|
|
build_options="libnl pulseaudio dbusmenugtk mpd"
|
|
|
|
build_options_default="pulseaudio mpd"
|
2018-10-27 21:49:54 +00:00
|
|
|
|
|
|
|
desc_option_libnl="Enable libnl support for network related features"
|
|
|
|
desc_option_dbusmenugtk="Enable support for tray"
|
2019-04-25 19:15:57 +00:00
|
|
|
desc_option_mpd="Enable support for MPD"
|
2018-10-27 21:49:54 +00:00
|
|
|
|
2019-03-21 16:29:04 +00:00
|
|
|
|
2018-10-27 21:49:54 +00:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
# Requires gobject introspection
|
|
|
|
build_options_default+=" dbusmenugtk"
|
|
|
|
fi
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) ;; # Has broken network headers on musl
|
|
|
|
*) build_options_default+=" libnl"
|
|
|
|
esac
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|