commit:     dee7671f58a4861bfbaf975fb349e6f5792ff651
Author:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
AuthorDate: Wed Jun 12 18:16:50 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Jun 12 18:16:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dee7671f

media-video/*:

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

Add ebuilds for gpu-screen-recorder and its GUI front-end

 .../gpu-screen-recorder-gtk-9999.ebuild            | 27 ++++++++++++++
 .../gpu-screen-recorder-9999.ebuild                | 42 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git 
a/media-video/gpu-screen-recorder-gtk/gpu-screen-recorder-gtk-9999.ebuild 
b/media-video/gpu-screen-recorder-gtk/gpu-screen-recorder-gtk-9999.ebuild
new file mode 100644
index 000000000..f62192f55
--- /dev/null
+++ b/media-video/gpu-screen-recorder-gtk/gpu-screen-recorder-gtk-9999.ebuild
@@ -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
+}

diff --git a/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild 
b/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild
new file mode 100644
index 000000000..bdeefe769
--- /dev/null
+++ b/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild
@@ -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
+}

Reply via email to