Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/
Date: Thu, 31 Mar 2022 16:46:53
Message-Id: 1648745200.d55b33426a17d54b94b6d6d5d74c57c0c0faa708.mattst88@gentoo
1 commit: d55b33426a17d54b94b6d6d5d74c57c0c0faa708
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 16:43:53 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 16:46:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55b3342
7
8 x11-base/xwayland: Version bump to 22.1.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-base/xwayland/Manifest | 1 +
13 x11-base/xwayland/xwayland-22.1.1.ebuild | 94 ++++++++++++++++++++++++++++++++
14 2 files changed, 95 insertions(+)
15
16 diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
17 index c5a07650c2a4..21207253b1f5 100644
18 --- a/x11-base/xwayland/Manifest
19 +++ b/x11-base/xwayland/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xwayland-21.1.4.tar.xz 1261712 BLAKE2B 698886d450f340c4a275f583d27382a5ee22c09255d907bbe2babc6794da1827bd5bf3e575b9da77ff3b3c5c4cd3e30cc10b89d14e0f6365d2a71f8ade61e410 SHA512 54e18565b4c2514534501ddcc76058d6911cf0c2185cddf5c54833d317f51ba8eb8934bd9be269518ece05f3bc8cda81600b25871c61437c923eba916eccc525
22 DIST xwayland-22.1.0.tar.xz 1271896 BLAKE2B bd090032a31a2872d3e1095ca2f73d8945eb9f29801ea5164b867132c98e4195eb84adc404048b294e148181b38b9172453e276f78a1a9575889fbc77c31d740 SHA512 01306d2127e9d02e457d86208d6fb285379ed8fab2837febe56aaee4b236bc052ad65ca8ec35555b983d15f0d8dd01d20526a17b40225d2a4b91c53202ec10b5
23 +DIST xwayland-22.1.1.tar.xz 1272176 BLAKE2B 5dabf9d6cf6ed217cdf5694dba9c63059bcc43e2bb413c1edcd5d8775a906270b28e9dddb90bedacdefe27bd792339c346782511102b42250e2a940aa664e9cb SHA512 435cdf59f2be1ff7cb3dbb04e7a8920d9c48471fbeffca96c9dab2be400b168bfdb73b9e818829c555ab5d6fd83345eb693b3ba785d4ef701bdb27c8344077b5
24
25 diff --git a/x11-base/xwayland/xwayland-22.1.1.ebuild b/x11-base/xwayland/xwayland-22.1.1.ebuild
26 new file mode 100644
27 index 000000000000..242b2daef28f
28 --- /dev/null
29 +++ b/x11-base/xwayland/xwayland-22.1.1.ebuild
30 @@ -0,0 +1,94 @@
31 +# Copyright 2021-2022 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="selinux video_cards_nvidia unwind xcsecurity"
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 +COMMON_DEPEND="
49 + dev-libs/libbsd
50 + dev-libs/openssl:=
51 + >=dev-libs/wayland-1.20
52 + >=dev-libs/wayland-protocols-1.22
53 + media-fonts/font-util
54 + >=media-libs/libepoxy-1.5.4[X,egl(+)]
55 + media-libs/libglvnd[X]
56 + >=media-libs/mesa-21.1[X(+),egl(+),gbm(+)]
57 + >=x11-libs/libdrm-2.4.89
58 + >=x11-libs/libXau-1.0.4
59 + x11-libs/libxcvt
60 + >=x11-libs/libXdmcp-1.0.2
61 + >=x11-libs/libXfont2-2.0.1
62 + x11-libs/libxkbfile
63 + >=x11-libs/libxshmfence-1.1
64 + >=x11-libs/pixman-0.27.2
65 + >=x11-misc/xkeyboard-config-2.4.1-r3
66 +
67 + unwind? ( sys-libs/libunwind )
68 + video_cards_nvidia? ( gui-libs/egl-wayland )
69 +"
70 +DEPEND="
71 + ${COMMON_DEPEND}
72 + x11-base/xorg-proto
73 + >=x11-libs/xtrans-1.3.5
74 +"
75 +RDEPEND="
76 + ${COMMON_DEPEND}
77 + x11-apps/xkbcomp
78 + !<=x11-base/xorg-server-1.20.11
79 + selinux? ( sec-policy/selinux-xserver )
80 +"
81 +BDEPEND="
82 + sys-devel/flex
83 + dev-util/wayland-scanner
84 +"
85 +
86 +PATCHES=(
87 + "${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch
88 +)
89 +
90 +src_configure() {
91 + local emesonargs=(
92 + $(meson_use selinux xselinux)
93 + $(meson_use unwind libunwind)
94 + $(meson_use xcsecurity)
95 + $(meson_use video_cards_nvidia xwayland_eglstream)
96 + -Ddpms=true
97 + -Ddri3=true
98 + -Ddrm=true
99 + -Ddtrace=false
100 + -Dglamor=true
101 + -Dglx=true
102 + -Dipv6=true
103 + -Dsecure-rpc=false
104 + -Dscreensaver=true
105 + -Dsha1=libcrypto
106 + -Dxace=true
107 + -Dxdmcp=true
108 + -Dxinerama=true
109 + -Dxvfb=true
110 + -Dxv=true
111 + -Dxwayland-path="${EPREFIX}"/usr/bin
112 + -Ddocs=false
113 + -Ddevel-docs=false
114 + -Ddocs-pdf=false
115 + )
116 +
117 + meson_src_configure
118 +}
119 +
120 +src_install() {
121 + dosym ../bin/Xwayland /usr/libexec/Xwayland
122 +
123 + meson_src_install
124 +}