diff options
Diffstat (limited to 'x11-misc/rofi/rofi-1.2.0.ebuild')
-rw-r--r-- | x11-misc/rofi/rofi-1.2.0.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-misc/rofi/rofi-1.2.0.ebuild b/x11-misc/rofi/rofi-1.2.0.ebuild new file mode 100644 index 000000000000..bef1938177c9 --- /dev/null +++ b/x11-misc/rofi/rofi-1.2.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils toolchain-funcs + +DESCRIPTION="A window switcher, run dialog and dmenu replacement" +HOMEPAGE="https://davedavenport.github.io/rofi/" +SRC_URI="https://github.com/DaveDavenport/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="i3 windowmode" +REQUIRED_USE="i3? ( windowmode )" + +RDEPEND=" + dev-libs/glib:2 + i3? ( x11-wm/i3 ) + media-libs/freetype + x11-libs/cairo[xcb] + 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} + x11-proto/xineramaproto + x11-proto/xproto + virtual/pkgconfig +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.15.12-Werror.patch + + eautoreconf +} + +src_configure() { + tc-export CC + econf \ + $(use_enable windowmode) \ + $(usex i3 '' --disable-i3support) +} + +src_test() { + emake test +} |