summaryrefslogtreecommitdiff
path: root/x11-misc/gmrun/gmrun-1.4w-r1.ebuild
blob: d9ce673904c97cc3935a55aedb4ca53e1a95977c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ ${PV} == *9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/WdesktopX/${PN}.git"
	EGIT_BRANCH="master"
else
	SRC_URI="https://github.com/wdlkmpx/${PN}/releases/download/${PV}/${P}.tar.xz"
	KEYWORDS="amd64 ~mips ppc x86"
fi

DESCRIPTION="A run utility featuring a slim design and bash style auto-completion."
HOMEPAGE="https://github.com/wdlkmpx/gmrun"

LICENSE="ISC"
SLOT="0"
IUSE="nls xdg"

RDEPEND="x11-libs/gtk+:3"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_configure() {
	econf \
		--disable-gtk2 \
		$(use_enable nls) \
		$(use_enable xdg)
}