# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson EGIT_REPO_URI="https://github.com/ArtsyMacaw/${PN}" case "${PV}" in "9999") inherit git-r3 ;; *) SRC_URI="${EGIT_REPO_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" esac inherit meson DESCRIPTION="A wayland based logout menu" HOMEPAGE="https://github.com/ArtsyMacaw/wlogout" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="bash-completion fish-completion zsh-completion +doc +transparency" DEPEND=" x11-libs/gtk+:3 dev-libs/gobject-introspection doc? ( app-text/scdoc ) transparency? ( gui-libs/gtk-layer-shell ) " RDEPEND="${DEPEND}" BDEPEND="" src_configure() { local emesonargs=( $(meson_use bash-completion bash-completions) $(meson_use fish-completion fish-completions) $(meson_use zsh-completion zsh-completions) $(meson_feature doc man-pages) ) meson_src_configure }