1 # Copyright 2020-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Screen recorder for wlroots-based compositors"
9 HOMEPAGE="https://github.com/ammen99/wf-recorder"
11 if [[ ${PV} == *9999* ]]; then
13 EGIT_REPO_URI="https://github.com/ammen99/wf-recorder.git"
15 SRC_URI="https://github.com/ammen99/wf-recorder/releases/download/v${PV}/${P}.tar.xz"
16 KEYWORDS="~amd64 ~x86"
21 IUSE="pipewire pulseaudio"
25 media-libs/mesa[opengl,wayland]
26 media-video/ffmpeg[pulseaudio?,x264]
28 pipewire? ( >=media-video/pipewire-1.0.5:= )
29 pulseaudio? ( media-libs/libpulse )
33 dev-libs/wayland-protocols
34 dev-util/wayland-scanner
40 $(meson_feature pulseaudio pulse)
41 $(meson_feature pipewire)