summaryrefslogtreecommitdiff
path: root/community/waypipe/APKBUILD
blob: dd54f45bf6314df3f54f3550bda6aa69695ddb21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Simon Zeni <simon@bl4ckb0ne.ca>
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname=waypipe
pkgver=0.8.3
pkgrel=0
pkgdesc="proxy for Wayland clients"
url="https://gitlab.freedesktop.org/mstoeckl/waypipe"
arch="all !s390x" # fttfs
license="MIT"
makedepends="meson wayland-protocols wayland-dev scdoc lz4-dev zstd-dev mesa-dev
	libdrm-dev ffmpeg-dev libva-dev"
source="https://gitlab.freedesktop.org/mstoeckl/waypipe/-/archive/v$pkgver/waypipe-v$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson \
		-Dwerror=false \
		-Db_ndebug=true \
		build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

check() {
	meson test --no-rebuild --print-errorlogs -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
ebd37b45ec34a2341b373fc62d7db23d29f872ca7860e25a08a819ec7ce412ab9f9acdc77f561e04fa7f214cc1e4a9045d84a4e7c0a510ecd20ecbddf71a3c8f  waypipe-v0.8.3.tar.gz
"