Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/
Date: Wed, 30 Jun 2021 23:57:25
Message-Id: 1625097385.c4aa12630daea0bd953c234bb2ae49f51939e8b4.ionen@gentoo
1 commit: c4aa12630daea0bd953c234bb2ae49f51939e8b4
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 30 22:42:19 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 30 23:56:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4aa1263
7
8 x11-base/xwayland: add 21.1.1.901 unkeyworded for testing
9
10 Release candidate that notably allows acceleration for NVIDIA cards.
11
12 Also added openssl dep for sha1=libcrypto, and fix install on prefix.
13
14 Acked-by: Matt Turner <mattst88 <AT> gentoo.org>
15 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
16
17 x11-base/xwayland/Manifest | 1 +
18 x11-base/xwayland/xwayland-21.1.1.901.ebuild | 89 ++++++++++++++++++++++++++++
19 2 files changed, 90 insertions(+)
20
21 diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
22 index 2f2adffe714..f6d26f7621e 100644
23 --- a/x11-base/xwayland/Manifest
24 +++ b/x11-base/xwayland/Manifest
25 @@ -1 +1,2 @@
26 +DIST xwayland-21.1.1.901.tar.xz 1258684 BLAKE2B e689f9342bc1e3ccdd0807dc3e47d04e34b9d728698848c155cb489a02002ef8120cad1322db9d6fe955d275fc6c0835bbc76d61d4a2aa26118bb267c16e7717 SHA512 60dec3875e8ea60f8fc53eea0ebcb55c948cf5eeb40b30f6d5e13d8c7b48d0aabd035884ae108fce0b03ca5da592d1b0e395a9c5198c1204e8407ec119d9bbee
27 DIST xwayland-21.1.1.tar.xz 1257776 BLAKE2B 181aca3d3fad3759eb726c6f6141912d588a85bae214f9d395450b6945ee845d28c7a8580e6aaa5f3538d06083312391d24267e6b239bfc533526a1bd7a56f0a SHA512 0cb03d796af183f9fde14c30ef45d94ef466ac4ba3d85dda34e74f91dd94bb75d0c8a867ecb7bda7ea61d98c70a4f73bc98c5a205ea5f69a0e222cd780d263d8
28
29 diff --git a/x11-base/xwayland/xwayland-21.1.1.901.ebuild b/x11-base/xwayland/xwayland-21.1.1.901.ebuild
30 new file mode 100644
31 index 00000000000..2727dab21fa
32 --- /dev/null
33 +++ b/x11-base/xwayland/xwayland-21.1.1.901.ebuild
34 @@ -0,0 +1,89 @@
35 +# Copyright 2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit meson
41 +
42 +DESCRIPTION="Standalone X server running under Wayland"
43 +HOMEPAGE="https://wayland.freedesktop.org/xserver.html"
44 +SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz"
45 +
46 +IUSE="rpc unwind ipv6 xcsecurity selinux video_cards_nvidia"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
51 +
52 +CDEPEND="
53 + >=x11-libs/pixman-0.27.2
54 + dev-libs/libbsd
55 + >=x11-libs/libXfont2-2.0.1
56 + dev-libs/openssl:=
57 + dev-libs/wayland
58 + video_cards_nvidia? ( gui-libs/egl-wayland )
59 + >=x11-libs/libXdmcp-1.0.2
60 + >=x11-libs/libdrm-2.4.89
61 + >=media-libs/libepoxy-1.5.4[X,egl(+)]
62 + >=media-libs/mesa-18[X(+),egl,gbm]
63 + >=x11-libs/libxshmfence-1.1
64 + rpc? ( net-libs/libtirpc )
65 + >=x11-libs/libXau-1.0.4
66 + media-libs/libglvnd[X]
67 + unwind? ( sys-libs/libunwind )
68 + >=dev-libs/wayland-protocols-1.18
69 + media-fonts/font-util
70 + x11-libs/libxkbfile
71 + >=x11-libs/xtrans-1.3.5
72 + x11-base/xorg-proto
73 +"
74 +
75 +DEPEND="
76 + ${CDEPEND}
77 + !<=x11-base/xorg-server-1.20.11
78 +"
79 +
80 +RDEPEND="
81 + ${DEPEND}
82 + selinux? ( sec-policy/selinux-xserver )
83 +"
84 +BDEPEND="
85 + sys-devel/flex
86 + dev-util/wayland-scanner
87 +"
88 +
89 +PATCHES=(
90 + "${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch
91 +)
92 +
93 +src_configure() {
94 + local emesonargs=(
95 + $(meson_use rpc secure-rpc)
96 + $(meson_use unwind libunwind)
97 + $(meson_use ipv6)
98 + $(meson_use xcsecurity)
99 + $(meson_use selinux xselinux)
100 + $(meson_use video_cards_nvidia xwayland_eglstream)
101 + -Dsha1=libcrypto
102 + -Ddpms=true
103 + -Ddri3=true
104 + -Dglamor=true
105 + -Dglx=true
106 + -Dscreensaver=true
107 + -Dxace=true
108 + -Dxdmcp=true
109 + -Dxinerama=true
110 + -Dxv=true
111 + -Dxvfb=true
112 + -Dxwayland-path="${EPREFIX}"/usr/libexec
113 + -Ddtrace=false
114 + )
115 +
116 + meson_src_configure
117 +}
118 +
119 +src_install() {
120 + dosym ../libexec/Xwayland /usr/bin/Xwayland
121 +
122 + meson_src_install
123 +}