From 46eedbedafdb0040c37884982d4c775ce277fb7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Oct 2021 10:22:14 +0100 Subject: gentoo resync : 20.10.2021 --- x11-misc/rofi/rofi-99999.ebuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'x11-misc/rofi/rofi-99999.ebuild') diff --git a/x11-misc/rofi/rofi-99999.ebuild b/x11-misc/rofi/rofi-99999.ebuild index 81f8f9cf847d..080d70670508 100644 --- a/x11-misc/rofi/rofi-99999.ebuild +++ b/x11-misc/rofi/rofi-99999.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + inherit autotools git-r3 toolchain-funcs DESCRIPTION="A window switcher, run dialog and dmenu replacement" @@ -11,13 +12,15 @@ EGIT_REPO_URI="https://github.com/davatorium/rofi" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="test windowmode" +IUSE="+drun test +windowmode" RESTRICT="!test? ( test )" +BDEPEND="virtual/pkgconfig" RDEPEND=" dev-libs/glib:2 gnome-base/librsvg:2 media-libs/freetype + virtual/jpeg x11-libs/cairo[X,xcb(+)] x11-libs/libXft x11-libs/libXinerama @@ -28,28 +31,26 @@ RDEPEND=" x11-libs/xcb-util x11-libs/xcb-util-wm x11-libs/xcb-util-xrm + x11-misc/xkeyboard-config " DEPEND=" ${RDEPEND} - virtual/pkgconfig x11-base/xorg-proto test? ( >=dev-libs/check-0.11 ) " -PATCHES=( - "${FILESDIR}"/${PN}-0.15.12-Werror.patch - "${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch -) src_prepare() { default - eautoreconf } src_configure() { tc-export CC - econf \ - $(use_enable test check) \ + local myeconfargs=( + $(use_enable drun) + $(use_enable test check) $(use_enable windowmode) + ) + econf "${myeconfargs[@]}" } -- cgit v1.2.3