2018-10-27 23:49:54 +02:00
|
|
|
# Template file for 'Waybar'
|
|
|
|
pkgname=Waybar
|
2018-12-19 10:09:30 +01:00
|
|
|
version=0.2.3
|
2018-10-27 23:49:54 +02: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"
|
|
|
|
makedepends="libinput-devel wayland-devel wlroots-devel gtkmm-devel
|
|
|
|
jsoncpp-devel libglib-devel libsigc++-devel fmt-devel
|
|
|
|
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if libnl libnl3-devel)
|
|
|
|
$(vopt_if dbusmenugtk libdbusmenu-gtk3-devel)"
|
|
|
|
short_desc="Polybar-like Wayland Bar for Sway and Wlroots based compositors"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/Alexays/Waybar"
|
2018-11-16 14:12:02 +01:00
|
|
|
changelog="https://github.com/Alexays/Waybar/releases"
|
2018-10-27 23:49:54 +02:00
|
|
|
distfiles="https://github.com/Alexays/Waybar/archive/${version}.tar.gz"
|
2018-12-19 10:09:30 +01:00
|
|
|
checksum=dbaccbf829ab62578a5956e412b4cc9905be62af74425423628721a1b550f4c8
|
2018-10-27 23:49:54 +02:00
|
|
|
|
|
|
|
build_options="libnl pulseaudio dbusmenugtk"
|
|
|
|
build_options_default="pulseaudio"
|
|
|
|
|
|
|
|
desc_option_libnl="Enable libnl support for network related features"
|
|
|
|
desc_option_dbusmenugtk="Enable support for tray"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|