media-video/*:

Signed-off-by: A person <agooglygooglr@gmail.com>

Add ebuilds for gpu-screen-recorder and it's GUI front-end
This commit is contained in:
A person
2024-06-12 13:28:49 -04:00
parent 3ff6f514bb
commit 22d8ea44ed
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# 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-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
}