Commit ea4824d6 authored by Leo's avatar Leo

testing/xwayland: new aport

https://www.x.org/wiki
Compact xserver to run under wayland for compatibility
parent cec14950
Pipeline #73842 passed with stages
in 3 minutes and 18 seconds
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=xwayland
pkgver=21.0.99.901
pkgrel=0
pkgdesc="Compact xserver to run under wayland for compatibility"
url="https://www.x.org/wiki"
arch="all"
license="MIT"
options="suid"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
depends="
font-misc-misc
font-cursor-misc
xkeyboard-config
xkbcomp
xinit
"
depends_dev="
libepoxy-dev
libxfont2-dev
mesa-dev
libpciaccess-dev
xorgproto
xtrans
libxshmfence-dev
pixman-dev
xkbcomp-dev
libxkbfile-dev
nettle-dev
wayland-dev
wayland-protocols
libdrm-dev
libxext-dev
libx11-dev
libxau-dev
eudev-dev
libxcb-dev
xcb-util-dev
xcb-util-image-dev
xcb-util-keysyms-dev
xcb-util-renderutil-dev
xcb-util-wm-dev
libxdmcp-dev
"
makedepends="
$depends_dev
meson
"
source="https://gitlab.freedesktop.org/xorg/xserver/-/archive/xwayland-$pkgver/xserver-xwayland-$pkgver.tar.gz
"
builddir="$srcdir/xserver-xwayland-$pkgver"
build() {
abuild-meson \
-Dglamor=true \
-Dxwayland_eglstream=false \
-Dxvfb=true \
-Ddefault_font_path=$_fontroot/misc,$_fontroot/100dpi:unscaled,$_fontroot/75dpi:unscaled,$_fontroot/TTF,$_fontroot/Type1 \
-Dglx=true \
-Dxdmcp=true \
-Dxdm-auth-1=true \
-Dxcsecurity=true \
-Dsecure-rpc=false \
-Dipv6=true \
-Dxkb_dir=/usr/share/X11/xkb \
-Dxkb_output_dir=/var/lib/xkb \
-Dlisten_tcp=false \
-Dlisten_unix=true \
-Dlisten_local=true \
-Ddpms=true \
-Ddri3=true \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# Not applicable, we only package Xwayland
rm -f "$pkgdir"/usr/share/man/man1/Xserver.1.gz
}
sha512sums="cc463ee396d9a743b147911bba71ceb5f44d6d31609e62ecfacd947562f0cdab3aeb1481952fc5e1d5539f64716ff17cee4ec7509c248a223cec0d6eeedb3b05 xserver-xwayland-21.0.99.901.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment