You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
977 B
54 lines
977 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
inherit autotools toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="A window switcher, run dialog and dmenu replacement"
|
||
|
HOMEPAGE="https://github.com/DaveDavenport/rofi/"
|
||
|
SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="test windowmode"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-libs/glib:2
|
||
|
media-libs/freetype
|
||
|
x11-libs/cairo[xcb]
|
||
|
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
|
||
|
x11-proto/xineramaproto
|
||
|
x11-proto/xproto
|
||
|
test? ( >=dev-libs/check-0.11 )
|
||
|
"
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-0.15.12-Werror.patch
|
||
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
tc-export CC
|
||
|
|
||
|
econf \
|
||
|
$(use_enable test check) \
|
||
|
$(use_enable windowmode)
|
||
|
}
|