Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/wlroots/
Date: Sat, 26 Feb 2022 02:44:01
Message-Id: 1645842856.689c407a73ba83877cce7d0b4378286b5880c213.sam@gentoo
1 commit: 689c407a73ba83877cce7d0b4378286b5880c213
2 Author: Leonardo Hernandez Hernandez <leohdz172 <AT> protonmail <DOT> com>
3 AuthorDate: Fri Feb 18 06:07:08 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 02:34:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689c407a
7
8 gui-libs/wlroots: bump to 0.15.1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>
12 Closes: https://github.com/gentoo/gentoo/pull/24244
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 gui-libs/wlroots/Manifest | 1 +
16 gui-libs/wlroots/wlroots-0.15.1.ebuild | 73 ++++++++++++++++++++++++++++++++++
17 2 files changed, 74 insertions(+)
18
19 diff --git a/gui-libs/wlroots/Manifest b/gui-libs/wlroots/Manifest
20 index a5eb3396cd01..ce2290bd369b 100644
21 --- a/gui-libs/wlroots/Manifest
22 +++ b/gui-libs/wlroots/Manifest
23 @@ -1,3 +1,4 @@
24 DIST wlroots-0.14.0.tar.gz 505461 BLAKE2B d2fa28f64014ef9d840838cb5938af23f6f6b211b62dc352d0d5bb824ccaa7d7a85531e1eca14feeb06d31d59955ff9a913e40a73cad21ed1ebfe76ada39d558 SHA512 83f001133cb4b11a72bb9532b7321655428826662848f67de8e3220a33d9dff4d37c859602bdc319929949d387d014a257b0347039a6649944d7b084c76bb611
25 DIST wlroots-0.14.1.tar.gz 505840 BLAKE2B fca4d259cdde62da0c196344ce1d0f5dd679d012ff33e3ceb5385b9374667e16d91059a2ba6a318153e79ac2f0a6464e3066e614a13398f8c433f442560d84d2 SHA512 4f557c827f9673eccf208a3644954de80e7355b95cc374cc5e851a47087b227f196e0936c0913d21a6c776c29b74de2d028a100931264e41934c747568d8ebe0
26 DIST wlroots-0.15.0.tar.gz 565059 BLAKE2B d98529b4548e3b751a505a26af143be585ed42fb9617bc67b4a10747bb494f1359d7bdb75d1730a72396e7c550fe481e858a5ac88621d61671698439e3656920 SHA512 730b1e0cf003dabae23101664c6d1993636bd3a8ecbdb3c165eef415a92811c4d5228f48e0275f75361d8528f118dfb8a2298cfb05dbf6364539224ceedca447
27 +DIST wlroots-0.15.1.tar.gz 565816 BLAKE2B 09b704a55d8b4a5ab19bb0fcdd041635fbbbb8eed94ff6d189ef47f9f86e90178efa8441c7db78839b1145ed79ed016d520d6599e256cdcf49130cda38bc307d SHA512 6228160f2f350a406c612f1048d7075cf2f78206cc84bc16f889d5d0acd614f9e98845fffed03d7067cfdbd7558b77fcc5d8cedc3868d866e476523126a63677
28
29 diff --git a/gui-libs/wlroots/wlroots-0.15.1.ebuild b/gui-libs/wlroots/wlroots-0.15.1.ebuild
30 new file mode 100644
31 index 000000000000..91ed9abb4a57
32 --- /dev/null
33 +++ b/gui-libs/wlroots/wlroots-0.15.1.ebuild
34 @@ -0,0 +1,73 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit meson
41 +
42 +DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
43 +HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots"
44 +
45 +if [[ ${PV} == 9999 ]]; then
46 + EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git"
47 + inherit git-r3
48 + SLOT="0/9999"
49 +else
50 + SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
52 + SLOT="0/15"
53 +fi
54 +
55 +LICENSE="MIT"
56 +IUSE="vulkan x11-backend X"
57 +
58 +DEPEND="
59 + >=dev-libs/libinput-1.14.0:0=
60 + >=dev-libs/wayland-1.20.0
61 + >=dev-libs/wayland-protocols-1.24
62 + media-libs/mesa[egl(+),gles2,gbm(+)]
63 + sys-auth/seatd:=
64 + virtual/libudev
65 + vulkan? (
66 + dev-util/glslang:0=
67 + dev-util/vulkan-headers:0=
68 + media-libs/vulkan-loader:0=
69 + )
70 + >=x11-libs/libdrm-2.4.109:0=
71 + x11-libs/libxkbcommon
72 + x11-libs/pixman
73 + x11-backend? ( x11-libs/libxcb:0= )
74 + X? (
75 + x11-base/xwayland
76 + x11-libs/libxcb:0=
77 + x11-libs/xcb-util-image
78 + x11-libs/xcb-util-wm
79 + )
80 +"
81 +RDEPEND="
82 + ${DEPEND}
83 +"
84 +BDEPEND="
85 + >=dev-libs/wayland-protocols-1.24
86 + >=dev-util/meson-0.60.0
87 + virtual/pkgconfig
88 +"
89 +
90 +src_configure() {
91 + # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
92 + local emesonargs=(
93 + "-Dxcb-errors=disabled"
94 + "-Dexamples=false"
95 + "-Dwerror=false"
96 + -Drenderers=$(usex vulkan 'gles2,vulkan' gles2)
97 + -Dxwayland=$(usex X enabled disabled)
98 + -Dbackends=drm,libinput$(usex x11-backend ',x11' '')
99 + )
100 +
101 + meson_src_configure
102 +}
103 +
104 +pkg_postinst() {
105 + elog "You must be in the input group to allow your compositor"
106 + elog "to access input devices via libinput."
107 +}