Files
guru/gui-apps/wofi/wofi-1.2.4.ebuild
Matthias Coppens e373bef560 gui-apps/wofi: Version bump 1.2.4
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
2021-02-09 12:55:34 +01:00

41 lines
816 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [ "${PV}" = 9999 ]
then
inherit mercurial
EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
else
SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64"
fi
DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
LICENSE="GPL-3"
IUSE="+run +drun +dmenu"
DEPEND="
dev-libs/wayland
x11-libs/gtk+[wayland]"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
RESTRICT="test mirror"
SLOT="0"
src_configure() {
local emesonargs=(
$(meson_use run enable_run)
$(meson_use drun enable_drun)
$(meson_use dmenu enable_dmenu)
)
meson_src_configure
}