blob: 046117622ed649a88cfb78128676f870ca764761 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Manuel Stoeckl <com dоt mstoeckl аt wppkgb>
pkgname=waypipe-git
pkgver=0.9.1.r8.g8d35d76
pkgrel=1
pkgdesc='A proxy for Wayland protocol applications; like ssh -X'
license=('MIT')
# minimal build: only 'meson' 'ninja' + C compiler/libc
makedepends=('git' 'meson' 'ninja' 'scdoc' 'libdrm' 'pkgconf' 'cmake')
depends=('lz4' 'zstd' 'mesa' 'ffmpeg' 'libva' 'wayland')
optdepends=(
'openssh: recommended transport'
'systemtap: a makedepend, for tracing hooks'
)
checkdepends=('weston' 'python-psutil')
url='https://gitlab.freedesktop.org/mstoeckl/waypipe'
source=('git+https://gitlab.freedesktop.org/mstoeckl/waypipe.git')
sha512sums=('SKIP')
options=(debug !strip)
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
provides=('waypipe')
conflicts=('waypipe')
pkgver() {
cd waypipe
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
prepare() {
cd waypipe
meson --buildtype debugoptimized -Dwerror=false --prefix /usr "$srcdir/build"
}
check() {
cd "$srcdir/build"
meson test
}
build() {
cd waypipe
ninja -C "$srcdir/build"
}
package() {
cd waypipe
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
}
|