blob: 254d72c8353d3c3130959024773562dac71a46a8 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder"
else
SRC_URI="https://dec05eba.com/snapshot/${PN}.git.${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"
KEYWORDS="~amd64 ~arm64"
fi
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"
DEPEND="
media-video/ffmpeg[vulkan]
media-video/pipewire
media-libs/libglvnd
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXrandr
x11-libs/libXfixes
media-libs/libpulse
media-libs/libva
x11-libs/libdrm
x11-libs/libX11
sys-apps/dbus:0
sys-libs/libcap
dev-libs/wayland
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
-Dsystemd=true
$(meson_use filecaps capabilities)
)
meson_src_configure
}
|