2022-03-20 13:34:07 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=xorg-xwayland
|
2023-02-03 01:24:50 +01:00
|
|
|
pkgver=22.1.7
|
|
|
|
pkgrel=02
|
2022-03-20 13:34:07 +01:00
|
|
|
arch=('x86_64')
|
|
|
|
groups=('xorg')
|
|
|
|
url="https://xorg.freedesktop.org"
|
|
|
|
pkgdesc="run X clients under wayland"
|
|
|
|
depends=('nettle' 'libepoxy' 'libxfont2'
|
2023-02-03 01:24:50 +01:00
|
|
|
'pixman' 'xorg-server-common' 'libxcvt' 'mesa')
|
2022-03-20 13:34:07 +01:00
|
|
|
makedepends=('meson' 'xorgproto' 'xtrans' 'libxkbfile' 'dbus'
|
|
|
|
'xorg-font-util'
|
|
|
|
'wayland' 'wayland-protocols'
|
|
|
|
'libdrm' '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() {
|
|
|
|
|
|
|
|
# bin + manpage + .pc file
|
|
|
|
install -m755 -Dt "${pkgdir}"/usr/bin build/hw/xwayland/Xwayland
|
|
|
|
install -m644 -Dt "${pkgdir}"/usr/share/man/man1 build/hw/xwayland/Xwayland.1
|
|
|
|
install -m644 -Dt "${pkgdir}"/usr/lib/pkgconfig build/hw/xwayland/xwayland.pc
|
|
|
|
|
|
|
|
# license
|
|
|
|
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xwayland-$pkgver/COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
|
|
|
|
license=('custom')
|
|
|
|
|
|
|
|
#validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # "Michel Daenzer <michel@daenzer.net>"
|
2023-02-03 01:24:50 +01:00
|
|
|
#validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
2022-03-20 13:34:07 +01:00
|
|
|
validpgpkeys=('67DC86F2623FC5FD4BB5225D14706DBE1E4B4540') # "Olivier Fourdan <fourdan@xfce.org>"
|
|
|
|
|
2023-02-03 01:24:50 +01:00
|
|
|
sha256sums=(d53afac6c71953f5cf66d03d289dacd8961da5bd309c1dff125d5955d9db5f76 # xwayland-22.1.7.tar.xz
|
|
|
|
7b65378de051b636610f26fdd62fe5f970867d7cc91b1c12cc645d3f74634a14) # xwayland-22.1.7.tar.xz.sig
|
2022-06-02 20:01:21 +02:00
|
|
|
|