commit:     786decb3a2b4e73fc4e75f8c59946f2852242350
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Tue Nov 10 08:26:00 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Nov 10 08:27:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=786decb3

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 <coppens.matthias.abc <AT> gmail.com>

 media-video/wlrobs/metadata.xml       | 15 +++++++++++++++
 media-video/wlrobs/wlrobs-9999.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/media-video/wlrobs/metadata.xml b/media-video/wlrobs/metadata.xml
new file mode 100644
index 00000000..cba88532
--- /dev/null
+++ b/media-video/wlrobs/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <name>Matthias Coppens</name>
+        <email>[email protected]</email>
+    </maintainer>
+    <upstream>
+        <bugs-to>https://todo.sr.ht/~scoopta/wlrobs</bugs-to>
+    </upstream>
+    <use>
+        <flag name="dmabuf">Enable the dmabuf backend</flag>
+        <flag name="scpy">Enable the screen copy backend</flag>
+    </use>
+</pkgmetadata>

diff --git a/media-video/wlrobs/wlrobs-9999.ebuild 
b/media-video/wlrobs/wlrobs-9999.ebuild
new file mode 100644
index 00000000..614bbc9e
--- /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"
+}

Reply via email to