# Maintainer: q234 rty # Contributor: lilydjwg # Contributor: AndyRTR pkgname=xorg-xwayland-hidpi-xprop pkgver=23.2.4 pkgrel=2 arch=('x86_64') license=('LicenseRef-custom') url="https://xorg.freedesktop.org" pkgdesc="run X clients under wayland, with !733 HiDPI patch" depends=('nettle' 'libepoxy' 'systemd-libs' 'libxfont2' 'pixman' 'xorg-server-common' 'libxcvt' 'mesa' 'libglvnd' 'libxau' 'wayland' 'libdrm' 'libtirpc' 'libxshmfence' 'glibc') makedepends=('meson' 'xorgproto' 'xtrans' 'libxkbfile' 'dbus' 'xorg-font-util' 'wayland-protocols' 'mesa-libgl' 'systemd' 'egl-wayland') source=(https://xorg.freedesktop.org/archive/individual/xserver/xwayland-$pkgver.tar.xz{,.sig} hidpi.patch) sha512sums=('ac3ff208cbef5bbe4637c335cfda226489c93b0a3768f2f4fb0201c588485ede38262fbce77ef1425b3d2a0be61b6580df53341c7b95e6072c8b6371ad29d187' 'SKIP' 'a345c3be8c572931d43d59dc25a6a9b76cd7b8768106210aa243f102bded48231768b67fa3d25e8174a7f8f4ec9e0f073d600c2228efd6a545ccef3c9e6e7299') provides=('xorg-server-xwayland' 'xorg-xwayland' 'xorg-xwayland-lily') conflicts=('xorg-server-xwayland' 'xorg-xwayland') replaces=('xorg-server-xwayland') #validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # "Michel Daenzer " validpgpkeys=('67DC86F2623FC5FD4BB5225D14706DBE1E4B4540') # "Olivier Fourdan " validpgpkeys+=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) options=('debug') prepare() { cd ${srcdir}/xwayland-$pkgver patch -Np1 -i ../hidpi.patch } build() { arch-meson xwayland-$pkgver build \ -D ipv6=true \ -D xvfb=false \ -D xdmcp=false \ -D xcsecurity=true \ -D dri3=true \ -D xwayland_eglstream=true \ -D glamor=true \ -D xkb_dir=/usr/share/X11/xkb \ -D xkb_output_dir=/var/lib/xkb # Don't Print config ninja -C build } package() { DESTDIR="${pkgdir}" ninja -C build install # xorg-server-common file /usr/lib/xorg/protocol.txt rm "${pkgdir}"/usr/lib/xorg/protocol.txt rmdir "${pkgdir}"/usr/lib/xorg rm "${pkgdir}"/usr/share/man/man1/Xserver.1 # license install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xwayland-$pkgver/COPYING }