--- /dev/null
+DIST wf-recorder-0.2.1.tar.xz 19828 BLAKE2B b86fc418a2779521a44eaefcf0c6d5533be64b608c7c3a8a550156a07eb10053f31bce1693c33842e7313997b090b63f7908eb64d9705c406c5026a6cde09c4d SHA512 e232f4a13d4891863a58667dc87df113f13fabac5042c93143d652472287e84906b261b764869cd02c523f5b3d2331224e2bb71f66814d1a1c9c99a0d28aa40a
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>consus@ftml.net</email>
+ <name>Olaf Torvaldsson</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="man">Build and install man pages</flag>
+ <flag name="opencl">Enable OpenCL</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ammen99/wf-recorder</remote-id>
+ </upstream>
+</pkgmetadata>
--- /dev/null
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Screen recorder for wlroots-based compositors"
+HOMEPAGE="https://github.com/ammen99/wf-recorder"
+SRC_URI="https://github.com/ammen99/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+man opencl"
+
+DEPEND="dev-libs/wayland
+ dev-libs/wayland-protocols
+ media-sound/pulseaudio
+ media-video/ffmpeg
+ opencl? ( virtual/opencl )"
+RDEPEND="${DEPEND}"
+BDEPEND="man? ( app-text/scdoc )"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature man man-pages)
+ $(meson_feature opencl)
+ )
+ meson_src_configure
+}