forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/717976 Signed-Off-by: Olaf Torvaldsson <[email protected]> Closes: gentoo#15466 Signed-Off-By: Tony Vroon <[email protected]> Signed-off-by: Tony Vroon <[email protected]>
- Loading branch information
1 parent
eea4563
commit 575dd3b
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST wf-recorder-0.2.1.tar.xz 19828 BLAKE2B b86fc418a2779521a44eaefcf0c6d5533be64b608c7c3a8a550156a07eb10053f31bce1693c33842e7313997b090b63f7908eb64d9705c406c5026a6cde09c4d SHA512 e232f4a13d4891863a58667dc87df113f13fabac5042c93143d652472287e84906b261b764869cd02c523f5b3d2331224e2bb71f66814d1a1c9c99a0d28aa40a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
<name>Olaf Torvaldsson</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |