void-packages/srcpkgs/xorg-server-xwayland/template

29 lines
1.2 KiB
Bash

# Template file for 'xorg-server-xwayland'
pkgname=xorg-server-xwayland
version=22.1.1
revision=1
wrksrc="xserver-xwayland-$version"
build_style=meson
configure_args="-Dipv6=true -Dxvfb=false -Dxdmcp=false -Dxcsecurity=true
-Ddri3=true -Dxwayland_eglstream=false -Dglamor=true -Dxkb_dir=/usr/share/X11/xkb
-Dxkb_output_dir=/var/lib/xkb"
hostmakedepends="pkg-config wayland-devel"
makedepends="nettle-devel libepoxy-devel font-util libXfont2-devel pixman-devel
libxkbfile-devel dbus-devel wayland-devel wayland-protocols libtirpc-devel
MesaLib-devel libxcb-devel libxshmfence-devel libxcvt-devel"
depends="xorg-server-common"
short_desc="Nested X server that runs as a wayland client"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://xorg.freedesktop.org"
distfiles="https://gitlab.freedesktop.org/xorg/xserver/-/archive/xwayland-$version/xserver-xwayland-$version.tar.gz"
checksum=42837e7b90e0d92aff4d7846f0609f8d3c0c6641bdd6add6e4e0c5c214371149
make_check=no # needs xtest repository
post_install() {
# protocol.txt is provided by xorg-server-common
rm ${DESTDIR}/usr/lib/xorg/protocol.txt
rm ${DESTDIR}/usr/share/man/man1/Xserver.1
vlicense COPYING
}