Files
guru/gui-apps/wofi/wofi-9999.ebuild
Andrew Ammerlaan 86bfa6ab2e gui-apps/wofi: fix filename in SRC_URI
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 12:17:43 +02:00

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
}