gui-apps/wf-recorder: new package
authorOlaf Torvaldsson <consus@ftml.net>
Wed, 22 Apr 2020 08:42:54 +0000 (11:42 +0300)
committerTony Vroon <chainsaw@gentoo.org>
Wed, 29 Apr 2020 12:03:20 +0000 (13:03 +0100)
Closes: https://bugs.gentoo.org/717976
Signed-Off-by: Olaf Torvaldsson <consus@ftml.net>
Closes: https://github.com/gentoo/gentoo/pull/15466
Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
Signed-off-by: Tony Vroon <chainsaw@gentoo.org>
gui-apps/wf-recorder/Manifest [new file with mode: 0644]
gui-apps/wf-recorder/metadata.xml [new file with mode: 0644]
gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild [new file with mode: 0644]

diff --git a/gui-apps/wf-recorder/Manifest b/gui-apps/wf-recorder/Manifest
new file mode 100644 (file)
index 0000000..81897d6
--- /dev/null
@@ -0,0 +1 @@
+DIST wf-recorder-0.2.1.tar.xz 19828 BLAKE2B b86fc418a2779521a44eaefcf0c6d5533be64b608c7c3a8a550156a07eb10053f31bce1693c33842e7313997b090b63f7908eb64d9705c406c5026a6cde09c4d SHA512 e232f4a13d4891863a58667dc87df113f13fabac5042c93143d652472287e84906b261b764869cd02c523f5b3d2331224e2bb71f66814d1a1c9c99a0d28aa40a
diff --git a/gui-apps/wf-recorder/metadata.xml b/gui-apps/wf-recorder/metadata.xml
new file mode 100644 (file)
index 0000000..3404d6d
--- /dev/null
@@ -0,0 +1,19 @@
+<?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>
diff --git a/gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild b/gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..cbae5bb
--- /dev/null
@@ -0,0 +1,31 @@
+# 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
+}