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