# Maintainer: Mirror # Contributor: Manuel Stoeckl pkgname=waypipe pkgver=0.8.2 pkgrel=1 pkgdesc='A proxy for Wayland protocol applications; like ssh -X' license=('MIT') # minimal build: only 'wayland' 'wayland-protocols' 'meson' 'ninja' depends=('lz4' 'zstd' 'mesa-utils' 'ffmpeg' 'libva2') optdepends=( 'openssh: recommended transport' 'systemtap: a makedepend, for tracing hooks' ) makedepends=('git' 'meson' 'ninja-build' 'scdoc' 'libdrm-dev' 'python3-distutils') checkdepends=('weston' 'python-psutil-doc') url='https://gitlab.freedesktop.org/mstoeckl/waypipe' source=("https://gitlab.freedesktop.org/mstoeckl/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") sha256sums=('a14ef6688dd2d3b2b8027305c9ff248b94c1903ca7099c35d7b917d456e3f9a3') arch=('i686' 'amd64' 'arm' 'armv6h' 'armv7h' 'aarch64') build() { mkdir -p build meson build $pkgname-v$pkgver -D werror=false -D b_ndebug=true ninja -C build } package() { DESTDIR="$pkgdir" ninja -C "$srcdir/build" install install -Dm644 "$pkgname-v$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }