mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
41 lines
834 B
Bash
41 lines
834 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 -> ${P}.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
|
|
}
|