Files
overlay/x11-misc/rofi/rofi-9999.ebuild
2020-01-27 08:15:34 +01:00

53 lines
899 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools toolchain-funcs git-r3
DESCRIPTION="A window switcher, run dialog and dmenu replacement"
HOMEPAGE="https://davedavenport.github.io/rofi/"
EGIT_REPO_URI="https://github.com/DaveDavenport/${PN}"
EGIT_CLONE_TYPE=shallow
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="windowmode -check"
RDEPEND="
dev-libs/glib:2
media-libs/freetype
x11-libs/cairo
x11-libs/libX11
x11-libs/libXft
x11-libs/libXinerama
x11-libs/libxcb
x11-libs/libxkbcommon[X]
x11-libs/pango[X]
x11-libs/startup-notification
x11-libs/xcb-util
x11-libs/xcb-util-wm
x11-libs/xcb-util-xrm
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
default
eautoreconf
}
src_configure() {
tc-export CC
econf \
$(use_enable windowmode) \
$(use_enable check)
}
src_test() {
emake test
}