commit:     ab40d49152523192523ac06a1d58e47a0d8fd260
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 15:28:28 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed May 15 15:29:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab40d491

x11-base/xwayland: Version bump to 23.2.7

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-base/xwayland/Manifest               |   1 +
 x11-base/xwayland/xwayland-23.2.7.ebuild | 113 +++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
index d3d403a9fb6f..5ae605b09e05 100644
--- a/x11-base/xwayland/Manifest
+++ b/x11-base/xwayland/Manifest
@@ -1 +1,2 @@
 DIST xwayland-23.2.6.tar.xz 1300092 BLAKE2B 
5b10984a2c2fba87ce1101b70c26070100e743239dc705716c4b7e1318e192ad1da5e4933516f87ab0405b98eb1cc093081d4a1e4754f5dc8947a546a6f89072
 SHA512 
9e3c2253af335a559d0f890fa8f9bc381beca6531e0842d739ac15cbca008b3d07c0eefafd03611b04917c626861a7871a83657afa2a298994f4b162f714fc49
+DIST xwayland-23.2.7.tar.xz 1295016 BLAKE2B 
9c8b5490eb4c468f0ee7c4e267ee9f3f9eba04bd9535a0a06a461fe0f3c7c8708d19deb8473ba4eacb446b9207637555a379bd768f8459c1ebe10cfed59010d1
 SHA512 
d78bd1ffed5a8149c55b453a464e46d2d658169bb814a96b8b75119349ba5506bb9d5c131c3ff28d94b4a27db894963b8f039b89843a0164d4463d7015d74c1b

diff --git a/x11-base/xwayland/xwayland-23.2.7.ebuild 
b/x11-base/xwayland/xwayland-23.2.7.ebuild
new file mode 100644
index 000000000000..ebe16be06541
--- /dev/null
+++ b/x11-base/xwayland/xwayland-23.2.7.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git";
+       inherit git-r3
+else
+       
SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Standalone X server running under Wayland"
+HOMEPAGE="https://wayland.freedesktop.org/xserver.html";
+
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="libei selinux systemd video_cards_nvidia unwind xcsecurity"
+
+COMMON_DEPEND="
+       dev-libs/libbsd
+       dev-libs/openssl:=
+       >=dev-libs/wayland-1.21.0
+       >=dev-libs/wayland-protocols-1.30
+       media-fonts/font-util
+       >=media-libs/libepoxy-1.5.4[X,egl(+)]
+       media-libs/libglvnd[X]
+       >=media-libs/mesa-21.1[X(+),egl(+),gbm(+)]
+       >=x11-libs/libdrm-2.4.109
+       >=x11-libs/libXau-1.0.4
+       x11-libs/libxcvt
+       >=x11-libs/libXdmcp-1.0.2
+       >=x11-libs/libXfont2-2.0.1
+       x11-libs/libxkbfile
+       >=x11-libs/libxshmfence-1.1
+       >=x11-libs/pixman-0.27.2
+       >=x11-misc/xkeyboard-config-2.4.1-r3
+
+       libei? ( dev-libs/libei )
+       systemd? ( sys-apps/systemd )
+       unwind? ( sys-libs/libunwind )
+       video_cards_nvidia? ( gui-libs/egl-wayland )
+"
+DEPEND="
+       ${COMMON_DEPEND}
+       >=x11-base/xorg-proto-2023.2
+       >=x11-libs/xtrans-1.3.5
+"
+RDEPEND="
+       ${COMMON_DEPEND}
+       x11-apps/xkbcomp
+
+       libei? ( >=sys-apps/xdg-desktop-portal-1.18.0 )
+       selinux? ( sec-policy/selinux-xserver )
+"
+BDEPEND="
+       app-alternatives/lex
+       dev-util/wayland-scanner
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-drop-redundantly-installed-files.patch
+       "${FILESDIR}"/${PN}-23.2.3-systemd-automagic.patch
+       
"${FILESDIR}"/${PN}-23.3.6-test-Skip-Xwayland-test-early-if-PIGLIT_DIR-XTEST_DI.patch
+)
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use selinux xselinux)
+               $(meson_use systemd)
+               $(meson_use unwind libunwind)
+               $(meson_use xcsecurity)
+               $(meson_use video_cards_nvidia xwayland_eglstream)
+               -Ddpms=true
+               -Ddri3=true
+               -Ddrm=true
+               -Ddtrace=false
+               -Dglamor=true
+               -Dglx=true
+               -Dipv6=true
+               -Dsecure-rpc=false
+               -Dscreensaver=true
+               -Dsha1=libcrypto
+               -Dxace=true
+               -Dxdmcp=true
+               -Dxinerama=true
+               -Dxvfb=true
+               -Dxv=true
+               -Dxwayland-path="${EPREFIX}"/usr/bin
+               -Dlibdecor=false
+               -Ddocs=false
+               -Ddevel-docs=false
+               -Ddocs-pdf=false
+       )
+
+       if use libei; then
+               emesonargs+=( -Dxwayland_ei=portal )
+       else
+               emesonargs+=( -Dxwayland_ei=false )
+       fi
+
+       meson_src_configure
+}
+
+src_install() {
+       dosym ../bin/Xwayland /usr/libexec/Xwayland
+
+       meson_src_install
+}

Reply via email to