diff options
-rw-r--r-- | x11-base/xwayland/Manifest | 1 | ||||
-rw-r--r-- | x11-base/xwayland/xwayland-21.1.2.901.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest index b7490995c87d..9f7c291d799b 100644 --- a/x11-base/xwayland/Manifest +++ b/x11-base/xwayland/Manifest @@ -1,3 +1,4 @@ DIST xwayland-21.1.1.901.tar.xz 1258684 BLAKE2B e689f9342bc1e3ccdd0807dc3e47d04e34b9d728698848c155cb489a02002ef8120cad1322db9d6fe955d275fc6c0835bbc76d61d4a2aa26118bb267c16e7717 SHA512 60dec3875e8ea60f8fc53eea0ebcb55c948cf5eeb40b30f6d5e13d8c7b48d0aabd035884ae108fce0b03ca5da592d1b0e395a9c5198c1204e8407ec119d9bbee DIST xwayland-21.1.1.tar.xz 1257776 BLAKE2B 181aca3d3fad3759eb726c6f6141912d588a85bae214f9d395450b6945ee845d28c7a8580e6aaa5f3538d06083312391d24267e6b239bfc533526a1bd7a56f0a SHA512 0cb03d796af183f9fde14c30ef45d94ef466ac4ba3d85dda34e74f91dd94bb75d0c8a867ecb7bda7ea61d98c70a4f73bc98c5a205ea5f69a0e222cd780d263d8 +DIST xwayland-21.1.2.901.tar.xz 1261656 BLAKE2B 76710f02d50506d3a41d33065b23b8bd43ef6ab6abb69f359d12174dd8a9fc2d90e1125f093701c560f6de77ad52fda6d76fdabbfe9df6028194a6ae73f82c91 SHA512 94ffb4f1d107db7c78aa01048ccc984882cd290bc67c8dc6d83ee158c65d8ad58974b71881136301b1b43077abe0aeb6b37780a5c69edf502ca714b8b8d75b1c DIST xwayland-21.1.2.tar.xz 1258732 BLAKE2B 1a797e4dedee4f47ada968d4a06c89da2fac64bbfa587e84f01d5b0aa7da23402b70369a274a672470e6d8df0645fd117d129d1f2049b25394d825a9eed3e451 SHA512 3bd595a563cbc44b49a00c85adabdbcddf02fd55c6500ed2711557c156f10cd273af93f7b232865141ad27392a85583e40268bcedad183ad9eeefba457cef6c6 diff --git a/x11-base/xwayland/xwayland-21.1.2.901.ebuild b/x11-base/xwayland/xwayland-21.1.2.901.ebuild new file mode 100644 index 000000000000..f95f884f71bf --- /dev/null +++ b/x11-base/xwayland/xwayland-21.1.2.901.ebuild @@ -0,0 +1,87 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Standalone X server running under Wayland" +HOMEPAGE="https://wayland.freedesktop.org/xserver.html" +SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz" + +IUSE="rpc unwind ipv6 xcsecurity selinux video_cards_nvidia" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=x11-libs/pixman-0.27.2 + dev-libs/libbsd + >=x11-libs/libXfont2-2.0.1 + dev-libs/openssl:= + dev-libs/wayland + video_cards_nvidia? ( gui-libs/egl-wayland ) + >=x11-libs/libXdmcp-1.0.2 + >=x11-libs/libdrm-2.4.89 + >=media-libs/libepoxy-1.5.4[X,egl(+)] + >=media-libs/mesa-21.1[X(+),egl(+),gbm(+)] + >=x11-libs/libxshmfence-1.1 + rpc? ( net-libs/libtirpc ) + >=x11-libs/libXau-1.0.4 + media-libs/libglvnd[X] + unwind? ( sys-libs/libunwind ) + >=dev-libs/wayland-protocols-1.18 + media-fonts/font-util + x11-libs/libxkbfile + >=x11-libs/xtrans-1.3.5 + x11-base/xorg-proto + >=x11-misc/xkeyboard-config-2.4.1-r3 +" + +RDEPEND=" + ${DEPEND} + x11-apps/xkbcomp + !<=x11-base/xorg-server-1.20.11 + selinux? ( sec-policy/selinux-xserver ) +" +BDEPEND=" + sys-devel/flex + dev-util/wayland-scanner +" + +PATCHES=( + "${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch +) + +src_configure() { + local emesonargs=( + $(meson_use rpc secure-rpc) + $(meson_use unwind libunwind) + $(meson_use ipv6) + $(meson_use xcsecurity) + $(meson_use selinux xselinux) + $(meson_use video_cards_nvidia xwayland_eglstream) + -Dsha1=libcrypto + -Ddpms=true + -Ddri3=true + -Dglamor=true + -Dglx=true + -Dscreensaver=true + -Dxace=true + -Dxdmcp=true + -Dxinerama=true + -Dxv=true + -Dxvfb=true + -Dxwayland-path="${EPREFIX}"/usr/bin + -Ddtrace=false + ) + + meson_src_configure +} + +src_install() { + dosym ../bin/Xwayland /usr/libexec/Xwayland + + meson_src_install +} |