media-video/*:

Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>

Add ebuilds for gpu-screen-recorder and its GUI front-end
This commit is contained in:
Dale Sweeney
2024-06-12 14:16:50 -04:00
parent 0b8097800e
commit dee7671f58
2 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
EAPI=8
inherit meson git-r3
EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder-gtk"
DESCRIPTION="GTK frontend for gpu-screen-recorder."
HOMEPAGE="https://git.dec05eba.com/gpu-screen-recorder-gtk/about"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm64"
DEPEND="
x11-libs/gtk+:3
dev-libs/libayatana-appindicator
media-video/gpu-screen-recorder
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_configure() {
meson_src_configure
}
src_install() {
meson_src_install
}

View File

@@ -0,0 +1,42 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson git-r3
EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder"
DESCRIPTION="A screen recorder that has minimal impact on system performance, similar to shadowplay on Windows."
HOMEPAGE="https://git.dec05eba.com/gpu-screen-recorder/about"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm64"
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
}