diff options
Diffstat (limited to 'x11-wm/i3')
-rw-r--r-- | x11-wm/i3/Manifest | 4 | ||||
-rw-r--r-- | x11-wm/i3/i3-4.21.ebuild | 107 | ||||
-rw-r--r-- | x11-wm/i3/i3-9999.ebuild | 4 |
3 files changed, 112 insertions, 3 deletions
diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest index e648ca2fd876..02c417f33b92 100644 --- a/x11-wm/i3/Manifest +++ b/x11-wm/i3/Manifest @@ -1,5 +1,7 @@ AUX i3-4.16-musl-GLOB_TILDE.patch 2783 BLAKE2B 9dea47af64b78a77006d3aa641273aa7a77846d4425e1da17424528445450112ab275cdf7098ba8c2a76f1b08561b1d1a852cb9fd4ee4c61e53832ca702ad55d SHA512 fdff65255e7c9b30eefdbf032e04ba568d5b75a5b7dfc5fce1aecaac0f0d376b6bb4f87338e1eaf5f20b1c5882ebfc7349f8ab43c804349b5f5c626f9fc1d340 DIST i3-4.20.1.tar.xz 1284984 BLAKE2B a7943b3bc680eb3df596b008d751d034fc6ccf2b6891db731b9af5164fdcfc2872c0756c81c3f11f94a30aa9bdc4ecf4b47d20022a214bb6eb6c06fd78458fb3 SHA512 c0f6b991d46180ca470cbb7ab4cf5492552beb9dbf2631c61c8d92d0647106885481962381682e9129f3993d70bc6e5de506da1d32c3710fca64a66d51e8c8ce +DIST i3-4.21.tar.xz 1294968 BLAKE2B cf53e0087cb4dabc8eefa8430cc5f7057de927ef49f8172a05c62d690ca60e5d20733da4f3a6230d311bf54a94f117d21665e3d2b39b7f45814e3b0462e12efe SHA512 db56d93850b0cbc8352f5762d9596d38a641e4cf7330cf0afd3778c41a8ed140bbbed3e5419023b1bf3dcc1c470da40018aac9bf684b18d02c12ffe886d29193 EBUILD i3-4.20.1.ebuild 1978 BLAKE2B c2fd96844cd8518e764eacc4c17580e390438b082c7ed5465d9c13f8bde52b073c9dc46d2a37a3335d0491692ea6da3ab122328d3d04bd6b761741d4ef8e5409 SHA512 6170714aaddfc8d23e5e022f22575dd05d5c315af359e5aa55ead0c9478ddfe4972c8d1206ec1b391b017a215dc908a9e03b2a45bd07620866b2f981a07970a2 -EBUILD i3-9999.ebuild 1973 BLAKE2B 6560c66a1e6b47f767f7b9b7711646aeab3603d4856dba9973751f12ba99019d4c0f5d45d6ab28a75f01652d300654847b7f6eea8be48efe797e0940adfd4697 SHA512 d240e390c4c7f949de52ac382421afd5cab2f507fbe2bec97756180424c098a2fb62190d595dc49c8a4d71e59a3b433cb8a0177086445315af7c82a5a7e10dc6 +EBUILD i3-4.21.ebuild 1981 BLAKE2B 23d1f86a61741c0ac453fa63ac04bbbfac91ab31e50990306299a186458ab212ef07497683a1c63191ead596379ed03684cfa06a32c52ee5ab52d6e5b359db85 SHA512 1c4cf8d4d509c81431dfe654c12f9fa62b9fd715e0d347a31b16cf77c9e210a04ff019585c5994c18d77e27aeefcc2724b93391115824829956bddb60b7ea080 +EBUILD i3-9999.ebuild 1974 BLAKE2B 0bdadcda946d86bca6290cf8cd9e3f2c41588d76954b84160a1f3263433792ca3b8d335db3de34aea29c03900d687fcb4107bdaacdd1438bdcdc6259b2bfd600 SHA512 5af39cb58ff99b08476accdec182ee43e0da94a03ab75689c3ab7f207cfa3e387f7c198bd14afd544263e012b5d88c7643206c4a0f656464c593a0d317174685 MISC metadata.xml 537 BLAKE2B 81033b6b7a90a15350b23f77fe6c99d277025ae1f36ef6b5d78bf28f0b5c9fab608c165809433577551f0b478e5a154bc7b95b64b19f7ef9be18f6c7772473f8 SHA512 157b7fc03f7d9c9a455b787061a3e806701e98e3335a0f9edb50fbd5f7712ee3ed6e9573046d8fe72093e162c3253bad3e564b73633f4c67c60a326a103583be diff --git a/x11-wm/i3/i3-4.21.ebuild b/x11-wm/i3/i3-4.21.ebuild new file mode 100644 index 000000000000..4c767977870b --- /dev/null +++ b/x11-wm/i3/i3-4.21.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson optfeature virtualx + +DESCRIPTION="An improved dynamic tiling window manager" +HOMEPAGE="https://i3wm.org/" +if [[ "${PV}" = *9999 ]]; then + EGIT_REPO_URI="https://github.com/i3/i3" + EGIT_BRANCH="next" + inherit git-r3 +else + SRC_URI="https://i3wm.org/downloads/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/libev + dev-libs/libpcre2 + dev-libs/yajl + x11-libs/cairo[X,xcb(+)] + x11-libs/libxcb[xkb] + x11-libs/libxkbcommon[X] + x11-libs/pango[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-misc/xkeyboard-config +" +DEPEND=" + ${COMMON_DEPEND} + test? ( + dev-perl/AnyEvent + dev-perl/ExtUtils-PkgConfig + dev-perl/Inline + dev-perl/Inline-C + dev-perl/IPC-Run + dev-perl/local-lib + dev-perl/X11-XCB + virtual/perl-Test-Simple + x11-base/xorg-server[xephyr] + x11-misc/xvfb-run + ) + doc? ( + app-text/asciidoc + app-text/xmlto + dev-lang/perl + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-lang/perl + dev-perl/AnyEvent-I3 + dev-perl/JSON-XS +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-4.16-musl-GLOB_TILDE.patch +) + +src_prepare() { + default + + cat > "${T}"/i3wm <<- EOF || die + #!/bin/sh + exec /usr/bin/i3 + EOF +} + +src_configure() { + local emesonargs=( + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + $(meson_use doc docs) + $(meson_use doc mans) + ) + + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + + exeinto /etc/X11/Sessions + doexe "${T}"/i3wm +} + +pkg_postinst() { + optfeature_header "There are several packages that may be useful with i3:" + optfeature "application launcher" x11-misc/dmenu + optfeature "simple screen locker" x11-misc/i3lock + optfeature "status bar generator" x11-misc/i3status +} diff --git a/x11-wm/i3/i3-9999.ebuild b/x11-wm/i3/i3-9999.ebuild index 8aedb5be5197..af60288595be 100644 --- a/x11-wm/i3/i3-9999.ebuild +++ b/x11-wm/i3/i3-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,7 +23,7 @@ RESTRICT="!test? ( test )" COMMON_DEPEND=" dev-libs/libev - dev-libs/libpcre + dev-libs/libpcre2 dev-libs/yajl x11-libs/cairo[X,xcb(+)] x11-libs/libxcb[xkb] |