blob: 99dd1d7525c1efbc168933175dc80068a8153bbc (
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.1
pkgrel=0
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="e232f4a13d4891863a58667dc87df113f13fabac5042c93143d652472287e84906b261b764869cd02c523f5b3d2331224e2bb71f66814d1a1c9c99a0d28aa40a wf-recorder-0.2.1.tar.xz"
|