Gentoo Archives: gentoo-commits

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/
Date: Wed, 30 Sep 2015 14:43:43
Message-Id: 1443624190.d8872fedeb3c56aa0258fa3d7e8369bdd558f66b.xarthisius@gentoo
1 commit: d8872fedeb3c56aa0258fa3d7e8369bdd558f66b
2 Author: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 30 14:42:35 2015 +0000
4 Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 14:43:10 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8872fed
7
8 Version bump
9
10 Package-Manager: portage-2.2.20
11
12 x11-wm/i3/Manifest | 1 +
13 x11-wm/i3/i3-4.11.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest
17 index 8d2e170..45f3a57 100644
18 --- a/x11-wm/i3/Manifest
19 +++ b/x11-wm/i3/Manifest
20 @@ -1,3 +1,4 @@
21 DIST i3-4.10.4.tar.bz2 940744 SHA256 dd4fa7a5c5b8feaf83f196fc181bfd33aff65c11d81c91b3ae9d9d3d2540655e SHA512 e777d1ca8ebeada185dfe11443a8b731cb72b6f836a0848e24291ea5d70e4b6d6c414acd58c156be97bd90d07ba4019a713cdb406a24fda33afeae08ceb6ed18 WHIRLPOOL 5bfaeb74d8f1c3dc10719bcac56087d7716e0a7a6c251495db256af1d1342eea3baae4b5c4f6c8131efa89393016c0dd0a56b17ff1f7bd757185dbf4747e7441
22 +DIST i3-4.11.tar.bz2 972929 SHA256 78ce1e06fbd92fd63765bbe23faa7b8f929c17f99ed623f7abf2e568169d982f SHA512 76d45be9006973dd4093fd21ea1c83742b7977c7698e133ce8f9e7826d97d1631fbe6c3ea4a7eb3d989027f98e12738158e72ec450b0df3dddd28f912ff49a4f WHIRLPOOL f3bff5c0386ad09c5cabb25c7ccb14033f1a7ba3ee19fcc832739cbc61a31f84d3a57418264db4728fbb406c24464a8c87cbfde1e651599a3b63d87eb0af11cb
23 DIST i3-4.8.tar.bz2 939690 SHA256 502c34290f239780bb40352191f0500e8f35d2446eddb573c67c27873d6a1b6b SHA512 fd6f92da857246119f1ae710b6c5168128fa2da5eae8308550b1b9c75879f060cac8246897333f3d67e18de36828a11dd12b4ccee9bd6cd6ad32e2b44c50b43e WHIRLPOOL 6c6288cb66ffdbf225df0dfcdc4f540cd36d7c8333a9f9d9c363cb6580d6a7c1ca0deb227a8f46ac907f2afc6e4e46efc448a51f0764a167bb9639956beae4ef
24 DIST i3-4.9.1.tar.bz2 939630 SHA256 b70deff027c7d05276c9646e53faeeeccdde706370b9b337a633bed85b16dc43 SHA512 7a8f71dd944faae426a2239b8bf12ea1cfc83a95c49fcb64ded8321ef302f3277af7d2ecd84d99cef47aba73e5a1091f94e37e9ed2af78c4722ffee507477c90 WHIRLPOOL 15cd2722beaeef642815edd44ff189ff0d003fefbff71c067b94a65dadb55cd15dd1a142a37499fa55cc80424dbdc74cb979c8998d740addcc492eaf025e467f
25
26 diff --git a/x11-wm/i3/i3-4.11.ebuild b/x11-wm/i3/i3-4.11.ebuild
27 new file mode 100644
28 index 0000000..17b045c
29 --- /dev/null
30 +++ b/x11-wm/i3/i3-4.11.ebuild
31 @@ -0,0 +1,73 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit eutils toolchain-funcs
39 +
40 +DESCRIPTION="An improved dynamic tiling window manager"
41 +HOMEPAGE="http://i3wm.org/"
42 +SRC_URI="http://i3wm.org/downloads/${P}.tar.bz2"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~x86"
47 +IUSE="+pango"
48 +
49 +CDEPEND="dev-libs/libev
50 + dev-libs/libpcre
51 + >=dev-libs/yajl-2.0.3
52 + x11-libs/libxcb[xkb]
53 + x11-libs/libxkbcommon[X]
54 + x11-libs/startup-notification
55 + x11-libs/xcb-util
56 + x11-libs/xcb-util-cursor
57 + x11-libs/xcb-util-keysyms
58 + x11-libs/xcb-util-wm
59 + pango? (
60 + >=x11-libs/pango-1.30.0[X]
61 + >=x11-libs/cairo-1.12.2[X,xcb]
62 + )"
63 +DEPEND="${CDEPEND}
64 + virtual/pkgconfig"
65 +RDEPEND="${CDEPEND}
66 + dev-lang/perl
67 + dev-perl/AnyEvent-I3
68 + dev-perl/JSON-XS"
69 +
70 +DOCS=( RELEASE-NOTES-${PV} )
71 +
72 +src_prepare() {
73 + if ! use pango; then
74 + sed -i common.mk -e '/PANGO/d' || die
75 + fi
76 +
77 + cat <<- EOF > "${T}"/i3wm
78 + #!/bin/sh
79 + exec /usr/bin/i3
80 + EOF
81 + sed -e 's/FALSE/false/' -i src/handlers.c || die #546444
82 + epatch_user #471716
83 +}
84 +
85 +src_compile() {
86 + emake V=1 CC="$(tc-getCC)" AR="$(tc-getAR)"
87 +}
88 +
89 +src_install() {
90 + default
91 + dohtml -r docs/*
92 + doman man/*.1
93 + exeinto /etc/X11/Sessions
94 + doexe "${T}"/i3wm
95 +}
96 +
97 +pkg_postinst() {
98 + einfo "There are several packages that you may find useful with ${PN} and"
99 + einfo "their usage is suggested by the upstream maintainers, namely:"
100 + einfo " x11-misc/dmenu"
101 + einfo " x11-misc/i3status"
102 + einfo " x11-misc/i3lock"
103 + einfo "Please refer to their description for additional info."
104 +}