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, 04 Feb 2018 22:31:37
Message-Id: 1517783472.c9411a79269a9adf2389eb0f1da66bc2877ce4de.jer@gentoo
1 commit: c9411a79269a9adf2389eb0f1da66bc2877ce4de
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 4 21:56:36 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 4 22:31:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9411a79
7
8 x11-misc/rofi: Version 1.5.0.
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 x11-misc/rofi/Manifest | 1 +
13 x11-misc/rofi/rofi-1.5.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
17 index a4c3b58e484..cd01d940dc3 100644
18 --- a/x11-misc/rofi/Manifest
19 +++ b/x11-misc/rofi/Manifest
20 @@ -1,3 +1,4 @@
21 DIST rofi-1.3.1.tar.xz 211732 BLAKE2B 60a217a47c547b1e59632356f4ddcb37144364a990974cbc013c53b21eae04e9568cc39e2ba6d2ea681501582910fb685bcb865cf011be0b2f00d986f4317c3e SHA512 a96c53ad268883277c4ff0ee3267ff7fab4d4a93a982019ce19ea82771b65c32d56216d777494853bffd18481400af72ed777f88cce4b26d7d1b8980a997f6c6
22 DIST rofi-1.4.1.tar.xz 337988 BLAKE2B 65867f4095dd82e62c955d7a3f5d86dcd84112dc8c530d22ebceed0b1c26b3e1c3be196cf2a1089e45ff11543eeed37abfe48a6007a85eed91b196f993064831 SHA512 3db3642819761bcfc99e7e8c6f09dde0c85d34be84541ac376ce09032a5c20aa7d64d6e12c9e21bfbee7d2db2611d24a12539548b662df6fb061d91cca1eb808
23 DIST rofi-1.4.2.tar.xz 339316 BLAKE2B f35bd60fb490ca9158a4b022bd972169626634adc1fa386b3b37e63497004d2fb0d85a711c4f4f7f377c377188ecc578de78c0c70bf21e086bc59c809a69bd05 SHA512 9f6cdde4b169c9f5471eb40cca9ce65ee2e87f541b0a9e48ce5ccc61d65930befbf152af667436a9142b36ba40c2be17c1aacc90deeff70e7f40dcaa1f9a9c8f
24 +DIST rofi-1.5.0.tar.xz 354232 BLAKE2B 2478902542b994ba06c4d436fa9436659366e2416e1a7a3ddd9a48e84d397faff963a4ac0c1bb1011a5f8a8440d1fc257377d28f556a60dc264b29eadadf5c7e SHA512 f24f93224f38e009307912dec19182a04b36a9ac88b26a8657d853cc040e1a59837a56a3e8ff08aa34143f455b5030c73fc28ced96123f3bc7e3943582aee81c
25
26 diff --git a/x11-misc/rofi/rofi-1.5.0.ebuild b/x11-misc/rofi/rofi-1.5.0.ebuild
27 new file mode 100644
28 index 00000000000..29016aeb7d0
29 --- /dev/null
30 +++ b/x11-misc/rofi/rofi-1.5.0.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit autotools toolchain-funcs
37 +
38 +DESCRIPTION="A window switcher, run dialog and dmenu replacement"
39 +HOMEPAGE="https://github.com/DaveDavenport/rofi/"
40 +SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="test windowmode"
46 +
47 +RDEPEND="
48 + dev-libs/glib:2
49 + media-libs/freetype
50 + x11-libs/cairo[xcb]
51 + x11-libs/libXft
52 + x11-libs/libXinerama
53 + x11-libs/libxcb
54 + x11-libs/libxkbcommon[X]
55 + x11-libs/pango[X]
56 + x11-libs/startup-notification
57 + x11-libs/xcb-util
58 + x11-libs/xcb-util-wm
59 + x11-libs/xcb-util-xrm
60 +"
61 +DEPEND="
62 + ${RDEPEND}
63 + virtual/pkgconfig
64 + x11-proto/xineramaproto
65 + x11-proto/xproto
66 + test? ( >=dev-libs/check-0.11 )
67 +"
68 +PATCHES=(
69 + "${FILESDIR}"/${PN}-0.15.12-Werror.patch
70 +)
71 +
72 +src_prepare() {
73 + if use test; then
74 + sed -i -e 's|"/tmp/rofi-test.pid"|"'"$T"'/rofi-test.pid"|g' test/helper-pidfile.c || die
75 + fi
76 +
77 + default
78 +
79 + eautoreconf
80 +}
81 +
82 +src_configure() {
83 + tc-export CC
84 +
85 + econf \
86 + $(use_enable test check) \
87 + $(use_enable windowmode)
88 +}