Files
guru/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild
2024-06-13 15:20:29 -04:00

42 lines
847 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 meson
EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder"
DESCRIPTION="A screen recorder that has minimal impact on system performance."
HOMEPAGE="https://git.dec05eba.com/gpu-screen-recorder/about"
LICENSE="GPL-3"
SLOT="0"
IUSE="+filecaps systemd"
DEPEND="
media-video/ffmpeg
media-libs/libglvnd
x11-libs/libXcomposite
x11-libs/libXrandr
x11-libs/libXfixes
media-libs/libpulse
media-libs/libva
x11-libs/libdrm
sys-libs/libcap
dev-libs/wayland
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
-Dsystemd=$(usex filecaps true none)
-Dcapabilities=$(usex systemd true none)
)
meson_src_configure
}
src_install() {
meson_src_install
}