Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/
Date: Tue, 02 Feb 2021 08:13:18
Message-Id: 1612253591.bf574cbf1f47611897d43e3f7e9d1aae5ec72a9f.polynomial-c@gentoo
1 commit: bf574cbf1f47611897d43e3f7e9d1aae5ec72a9f
2 Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de>
3 AuthorDate: Mon Feb 1 21:55:31 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 08:13:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf574cbf
7
8 x11-wm/i3: Pump to v4.19.1
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Nelo-T. Wallus <nelo <AT> wallus.de>
12 Closes: https://github.com/gentoo/gentoo/pull/19300
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 x11-wm/i3/Manifest | 1 +
16 x11-wm/i3/i3-4.19.1.ebuild | 104 +++++++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 105 insertions(+)
18
19 diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest
20 index 1f67acc92cd..5e39ca3558e 100644
21 --- a/x11-wm/i3/Manifest
22 +++ b/x11-wm/i3/Manifest
23 @@ -1,3 +1,4 @@
24 DIST i3-4.18.3.tar.bz2 1218766 BLAKE2B c394bbe9882dc893107f0c948632a3a79c52db75b75b2890f6f43fa60d80ce82d1c8a8c32a8793f59d9a6f929ab038765dbe3813c3c6bc1b79bebbbbde772451 SHA512 61599b79247ec546819bab22666a78fc8dc77eecbcf6055efb6b52720290fa7f72719ac6670396a6dfb54858781e438b5207c15fdf2cf9e2424a1b84ffeb749c
25 DIST i3-4.18.tar.bz2 1218591 BLAKE2B 582b7ba3a54edf8dd2657add05eb54a64b7c004761a1a248d91dfcb061cb9df215ff35301c125b11aa69b571daeacd5732b498934c1fb17f69404a101fd16ec8 SHA512 0bbfda7f4b20a92a50ffb6abbfc3f6bfe6bb4c987ad4b5b1791192eb23b8c3389cc9949a699901797370c14de1ff8e12447a3b8ce330ab7d300fafdb60a432ec
26 +DIST i3-4.19.1.tar.xz 1277648 BLAKE2B a4d01d10c076da092faef2111ba0fadb481257c0011419cc911be0b63c0ff78053a39ff4a2887f6344794ea895190ebf1ac3585b598dbb90ff77d4de8fad7c53 SHA512 7a73d005e4ec438a7cf92ab719e17701948c5043cc431740b16e028e9771d1478fa539aebd1a8198fff6bec664f8bcecc17c3bd1ff35d53077d50d3ad1a8f7dc
27 DIST i3-4.19.tar.xz 1278600 BLAKE2B 3af5eac9cb618bc3b3da0bca430e1882701802f49e092d1e6fa7a35ceb3f2c0287b66eceeb0123a7dfda9976df06227bec34d7d98873aedc2292a2ba94584d84 SHA512 e9e85dfa099751e95f05e8ed5048535bc669d73c51d3bd7e83740ee79d613f981a1130c35f54fb4725b31d18bed63d6bd5efacce8e086483e28d7c778407653a
28
29 diff --git a/x11-wm/i3/i3-4.19.1.ebuild b/x11-wm/i3/i3-4.19.1.ebuild
30 new file mode 100644
31 index 00000000000..e7b4e3a5694
32 --- /dev/null
33 +++ b/x11-wm/i3/i3-4.19.1.ebuild
34 @@ -0,0 +1,104 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit meson optfeature virtualx
41 +if [[ "${PV}" = *9999 ]]; then
42 + inherit git-r3
43 +fi
44 +
45 +DESCRIPTION="An improved dynamic tiling window manager"
46 +HOMEPAGE="https://i3wm.org/"
47 +if [[ "${PV}" = *9999 ]]; then
48 + EGIT_REPO_URI="https://github.com/i3/i3"
49 + EGIT_BRANCH="next"
50 +else
51 + SRC_URI="https://i3wm.org/downloads/${P}.tar.xz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
53 +fi
54 +
55 +LICENSE="BSD"
56 +SLOT="0"
57 +IUSE="doc test"
58 +
59 +COMMON_DEPEND="dev-libs/libev
60 + dev-libs/libpcre
61 + dev-libs/yajl
62 + x11-libs/libxcb[xkb]
63 + x11-libs/libxkbcommon[X]
64 + x11-libs/startup-notification
65 + x11-libs/xcb-util
66 + x11-libs/xcb-util-cursor
67 + x11-libs/xcb-util-keysyms
68 + x11-libs/xcb-util-wm
69 + x11-libs/xcb-util-xrm
70 + x11-misc/xkeyboard-config
71 + x11-libs/cairo[X,xcb(+)]
72 + x11-libs/pango[X]"
73 +DEPEND="${COMMON_DEPEND}
74 + test? (
75 + dev-perl/AnyEvent
76 + dev-perl/X11-XCB
77 + dev-perl/Inline
78 + dev-perl/Inline-C
79 + dev-perl/IPC-Run
80 + dev-perl/ExtUtils-PkgConfig
81 + dev-perl/local-lib
82 + virtual/perl-Test-Simple
83 + x11-base/xorg-server[xephyr]
84 + x11-misc/xvfb-run
85 + )
86 + doc? (
87 + app-text/asciidoc
88 + app-text/xmlto
89 + dev-lang/perl
90 + )"
91 +RDEPEND="${COMMON_DEPEND}
92 + dev-lang/perl
93 + dev-perl/AnyEvent-I3
94 + dev-perl/JSON-XS"
95 +BDEPEND="virtual/pkgconfig"
96 +
97 +PATCHES=(
98 + "${FILESDIR}/${PN}-4.16-musl-GLOB_TILDE.patch"
99 +)
100 +
101 +src_prepare() {
102 + default
103 +
104 + cat <<- EOF > "${T}"/i3wm
105 + #!/bin/sh
106 + exec /usr/bin/i3
107 + EOF
108 +}
109 +
110 +src_configure() {
111 + local emesonargs=(
112 + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
113 + $(meson_use doc docs)
114 + $(meson_use doc mans)
115 + )
116 +
117 + meson_src_configure
118 +}
119 +
120 +src_install() {
121 + meson_src_install
122 +
123 + exeinto /etc/X11/Sessions
124 + doexe "${T}"/i3wm
125 +}
126 +
127 +src_test() {
128 + virtx meson_src_test
129 +}
130 +
131 +pkg_postinst() {
132 + elog "There are several packages that you may find useful with i3 and"
133 + elog "their usage is suggested by the upstream maintainers."
134 + elog "Uninstalled optional dependencies:"
135 + optfeature "Application launcher" x11-misc/dmenu
136 + optfeature "Simple screen locker" x11-misc/i3lock
137 + optfeature "Status bar generator" x11-misc/i3status
138 +}