Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/
Date: Mon, 26 Jul 2021 19:52:05
Message-Id: 1627329106.09336ab0aa979efdeefec8c99b33dced36c18798.slashbeast@gentoo
1 commit: 09336ab0aa979efdeefec8c99b33dced36c18798
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 26 19:51:46 2021 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 26 19:51:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09336ab0
7
8 x11-base/xwayland: 21.1.2 version bump
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 x11-base/xwayland/Manifest | 1 +
13 x11-base/xwayland/xwayland-21.1.2.ebuild | 86 ++++++++++++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
17 index f6d26f7621e..b7490995c87 100644
18 --- a/x11-base/xwayland/Manifest
19 +++ b/x11-base/xwayland/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xwayland-21.1.1.901.tar.xz 1258684 BLAKE2B e689f9342bc1e3ccdd0807dc3e47d04e34b9d728698848c155cb489a02002ef8120cad1322db9d6fe955d275fc6c0835bbc76d61d4a2aa26118bb267c16e7717 SHA512 60dec3875e8ea60f8fc53eea0ebcb55c948cf5eeb40b30f6d5e13d8c7b48d0aabd035884ae108fce0b03ca5da592d1b0e395a9c5198c1204e8407ec119d9bbee
22 DIST xwayland-21.1.1.tar.xz 1257776 BLAKE2B 181aca3d3fad3759eb726c6f6141912d588a85bae214f9d395450b6945ee845d28c7a8580e6aaa5f3538d06083312391d24267e6b239bfc533526a1bd7a56f0a SHA512 0cb03d796af183f9fde14c30ef45d94ef466ac4ba3d85dda34e74f91dd94bb75d0c8a867ecb7bda7ea61d98c70a4f73bc98c5a205ea5f69a0e222cd780d263d8
23 +DIST xwayland-21.1.2.tar.xz 1258732 BLAKE2B 1a797e4dedee4f47ada968d4a06c89da2fac64bbfa587e84f01d5b0aa7da23402b70369a274a672470e6d8df0645fd117d129d1f2049b25394d825a9eed3e451 SHA512 3bd595a563cbc44b49a00c85adabdbcddf02fd55c6500ed2711557c156f10cd273af93f7b232865141ad27392a85583e40268bcedad183ad9eeefba457cef6c6
24
25 diff --git a/x11-base/xwayland/xwayland-21.1.2.ebuild b/x11-base/xwayland/xwayland-21.1.2.ebuild
26 new file mode 100644
27 index 00000000000..b4eed7a433e
28 --- /dev/null
29 +++ b/x11-base/xwayland/xwayland-21.1.2.ebuild
30 @@ -0,0 +1,86 @@
31 +# Copyright 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="Standalone X server running under Wayland"
39 +HOMEPAGE="https://wayland.freedesktop.org/xserver.html"
40 +SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz"
41 +
42 +IUSE="rpc unwind ipv6 xcsecurity selinux video_cards_nvidia"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
47 +
48 +DEPEND="
49 + >=x11-libs/pixman-0.27.2
50 + dev-libs/libbsd
51 + >=x11-libs/libXfont2-2.0.1
52 + dev-libs/openssl:=
53 + dev-libs/wayland
54 + video_cards_nvidia? ( gui-libs/egl-wayland )
55 + >=x11-libs/libXdmcp-1.0.2
56 + >=x11-libs/libdrm-2.4.89
57 + >=media-libs/libepoxy-1.5.4[X,egl(+)]
58 + >=media-libs/mesa-18[X(+),egl,gbm]
59 + >=x11-libs/libxshmfence-1.1
60 + rpc? ( net-libs/libtirpc )
61 + >=x11-libs/libXau-1.0.4
62 + media-libs/libglvnd[X]
63 + unwind? ( sys-libs/libunwind )
64 + >=dev-libs/wayland-protocols-1.18
65 + media-fonts/font-util
66 + x11-libs/libxkbfile
67 + >=x11-libs/xtrans-1.3.5
68 + x11-base/xorg-proto
69 + >=x11-misc/xkeyboard-config-2.4.1-r3
70 +"
71 +
72 +RDEPEND="
73 + ${DEPEND}
74 + !<=x11-base/xorg-server-1.20.11
75 + selinux? ( sec-policy/selinux-xserver )
76 +"
77 +BDEPEND="
78 + sys-devel/flex
79 + dev-util/wayland-scanner
80 +"
81 +
82 +PATCHES=(
83 + "${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch
84 +)
85 +
86 +src_configure() {
87 + local emesonargs=(
88 + $(meson_use rpc secure-rpc)
89 + $(meson_use unwind libunwind)
90 + $(meson_use ipv6)
91 + $(meson_use xcsecurity)
92 + $(meson_use selinux xselinux)
93 + $(meson_use video_cards_nvidia xwayland_eglstream)
94 + -Dsha1=libcrypto
95 + -Ddpms=true
96 + -Ddri3=true
97 + -Dglamor=true
98 + -Dglx=true
99 + -Dscreensaver=true
100 + -Dxace=true
101 + -Dxdmcp=true
102 + -Dxinerama=true
103 + -Dxv=true
104 + -Dxvfb=true
105 + -Dxwayland-path="${EPREFIX}"/usr/libexec
106 + -Ddtrace=false
107 + )
108 +
109 + meson_src_configure
110 +}
111 +
112 +src_install() {
113 + dosym ../libexec/Xwayland /usr/bin/Xwayland
114 +
115 + meson_src_install
116 +}