Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rofi/
Date: Sun, 06 Sep 2020 19:38:29
Message-Id: 1599421104.b9920a88b239a832e3297cc95a1ab25245376386.jer@gentoo
1 commit: b9920a88b239a832e3297cc95a1ab25245376386
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 6 19:38:01 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 6 19:38:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9920a88
7
8 x11-misc/rofi: Version 1.6.0
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/rofi/Manifest | 1 +
14 x11-misc/rofi/metadata.xml | 11 ++++----
15 x11-misc/rofi/rofi-1.6.0.ebuild | 56 +++++++++++++++++++++++++++++++++++++++++
16 3 files changed, 63 insertions(+), 5 deletions(-)
17
18 diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
19 index d793eeb10de..f2d32aab71a 100644
20 --- a/x11-misc/rofi/Manifest
21 +++ b/x11-misc/rofi/Manifest
22 @@ -1 +1,2 @@
23 DIST rofi-1.5.4.tar.gz 535259 BLAKE2B 8560dfee631c66a6f2178c0af6926ef317ed6d2cfe3ae46264e5b1ce429113ce810e4fed4c86a81acbbd51c85ad2593f40a39d982d7da0aa8ccc55537cadd2bb SHA512 181dedb0905bfab76f7ad313d299f4c80ee4efb11a2c6345b16044b7fb3f54bc7e304ee9352e562932e55108e328e5f6bd2c1d7fd9bcdec3d8022c2dc4f8d394
24 +DIST rofi-1.6.0.tar.gz 558808 BLAKE2B 45849f71becd3ab69b85dae64af34ad42199c20976304b89b013405f1d7fbbfa8fdf7d3ac4c26563cc2f5924fad64d45da1ba7dcad8857fb127eaf4b40c08824 SHA512 a993b0d49681eae4bc4aa84277f6daf1467e53bc40fa43e97ccf3f834763a3c9a1ed8b5d1d628158febc9e8b339be3fb745ae5b4e1d86e9f84b7af4b6a30ea23
25
26 diff --git a/x11-misc/rofi/metadata.xml b/x11-misc/rofi/metadata.xml
27 index d9dc616fbbc..55134acf088 100644
28 --- a/x11-misc/rofi/metadata.xml
29 +++ b/x11-misc/rofi/metadata.xml
30 @@ -2,16 +2,17 @@
31 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
32 <pkgmetadata>
33 <maintainer type="person">
34 - <email>jer@g.o</email>
35 +<email>jer@g.o</email>
36 </maintainer>
37 <maintainer type="project">
38 - <email>desktop-misc@g.o</email>
39 - <name>Gentoo Desktop Miscellaneous Project</name>
40 +<email>desktop-misc@g.o</email>
41 +<name>Gentoo Desktop Miscellaneous Project</name>
42 </maintainer>
43 <use>
44 - <flag name="windowmode">Enable normal window mode</flag>
45 +<flag name="drun">Enable desktop file run dialog</flag>
46 +<flag name="windowmode">Enable normal window mode</flag>
47 </use>
48 <upstream>
49 - <remote-id type="github">DaveDavenport/rofi</remote-id>
50 +<remote-id type="github">DaveDavenport/rofi</remote-id>
51 </upstream>
52 </pkgmetadata>
53
54 diff --git a/x11-misc/rofi/rofi-1.6.0.ebuild b/x11-misc/rofi/rofi-1.6.0.ebuild
55 new file mode 100644
56 index 00000000000..135a161cf38
57 --- /dev/null
58 +++ b/x11-misc/rofi/rofi-1.6.0.ebuild
59 @@ -0,0 +1,56 @@
60 +# Copyright 1999-2020 Gentoo Authors
61 +# Distributed under the terms of the GNU General Public License v2
62 +
63 +EAPI=7
64 +inherit autotools toolchain-funcs
65 +
66 +DESCRIPTION="A window switcher, run dialog and dmenu replacement"
67 +HOMEPAGE="https://github.com/davatorium/rofi"
68 +SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.gz"
69 +
70 +LICENSE="MIT"
71 +SLOT="0"
72 +KEYWORDS="~amd64 ~arm64 ~x86"
73 +IUSE="+drun test +windowmode"
74 +RESTRICT="!test? ( test )"
75 +
76 +RDEPEND="
77 + dev-libs/glib:2
78 + gnome-base/librsvg:2
79 + media-libs/freetype
80 + x11-libs/cairo[X,xcb(+)]
81 + x11-libs/libXft
82 + x11-libs/libXinerama
83 + x11-libs/libxcb
84 + x11-libs/libxkbcommon[X]
85 + x11-libs/pango[X]
86 + x11-libs/startup-notification
87 + x11-libs/xcb-util
88 + x11-libs/xcb-util-wm
89 + x11-libs/xcb-util-xrm
90 +"
91 +DEPEND="
92 + ${RDEPEND}
93 + virtual/pkgconfig
94 + x11-base/xorg-proto
95 + test? ( >=dev-libs/check-0.11 )
96 +"
97 +PATCHES=(
98 + "${FILESDIR}"/${PN}-0.15.12-Werror.patch
99 + "${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch
100 +)
101 +
102 +src_prepare() {
103 + default
104 +
105 + eautoreconf
106 +}
107 +
108 +src_configure() {
109 + tc-export CC
110 +
111 + econf \
112 + $(use_enable drun) \
113 + $(use_enable test check) \
114 + $(use_enable windowmode)
115 +}