1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors."
9 HOMEPAGE="https://github.com/Alexays/Waybar"
11 if [[ ${PV} == 9999 ]]; then
13 EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
15 SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
21 IUSE="libcxx mpd network pulseaudio tray +udev"
28 >=dev-libs/libfmt-5.3.0:=
29 >=dev-libs/spdlog-1.3.1:=
31 dev-libs/wayland-protocols
33 libcxx? ( sys-libs/libcxx )
34 mpd? ( media-libs/libmpdclient )
35 network? ( dev-libs/libnl:3 )
36 pulseaudio? ( media-sound/pulseaudio )
37 tray? ( dev-libs/libdbusmenu[gtk3] )
38 udev? ( virtual/libudev:= )"
42 BDEPEND="virtual/pkgconfig"
44 if [[ ${PV} != 9999 ]]; then
45 S="${WORKDIR}/${PN^}-${PV}"
52 $(meson_feature network libnl)
53 $(meson_feature pulseaudio)
54 $(meson_feature tray dbusmenu-gtk)
55 $(meson_feature udev libudev)