75 lines
2.5 KiB
Bash
75 lines
2.5 KiB
Bash
#!/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
|
|
pkgver=23.1.1
|
|
pkgrel=01
|
|
groups=('xorg')
|
|
url="https://xorg.freedesktop.org"
|
|
pkgdesc="run X clients under wayland"
|
|
provides=('xorg-server-xwayland')
|
|
depends=('nettle' 'libepoxy' 'libxfont2'
|
|
'pixman' 'xorg-server-common' 'libxcvt' 'mesa')
|
|
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() {
|
|
|
|
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=('custom')
|
|
|
|
#validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # "Michel Daenzer <michel@daenzer.net>"
|
|
#validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
|
validpgpkeys=('67DC86F2623FC5FD4BB5225D14706DBE1E4B4540') # "Olivier Fourdan <fourdan@xfce.org>"
|
|
|
|
sha256sums=(fb9461f5cb9fea5e07e91882311b0c88b43e8843b017ebac05eb5af69aa34c15 # xwayland-23.1.1.tar.xz
|
|
36078209e5891ea3fec0e252a48fdf229fdd78d4e9becf32ee5fff681730381b) # xwayland-23.1.1.tar.xz.sig
|
|
|
|
sha512sums=('21c386847135c5cb4ac884926b0fbeb6ad21c9ee54752e0cdc8418e31a72872d81032159c1d91b8afb915aaaf65e80454342461d676996b2f3c535a37b0147f0'
|
|
'SKIP')
|
|
|
|
## 316f348eb12fa7d494b97b6483ea284a735fb63cce1caf212c55d4e1e9833c5e xorg-xwayland-23.1.1-01-x86_64.pkg.tar.lz
|