[arch-commits] Commit in (4 files)

Brett Cornwall ainola at archlinux.org
Fri Jun 19 00:19:46 UTC 2020


    Date: Friday, June 19, 2020 @ 00:19:45
  Author: ainola
Revision: 647582

Import wf-recorder from AUR (10 votes)

wlroots compositors are on short supply of screen recorders.

Added:
  wf-recorder/
  wf-recorder/repos/
  wf-recorder/trunk/
  wf-recorder/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: wf-recorder/trunk/PKGBUILD
===================================================================
--- wf-recorder/trunk/PKGBUILD	                        (rev 0)
+++ wf-recorder/trunk/PKGBUILD	2020-06-19 00:19:45 UTC (rev 647582)
@@ -0,0 +1,37 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Lennard Hofmann
+
+pkgname=wf-recorder
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Screen recorder for wlroots-based compositors such as sway"
+arch=("x86_64")
+url="https://github.com/ammen99/wf-recorder"
+license=('MIT')
+depends=(
+	'ffmpeg'
+	'ocl-icd'
+)
+makedepends=(
+	'meson'
+	'opencl-headers'
+	'scdoc'
+	'wayland-protocols'
+)
+optdepends=(
+	'slurp: Select a region to record'
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz")
+sha256sums=('45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1')
+
+build() {
+	meson "$pkgname-$pkgver" build \
+		--prefix=/usr \
+		--buildtype=plain
+	ninja -C build
+}
+
+package() {
+	DESTDIR="$pkgdir/" ninja -C build install
+	install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+}


More information about the arch-commits mailing list