From 45205a509006527b8739775c6db76adec2f1c82c Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Tue, 5 Dec 2023 18:20:02 +0200 Subject: [PATCH] Adding wlrobs --- media-video/wlrobs/Manifest | 1 + media-video/wlrobs/wlrobs-1.1.ebuild | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 media-video/wlrobs/Manifest create mode 100644 media-video/wlrobs/wlrobs-1.1.ebuild diff --git a/media-video/wlrobs/Manifest b/media-video/wlrobs/Manifest new file mode 100644 index 0000000..19a32c2 --- /dev/null +++ b/media-video/wlrobs/Manifest @@ -0,0 +1 @@ +DIST wlrobs-1.1.tar.gz 26920 BLAKE2B 2af7d28f6869187098eded4638f08dd422d4fdb31994d3a89001ce63c0deb8f53e1d0d1399dfe07ab6eb83c8bc01ac210f78622bd2cb289f748c87f4163727f4 SHA512 57d459a37bad50b2b1c81df5bddbfb8584dfbb45cb24185a2320d8574ec9443f4c8bd85a7e0590e290ddc17ddce252482249327a824aa38494de1ccf55c2e435 diff --git a/media-video/wlrobs/wlrobs-1.1.ebuild b/media-video/wlrobs/wlrobs-1.1.ebuild new file mode 100644 index 0000000..dcebcaf --- /dev/null +++ b/media-video/wlrobs/wlrobs-1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [ "${PV}" == 9999 ] +then + inherit mercurial + EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs" +else + SRC_URI="https://hg.sr.ht/~scoopta/wlrobs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="OBS plugin that allows you to screen capture on wlroots based compositors" +HOMEPAGE="https://hg.sr.ht/~scoopta/wlrobs" + +LICENSE="GPL-3" + +SLOT="0" + +IUSE="+dmabuf +scpy" + +RESTRICT="mirror" + +RDEPEND=" + dev-libs/wayland + media-video/obs-studio + dmabuf? ( x11-libs/libdrm ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local emesonargs=( + $(meson_use dmabuf use_dmabuf) + $(meson_use scpy use_scpy ) + ) + meson_src_configure +} +