aboutsummaryrefslogtreecommitdiffstats
path: root/community/wf-recorder/APKBUILD
blob: a519e9d47d0deddffafa34440c0fbe22f9e9dcf5 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=wf-recorder
pkgver=0.2
pkgrel=2
pkgdesc="Screen recording for wlroots-based compositors"
options="!check" # No testsuite
url="https://github.com/ammen99/wf-recorder"
arch="all !ppc64le"
license="MIT"
makedepends="meson ffmpeg-dev opencl-headers pulseaudio-dev wayland-dev wayland-protocols
	x264-dev scdoc opencl-icd-loader-dev"
subpackages="$pkgname-doc"
source="https://github.com/ammen99/wf-recorder/releases/download/v$pkgver/wf-recorder-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Dman-pages=enabled \
		-Dopencl=enabled \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c1b9b9b39c03a9d99955446c54b5a70e4f53ad62fa2e9c9f42cf5a3b92b51eb14bab3ddd2a6d776428f79c920c91d699cb79a430c85c21cd74088e1ef7d5dbd1  wf-recorder-0.2.tar.xz"