Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rofi/
Date: Tue, 12 Oct 2021 08:20:00
Message-Id: 1634026756.513d62fb5f7d37b27f0d109e6a21f55378a94473.flow@gentoo
1 commit: 513d62fb5f7d37b27f0d109e6a21f55378a94473
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 12 08:18:19 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 12 08:19:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513d62fb
7
8 x11-misc/rofi: sync live ebuild with latest non-live ebuild
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 x11-misc/rofi/rofi-99999.ebuild | 20 ++++++++++----------
13 1 file changed, 10 insertions(+), 10 deletions(-)
14
15 diff --git a/x11-misc/rofi/rofi-99999.ebuild b/x11-misc/rofi/rofi-99999.ebuild
16 index 5612e93f955..080d7067050 100644
17 --- a/x11-misc/rofi/rofi-99999.ebuild
18 +++ b/x11-misc/rofi/rofi-99999.ebuild
19 @@ -1,7 +1,8 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=7
24 +EAPI=8
25 +
26 inherit autotools git-r3 toolchain-funcs
27
28 DESCRIPTION="A window switcher, run dialog and dmenu replacement"
29 @@ -11,13 +12,15 @@ EGIT_REPO_URI="https://github.com/davatorium/rofi"
30 LICENSE="MIT"
31 SLOT="0"
32 KEYWORDS=""
33 -IUSE="test windowmode"
34 +IUSE="+drun test +windowmode"
35 RESTRICT="!test? ( test )"
36
37 +BDEPEND="virtual/pkgconfig"
38 RDEPEND="
39 dev-libs/glib:2
40 gnome-base/librsvg:2
41 media-libs/freetype
42 + virtual/jpeg
43 x11-libs/cairo[X,xcb(+)]
44 x11-libs/libXft
45 x11-libs/libXinerama
46 @@ -32,25 +35,22 @@ RDEPEND="
47 "
48 DEPEND="
49 ${RDEPEND}
50 - virtual/pkgconfig
51 x11-base/xorg-proto
52 test? ( >=dev-libs/check-0.11 )
53 "
54 -PATCHES=(
55 - "${FILESDIR}"/${PN}-0.15.12-Werror.patch
56 - "${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch
57 -)
58
59 src_prepare() {
60 default
61 -
62 eautoreconf
63 }
64
65 src_configure() {
66 tc-export CC
67
68 - econf \
69 - $(use_enable test check) \
70 + local myeconfargs=(
71 + $(use_enable drun)
72 + $(use_enable test check)
73 $(use_enable windowmode)
74 + )
75 + econf "${myeconfargs[@]}"
76 }