gentoo/gui-apps/wf-recorder/wf-recorder-0.4.1.ebuild
Aliaksei Urbanski 52df57a4f1
gui-apps/wf-recorder: add 0.4.1
Corresponding release:
  - https://github.com/ammen99/wf-recorder/releases/tag/v0.4.1

These changes also add the pulseaudio USE flag.

Closes: https://bugs.gentoo.org/871684
Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
Co-authored-by: Arthur Zamarin <arthurzam@gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35161
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-02-07 12:01:25 +02:00

42 lines
844 B
Bash

# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Screen recorder for wlroots-based compositors"
HOMEPAGE="https://github.com/ammen99/wf-recorder"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ammen99/wf-recorder.git"
else
SRC_URI="https://github.com/ammen99/wf-recorder/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="pulseaudio"
DEPEND="
dev-libs/wayland
media-libs/mesa[wayland]
media-video/ffmpeg[pulseaudio?,x264]
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-libs/wayland-protocols
dev-util/wayland-scanner
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
$(meson_feature pulseaudio pulse)
)
meson_src_configure
}