diff options
author | Nelo-T. Wallus <nelo@wallus.de> | 2017-10-07 08:25:26 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-13 11:27:34 +0200 |
commit | 3af8a51ed3bd9387b17b387c59f6ce81606a83ad (patch) | |
tree | a0f9070d2ce36883f7b1a765e8f3ef01ead381e1 /x11-wm/i3 | |
parent | mozconfig-v.6*.eclass: Fixed @ECLASS description (bug #618906). (diff) | |
download | gentoo-3af8a51ed3bd9387b17b387c59f6ce81606a83ad.tar.gz gentoo-3af8a51ed3bd9387b17b387c59f6ce81606a83ad.tar.bz2 gentoo-3af8a51ed3bd9387b17b387c59f6ce81606a83ad.zip |
x11-wm/i3: Bump version to 4.14.1
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5879
Diffstat (limited to 'x11-wm/i3')
-rw-r--r-- | x11-wm/i3/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/i3/i3-4.14.1.ebuild | 119 |
2 files changed, 120 insertions, 0 deletions
diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest index 8329aa932cd9..312a27d4facc 100644 --- a/x11-wm/i3/Manifest +++ b/x11-wm/i3/Manifest @@ -1,2 +1,3 @@ DIST i3-4.13.tar.bz2 1121298 SHA256 94c13183e527a984132a3b050c8bf629626502a6e133e07b413641aec5f8cf8a SHA512 1bb1044e8d86e78d3ccb79d49f0eb26665dcd05a348058a5e57138151d74f57d77830efc3025893170fe1b8ec612f739f75247a427410f96286b09afd2c5f14c WHIRLPOOL c0e9b205837e30d214d525af6ceb8adcc4cbbba42d9aa0eab4e7639cbd8884d827c5783590eb23a6790e8d8d87fb81884afa369e48a7ae474613392dc6f9b371 +DIST i3-4.14.1.tar.bz2 1173560 SHA256 d0063ac561f3aa8d7e31e137356815bad781bd6ad774030362c89abe96ab5fb1 SHA512 ef628af002947b40e1c88b0e872c6e93d4377a9674a120bd9adc3f323a38570b05124cd3047b5a26659e72070de2d00d83fb93186510c74ad8ddbf4f3df85472 WHIRLPOOL 95bfc65c2ff172121ed4091efc5d6d770eafe1e53189018335b048363e669c02a5221dfecece70d2c357de41cb8a42f19bca8b46a45e1a423a1e20741c8b855d DIST i3-4.14.tar.gz 3936748 SHA256 6807a578275be936289986a77f77320e1581dad9e752f2fc7c443b6aeaa0d14c SHA512 fe3db78813987a15ed93d182968bcd5139e1d03f29d3e8effd9fce59f87bc8309407af0b2fa5f1cd83b8583e50ea0ade6b8eafc5dda6dea9161832dc9cebfdfe WHIRLPOOL 57aa268c52a4271a6170042c31b8e4cba82486ffce96981c96a305e2d7c613f2abc6e5f395c598fc93acfffdf34d45c8f131b79deedc2d2fc7cb5d1dd5ae2499 diff --git a/x11-wm/i3/i3-4.14.1.ebuild b/x11-wm/i3/i3-4.14.1.ebuild new file mode 100644 index 000000000000..bd58f0a26c7e --- /dev/null +++ b/x11-wm/i3/i3-4.14.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +AEVER=0.17 + +VIRTUALX_REQUIRED=always + +inherit autotools virtualx + +DESCRIPTION="An improved dynamic tiling window manager" +HOMEPAGE="https://i3wm.org/" +SRC_URI="https://i3wm.org/downloads/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug test" + +CDEPEND="dev-libs/libev + dev-libs/libpcre + >=dev-libs/yajl-2.0.3 + x11-libs/libxcb[xkb] + x11-libs/libxkbcommon[X] + x11-libs/startup-notification + x11-libs/xcb-util + x11-libs/xcb-util-cursor + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm + >=x11-libs/cairo-1.14.4[X,xcb] + >=x11-libs/pango-1.30.0[X]" +DEPEND="${CDEPEND} + app-text/asciidoc + doc? ( app-text/xmlto dev-lang/perl ) + test? ( + dev-perl/AnyEvent + >=dev-perl/X11-XCB-0.120.0 + dev-perl/Inline + dev-perl/Inline-C + dev-perl/IPC-Run + dev-perl/ExtUtils-PkgConfig + dev-perl/local-lib + >=virtual/perl-Test-Simple-0.940.0 + x11-base/xorg-server[xephyr] + ) + virtual/pkgconfig" +RDEPEND="${CDEPEND} + dev-lang/perl + dev-perl/AnyEvent-I3 + dev-perl/JSON-XS" + +# Test without debug will apply optimization levels, which results +# in type-punned pointers - which in turn causes test failures. +REQUIRED_USE="test? ( debug )" + +DOCS=( + "RELEASE-NOTES-${PV}" + docs +) +PATCHES=( + "${FILESDIR}/${PN}-musl-GLOB_TILDE.patch" +) + +# https://github.com/i3/i3/issues/3013 +RESTRICT="test" + +src_test() { + emake -C "${CBUILD}" \ + test.commands_parser \ + test.config_parser \ + test.inject_randr15 + + virtx perl \ + -I "${S}/testcases/lib" \ + -I "${CBUILD}/testcases/lib" \ + "${CBUILD}/testcases/complete-run.pl" +} + +src_prepare() { + default + + cat <<- EOF > "${T}"/i3wm + #!/bin/sh + exec /usr/bin/i3 + EOF + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake -C "${CBUILD}" +} + +src_install() { + emake -C "${CBUILD}" DESTDIR="${D}" install + doman "${CBUILD}"/man/*.1 + + use doc && einstalldocs + + exeinto /etc/X11/Sessions + doexe "${T}/i3wm" +} + +pkg_postinst() { + einfo "There are several packages that you may find useful with ${PN} and" + einfo "their usage is suggested by the upstream maintainers, namely:" + einfo " x11-misc/dmenu" + einfo " x11-misc/i3status" + einfo " x11-misc/i3lock" + einfo "Please refer to their description for additional info." +} |