From 786decb3a2b4e73fc4e75f8c59946f2852242350 Mon Sep 17 00:00:00 2001 From: Matthias Coppens Date: Tue, 10 Nov 2020 09:26:00 +0100 Subject: [PATCH] media-video/wlrobs: New package This is an OBS plugin to enable screensharing on wlroots based Wayland compositors. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Matthias Coppens --- media-video/wlrobs/metadata.xml | 15 ++++++++++++++ media-video/wlrobs/wlrobs-9999.ebuild | 30 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 media-video/wlrobs/metadata.xml create mode 100644 media-video/wlrobs/wlrobs-9999.ebuild diff --git a/media-video/wlrobs/metadata.xml b/media-video/wlrobs/metadata.xml new file mode 100644 index 0000000000..cba8853269 --- /dev/null +++ b/media-video/wlrobs/metadata.xml @@ -0,0 +1,15 @@ + + + + + Matthias Coppens + coppens.matthias.abc@gmail.com + + + https://todo.sr.ht/~scoopta/wlrobs + + + Enable the dmabuf backend + Enable the screen copy backend + + diff --git a/media-video/wlrobs/wlrobs-9999.ebuild b/media-video/wlrobs/wlrobs-9999.ebuild new file mode 100644 index 0000000000..614bbc9edd --- /dev/null +++ b/media-video/wlrobs/wlrobs-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mercurial meson + +DESCRIPTION="OBS plugin that allows you to screen capture on wlroots based compositors" +HOMEPAGE="https://hg.sr.ht/~scoopta/wlrobs" +EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs" + +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="" + +IUSE="+dmabuf +scpy" + +src_configure() { + local emesonargs=( + $(meson_use dmabuf use_dmabuf) + $(meson_use scpy use_scpy ) + ) + meson_src_configure +} + +src_install() { + exeinto "/usr/lib64/obs-plugins" + doexe "$BUILD_DIR/libwlrobs.so" +}