Gentoo Archives: gentoo-commits

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