#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=xorg-xwayland pkgver=23.2.4 pkgrel=02 groups=('xorg') url="https://xorg.freedesktop.org" pkgdesc="run X clients under wayland w/o ipv6 just like xorg-server" provides=('xorg-server-xwayland') depends=('nettle' 'libepoxy' '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' 'egl-wayland') source=(https://xorg.freedesktop.org/archive/individual/xserver/xwayland-$pkgver.tar.xz{,.sig}) provides=('xorg-server-xwayland') conflicts=('xorg-server-xwayland') replaces=('xorg-server-xwayland') build() { arch-meson xwayland-$pkgver build \ -D ipv6=false \ -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 # Print config meson configure build 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=(LicenseRef-Adobe-Display-PostScript BSD-3-Clause LicenseRef-DEC-3-Clause HPND LicenseRef-HPND-sell-MIT-disclaimer-xserver HPND-sell-variant ICU ISC MIT MIT-open-group NTP SGI-B-2.0 SMLNJ X11 X11-distribute-modifications-variant) #validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # "Michel Daenzer " #validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) validpgpkeys=('67DC86F2623FC5FD4BB5225D14706DBE1E4B4540') # "Olivier Fourdan " sha256sums=(a99e159b6d0d33098b3b6ab22a88bfcece23c8b9d0ca72c535c55dcb0681b46b # xwayland-23.2.4.tar.xz 555e36d5d6e80a813192230efdbdd2a4a7612446b31fdafeb38a80fe7e8e90bb) # xwayland-23.2.4.tar.xz.sig ## 958ca7a1ea2d3eb66dc3bd1cf8a7e51353bcf647f8d39a066482a30831291156 xorg-xwayland-23.2.4-02-x86_64.pkg.tar.lz