commit:     639176ebfa8c36162c9c8a1f7efe23c8f73d15f0
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 06:57:43 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 06:57:43 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639176eb

x11-misc/rofi: Version bump.

Package-Manager: portage-2.2.26

 x11-misc/rofi/Manifest                        |  1 +
 x11-misc/rofi/files/rofi-0.15.12-Werror.patch | 11 ++++++
 x11-misc/rofi/rofi-0.15.12.ebuild             | 51 +++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
index 8070f79..01b8e78 100644
--- a/x11-misc/rofi/Manifest
+++ b/x11-misc/rofi/Manifest
@@ -1,2 +1,3 @@
 DIST rofi-0.15.10.tar.xz 136156 SHA256 
c297771e7b6f0c8aef4be27ec7f8e5ab3138c558afddef188f7787d6a84d7326 SHA512 
8fdbc7a06a1cb83e6fa891175d8892398566df272ca5e771724a75726c0d675aff73d8e34ad251de1064745f3a6580aac2e02dd02664f0c78f4deb5bc3256bbc
 WHIRLPOOL 
ed266202019e4959d2c759d1ecef3c1b2e2d3a7a12a5eedbe90ffeba95a3a41f39472f3e992cf6373c231b1f6e2f8063fd2557c844006e4a11b9b9414688c9ee
 DIST rofi-0.15.11.tar.xz 135316 SHA256 
0e32d5d41d7aa919e0f632ae08585f4197d58bbec4dc55d376657aab7887e672 SHA512 
e9ab0ca1de0028044d1788781e19b65da0683ad7388992e4d1956acbdf50ca1035fd20213bfc7dabfcd95f5f29cea620e60e71374b81b38a4bdcdc1057ab16f8
 WHIRLPOOL 
7f26f2a98c0f2521d3162b14c7ac38e5a5290cc13b473b6b4ed78c0795ab7c143daded2f264ec025d56e395be252cc2dd6cd580b43363f8ce81b17020e4679eb
+DIST rofi-0.15.12.tar.xz 143260 SHA256 
e942d865add1bf70423c536583945fcefa9fc45b17c3f222bc3cb56c692ddeed SHA512 
23667e949395e87a33105d231a3894db0a159edb8126a49254cd6f6d0c4bf8577d9209af709e05d2e451d6d53a937cf56cd2be58e9c85f8dd2615232fc29b1b0
 WHIRLPOOL 
783b29c30e31db16bc43fe531301ce6d8c5917275a5085210887f45371bf0a851ff57257df6e7d3ad5f64a4412c950eec1499065a79ad796dcb4d8939547f048

diff --git a/x11-misc/rofi/files/rofi-0.15.12-Werror.patch 
b/x11-misc/rofi/files/rofi-0.15.12-Werror.patch
new file mode 100644
index 0000000..89755ee
--- /dev/null
+++ b/x11-misc/rofi/files/rofi-0.15.12-Werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+ dnl Setup automake to be silent and in foreign mode.
+ dnl We want xz distribution
+ dnl ---------------------------------------------------------------------
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects dist-xz])
++AM_INIT_AUTOMAKE([-Wall foreign subdir-objects dist-xz])
+ AM_SILENT_RULES([yes])
+ 
+ dnl ---------------------------------------------------------------------

diff --git a/x11-misc/rofi/rofi-0.15.12.ebuild 
b/x11-misc/rofi/rofi-0.15.12.ebuild
new file mode 100644
index 0000000..dc89c47
--- /dev/null
+++ b/x11-misc/rofi/rofi-0.15.12.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="A window switcher, run dialog and dmenu replacement"
+HOMEPAGE="https://davedavenport.github.io/rofi/";
+SRC_URI="https://github.com/DaveDavenport/${PN}/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="i3 windowmode"
+REQUIRED_USE="i3? ( windowmode )"
+
+RDEPEND="
+       dev-libs/glib:2
+       media-libs/freetype
+       x11-libs/libX11
+       x11-libs/libXft
+       x11-libs/libXinerama
+       x11-libs/pango[X]
+       x11-libs/startup-notification
+       i3? ( x11-wm/i3 )
+"
+DEPEND="
+       ${RDEPEND}
+       x11-proto/xineramaproto
+       x11-proto/xproto
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       epatch \
+               "${FILESDIR}"/${PN}-0.15.12-Werror.patch
+
+       eautoreconf
+}
+
+src_configure() {
+       tc-export CC
+       econf \
+               $(use_enable windowmode) \
+               $(usex i3 '' --disable-i3support)
+}
+
+src_test() {
+       emake test
+}

Reply via email to