gentoo-ebuilds/gui-apps/wofi/wofi-9999.ebuild
Yixun Lan 89e4f420ab
gui-apps/wofi: keyword 1.3 for ~riscv
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2023-11-11 11:25:29 +00:00

28 lines
693 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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 ~riscv"
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"
SLOT="0"
DEPEND="dev-libs/wayland
x11-libs/gtk+:3[wayland(-)]"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${PN}-1.3-no-hg-identify.patch" )