summaryrefslogtreecommitdiff
blob: cbae5bbd6bda290902e45c5378a43bab4c633065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}