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@gmail.com>
This commit is contained in:
Matthias Coppens
2020-11-10 09:26:00 +01:00
parent 834d03e068
commit 786decb3a2
2 changed files with 45 additions and 0 deletions

View File

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

View File

@@ -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"
}