mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
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:
15
media-video/wlrobs/metadata.xml
Normal file
15
media-video/wlrobs/metadata.xml
Normal 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>
|
||||||
30
media-video/wlrobs/wlrobs-9999.ebuild
Normal file
30
media-video/wlrobs/wlrobs-9999.ebuild
Normal 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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user