aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-10 20:23:01 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-11 05:04:11 -0300
commita75c1c1e4a2fd529984df1c6eafca08aec3671d2 (patch)
tree0e32caa5bb598ddc8393a8a9d5e1703e4b6e5f70 /testing
parentda114e6cfd1e7d09bf17e15762e63c5d0fb5ee33 (diff)
downloadaports-a75c1c1e4a2fd529984df1c6eafca08aec3671d2.tar.bz2
aports-a75c1c1e4a2fd529984df1c6eafca08aec3671d2.tar.xz
testing/wf-recorder: new aport
https://github.com/ammen99/wf-recorder Screen recording for wlroots-based compositors
Diffstat (limited to 'testing')
-rw-r--r--testing/wf-recorder/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/wf-recorder/APKBUILD b/testing/wf-recorder/APKBUILD
new file mode 100644
index 0000000000..646a0986a3
--- /dev/null
+++ b/testing/wf-recorder/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=wf-recorder
+pkgver=0.1
+pkgrel=0
+pkgdesc="Screen recording for wlroots-based compositors"
+options="!check" # No testsuite
+url="https://github.com/ammen99/wf-recorder"
+arch="all"
+license="MIT"
+makedepends="meson ffmpeg-dev opencl-headers pulseaudio-dev wayland-dev wayland-protocols
+ x264-dev"
+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=release \
+ -Dman-pages=enabled \
+ -Dopencl=enabled \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="df8ad006c899634ba1ab8cf418e18538e95703a3ac112bf2f05310c30865001d9e50eba618662995f83629b2d0b9524266948f1a152d14d8e8a558d0de97058a wf-recorder-0.1.tar.xz"