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, 03 Nov 2022 17:23:05
Message-Id: 1667496176.b4fda02e9ad319a19467f60d9c40717999afe4ab.mattst88@gentoo
1 commit: b4fda02e9ad319a19467f60d9c40717999afe4ab
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 17:20:32 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 17:22:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fda02e
7
8 x11-base/xwayland: Version bump to 22.1.5
9
10 Closes: https://bugs.gentoo.org/879235
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 x11-base/xwayland/Manifest | 1 +
14 x11-base/xwayland/xwayland-22.1.5.ebuild | 100 +++++++++++++++++++++++++++++++
15 2 files changed, 101 insertions(+)
16
17 diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
18 index 933dbf228c2d..3c3ae0bcc003 100644
19 --- a/x11-base/xwayland/Manifest
20 +++ b/x11-base/xwayland/Manifest
21 @@ -1,2 +1,3 @@
22 DIST xwayland-22.1.3.tar.xz 1272440 BLAKE2B 5f35d6675ee90d910ed39921b4590e7a5325f941238c69b09d6b7063bcded992d1e4425327ae4626e8e9cead7dc17b4d892642a1a3bdb3a4de797f8f733202c4 SHA512 be15cb398f9a8aad70352d09b0745c827d4766d5996e817b92c828b5ede27b10186c7ee319901abdc5e141da97170a3ace039269146461d4e2ceb5002a7c35b4
23 DIST xwayland-22.1.4.tar.xz 1273552 BLAKE2B c492968f335ebd5b194d91729476047760b85620366fc587cace5f1cdef8cb22576293fb3799eedfe4a9c1eeff78dd18abaead67422caeb04b1ceb419509fbc6 SHA512 a1301df1687ac276172565c98b1fb3d5f35f67d47f625b81fce485d1818cf4896f88c2750b4e93596fa6f7fd515e258d201ca3d0cc39943b576f2d2c3f9be8cd
24 +DIST xwayland-22.1.5.tar.xz 1273444 BLAKE2B a6773f2b9655d0651a0a686f5e1fa41bdeaba998dc3e42c2c24dcc262d2affdb055c7ab0cf32b94ba11c82cbfe91bfcf10eb651f678feda95fccb55cc21d2e4f SHA512 806219692be297419777ad5343158f72473a691f7c8be4468fac185a3bc5e3b6811755de3133c12f3694480e51529ac3fa409b22640a80a233925716fec24c06
25
26 diff --git a/x11-base/xwayland/xwayland-22.1.5.ebuild b/x11-base/xwayland/xwayland-22.1.5.ebuild
27 new file mode 100644
28 index 000000000000..384312c2aa5c
29 --- /dev/null
30 +++ b/x11-base/xwayland/xwayland-22.1.5.ebuild
31 @@ -0,0 +1,100 @@
32 +# Copyright 2021-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit meson
38 +
39 +if [[ ${PV} == "9999" ]] ; then
40 + EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git"
41 + inherit git-r3
42 +else
43 + SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 +fi
46 +
47 +DESCRIPTION="Standalone X server running under Wayland"
48 +HOMEPAGE="https://wayland.freedesktop.org/xserver.html"
49 +
50 +IUSE="selinux video_cards_nvidia unwind xcsecurity"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +
55 +COMMON_DEPEND="
56 + dev-libs/libbsd
57 + dev-libs/openssl:=
58 + >=dev-libs/wayland-1.20
59 + >=dev-libs/wayland-protocols-1.22
60 + media-fonts/font-util
61 + >=media-libs/libepoxy-1.5.4[X,egl(+)]
62 + media-libs/libglvnd[X]
63 + >=media-libs/mesa-21.1[X(+),egl(+),gbm(+)]
64 + >=x11-libs/libdrm-2.4.89
65 + >=x11-libs/libXau-1.0.4
66 + x11-libs/libxcvt
67 + >=x11-libs/libXdmcp-1.0.2
68 + >=x11-libs/libXfont2-2.0.1
69 + x11-libs/libxkbfile
70 + >=x11-libs/libxshmfence-1.1
71 + >=x11-libs/pixman-0.27.2
72 + >=x11-misc/xkeyboard-config-2.4.1-r3
73 +
74 + unwind? ( sys-libs/libunwind )
75 + video_cards_nvidia? ( gui-libs/egl-wayland )
76 +"
77 +DEPEND="
78 + ${COMMON_DEPEND}
79 + x11-base/xorg-proto
80 + >=x11-libs/xtrans-1.3.5
81 +"
82 +RDEPEND="
83 + ${COMMON_DEPEND}
84 + x11-apps/xkbcomp
85 + !<=x11-base/xorg-server-1.20.11
86 + selinux? ( sec-policy/selinux-xserver )
87 +"
88 +BDEPEND="
89 + sys-devel/flex
90 + dev-util/wayland-scanner
91 +"
92 +
93 +PATCHES=(
94 + "${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch
95 +)
96 +
97 +src_configure() {
98 + local emesonargs=(
99 + $(meson_use selinux xselinux)
100 + $(meson_use unwind libunwind)
101 + $(meson_use xcsecurity)
102 + $(meson_use video_cards_nvidia xwayland_eglstream)
103 + -Ddpms=true
104 + -Ddri3=true
105 + -Ddrm=true
106 + -Ddtrace=false
107 + -Dglamor=true
108 + -Dglx=true
109 + -Dipv6=true
110 + -Dsecure-rpc=false
111 + -Dscreensaver=true
112 + -Dsha1=libcrypto
113 + -Dxace=true
114 + -Dxdmcp=true
115 + -Dxinerama=true
116 + -Dxvfb=true
117 + -Dxv=true
118 + -Dxwayland-path="${EPREFIX}"/usr/bin
119 + -Ddocs=false
120 + -Ddevel-docs=false
121 + -Ddocs-pdf=false
122 + )
123 +
124 + meson_src_configure
125 +}
126 +
127 +src_install() {
128 + dosym ../bin/Xwayland /usr/libexec/Xwayland
129 +
130 + meson_src_install
131 +}