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: Wed, 21 Mar 2018 20:44:27
Message-Id: 1521665059.3fed9abfd7e2b4b94c17d50410aab10b81c5aa76.jer@gentoo
1 commit: 3fed9abfd7e2b4b94c17d50410aab10b81c5aa76
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 21 20:43:26 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 21 20:44:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fed9abf
7
8 x11-misc/rofi: Version 1.5.1.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 x11-misc/rofi/Manifest | 1 +
13 x11-misc/rofi/rofi-1.5.1.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
17 index f99cfa182df..9f2b9aa50d6 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.2.tar.xz 339316 BLAKE2B f35bd60fb490ca9158a4b022bd972169626634adc1fa386b3b37e63497004d2fb0d85a711c4f4f7f377c377188ecc578de78c0c70bf21e086bc59c809a69bd05 SHA512 9f6cdde4b169c9f5471eb40cca9ce65ee2e87f541b0a9e48ce5ccc61d65930befbf152af667436a9142b36ba40c2be17c1aacc90deeff70e7f40dcaa1f9a9c8f
23 DIST rofi-1.5.0.tar.xz 354232 BLAKE2B 2478902542b994ba06c4d436fa9436659366e2416e1a7a3ddd9a48e84d397faff963a4ac0c1bb1011a5f8a8440d1fc257377d28f556a60dc264b29eadadf5c7e SHA512 f24f93224f38e009307912dec19182a04b36a9ac88b26a8657d853cc040e1a59837a56a3e8ff08aa34143f455b5030c73fc28ced96123f3bc7e3943582aee81c
24 +DIST rofi-1.5.1.tar.xz 355912 BLAKE2B 710a35ab82bf960b331431be3cc3acfb5cc27b42d7fa8b02e8c070918679b90612d89f600a6e58215bc0a08dcb60087ea37a5498fa8c4ac39d246d5967f0b314 SHA512 32074e931199ff1529ebab8fef53d339eab09843888f862953b7d661323484ebe66d820feecc42604a16bd683a5af1ec4d1a2e7f097f408efed6cfe91c4eb5ff
25
26 diff --git a/x11-misc/rofi/rofi-1.5.1.ebuild b/x11-misc/rofi/rofi-1.5.1.ebuild
27 new file mode 100644
28 index 00000000000..b1d04b298f2
29 --- /dev/null
30 +++ b/x11-misc/rofi/rofi-1.5.1.ebuild
31 @@ -0,0 +1,58 @@
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 + "${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch
71 +)
72 +
73 +src_prepare() {
74 + if use test; then
75 + sed -i -e 's|"/tmp/rofi-test.pid"|"'"$T"'/rofi-test.pid"|g' test/helper-pidfile.c || die
76 + fi
77 +
78 + default
79 +
80 + eautoreconf
81 +}
82 +
83 +src_configure() {
84 + tc-export CC
85 +
86 + econf \
87 + $(use_enable test check) \
88 + $(use_enable windowmode)
89 +}