diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-14 18:52:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-14 18:52:15 +0100 |
commit | d00821e77f72d4af4ea30158c1c6e18ffff0875b (patch) | |
tree | b28b6cb077ae6b2457e30d49028fc978d8e2b59b /gui-apps/waybar/waybar-0.8.0.ebuild | |
parent | 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (diff) | |
parent | 6a339b4f9ec107438bb71a6f9ca72fd42fbfd436 (diff) |
Merge branch 'next'
Diffstat (limited to 'gui-apps/waybar/waybar-0.8.0.ebuild')
-rw-r--r-- | gui-apps/waybar/waybar-0.8.0.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/gui-apps/waybar/waybar-0.8.0.ebuild b/gui-apps/waybar/waybar-0.8.0.ebuild new file mode 100644 index 000000000000..8cd23063c51d --- /dev/null +++ b/gui-apps/waybar/waybar-0.8.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors." +HOMEPAGE="https://github.com/Alexays/Waybar" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git" +else + SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="mpd network pulseaudio tray +udev" + +BDEPEND=" + >=app-text/scdoc-1.9.2 + virtual/pkgconfig +" + +DEPEND=" + dev-cpp/gtkmm:3.0 + dev-libs/jsoncpp:= + dev-libs/libinput:= + dev-libs/libsigc++:2 + >=dev-libs/libfmt-5.3.0:= + >=dev-libs/spdlog-1.3.1:= + dev-libs/wayland + dev-libs/wayland-protocols + gui-libs/wlroots + mpd? ( media-libs/libmpdclient ) + network? ( dev-libs/libnl:3 ) + pulseaudio? ( media-sound/pulseaudio ) + tray? ( dev-libs/libdbusmenu[gtk3] ) + udev? ( virtual/libudev:= ) +" + +RDEPEND="${DEPEND}" + +if [[ ${PV} != 9999 ]]; then + S="${WORKDIR}/${PN^}-${PV}" +fi + +src_configure() { + local emesonargs=( + $(meson_feature mpd) + $(meson_feature network libnl) + $(meson_feature pulseaudio) + $(meson_feature tray dbusmenu-gtk) + $(meson_feature udev libudev) + ) + meson_src_configure +} |