Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/wlroots/
Date: Wed, 25 Aug 2021 02:21:38
Message-Id: 1629858085.bce11c78b0661931dba6cf8d9abbb6b5a0c54f0a.bman@gentoo
1 commit: bce11c78b0661931dba6cf8d9abbb6b5a0c54f0a
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 25 02:19:57 2021 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 25 02:21:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce11c78
7
8 gui-libs/wlroots: bump to 0.14.1
9
10 * bump EAPI
11
12 Closes: https://bugs.gentoo.org/804567
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14
15 gui-libs/wlroots/Manifest | 1 +
16 gui-libs/wlroots/wlroots-0.14.1.ebuild | 68 ++++++++++++++++++++++++++++++++++
17 2 files changed, 69 insertions(+)
18
19 diff --git a/gui-libs/wlroots/Manifest b/gui-libs/wlroots/Manifest
20 index 82b8851c0f1..2376e986141 100644
21 --- a/gui-libs/wlroots/Manifest
22 +++ b/gui-libs/wlroots/Manifest
23 @@ -1,2 +1,3 @@
24 DIST wlroots-0.13.0.tar.gz 503575 BLAKE2B bfcd40ea5cf9f85157b9a44a4a49f0fef1c82c2199ee428316b578e8d53cc39276b42d0a2c4b6b94d1a1f49df5d312539cdf4d053ea2472e0de93254e39dc015 SHA512 1c942a6b8a628383e2b68cd9096d3525021347c5c363a8239a3b4fb0d5736ffcd3e2c1333fdd7d95ecf214dd04bf01062b4f1b4fbbcd88d1d086a55261ca0c82
25 DIST wlroots-0.14.0.tar.gz 505461 BLAKE2B d2fa28f64014ef9d840838cb5938af23f6f6b211b62dc352d0d5bb824ccaa7d7a85531e1eca14feeb06d31d59955ff9a913e40a73cad21ed1ebfe76ada39d558 SHA512 83f001133cb4b11a72bb9532b7321655428826662848f67de8e3220a33d9dff4d37c859602bdc319929949d387d014a257b0347039a6649944d7b084c76bb611
26 +DIST wlroots-0.14.1.tar.gz 505840 BLAKE2B fca4d259cdde62da0c196344ce1d0f5dd679d012ff33e3ceb5385b9374667e16d91059a2ba6a318153e79ac2f0a6464e3066e614a13398f8c433f442560d84d2 SHA512 4f557c827f9673eccf208a3644954de80e7355b95cc374cc5e851a47087b227f196e0936c0913d21a6c776c29b74de2d028a100931264e41934c747568d8ebe0
27
28 diff --git a/gui-libs/wlroots/wlroots-0.14.1.ebuild b/gui-libs/wlroots/wlroots-0.14.1.ebuild
29 new file mode 100644
30 index 00000000000..07ce77c9d01
31 --- /dev/null
32 +++ b/gui-libs/wlroots/wlroots-0.14.1.ebuild
33 @@ -0,0 +1,68 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit meson
40 +
41 +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
42 +HOMEPAGE="https://github.com/swaywm/wlroots"
43 +
44 +if [[ ${PV} == 9999 ]]; then
45 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
46 + inherit git-r3
47 + SLOT="0/9999"
48 +else
49 + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
51 + SLOT="0/14"
52 +fi
53 +
54 +LICENSE="MIT"
55 +IUSE="x11-backend X"
56 +
57 +DEPEND="
58 + >=dev-libs/libinput-1.14.0:0=
59 + >=dev-libs/wayland-1.19.0
60 + >=dev-libs/wayland-protocols-1.17.0
61 + media-libs/mesa[egl,gles2,gbm]
62 + sys-auth/seatd:=
63 + virtual/libudev
64 + x11-libs/libdrm
65 + x11-libs/libxkbcommon
66 + x11-libs/pixman
67 + x11-backend? ( x11-libs/libxcb:0= )
68 + X? (
69 + x11-base/xwayland
70 + x11-libs/libxcb:0=
71 + x11-libs/xcb-util-image
72 + x11-libs/xcb-util-wm
73 + )
74 +"
75 +RDEPEND="
76 + ${DEPEND}
77 +"
78 +BDEPEND="
79 + >=dev-libs/wayland-protocols-1.17
80 + >=dev-util/meson-0.56.0
81 + virtual/pkgconfig
82 +"
83 +
84 +src_configure() {
85 + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
86 + local emesonargs=(
87 + "-Dxcb-errors=disabled"
88 + "-Dexamples=false"
89 + "-Dwerror=false"
90 + "-Drenderers=gles2"
91 + -Dxwayland=$(usex X enabled disabled)
92 + -Dx11-backend=$(usex x11-backend enabled disabled)
93 + )
94 +
95 + meson_src_configure
96 +}
97 +
98 +pkg_postinst() {
99 + elog "You must be in the input group to allow your compositor"
100 + elog "to access input devices via libinput."
101 +}