Adding wlrobs

This commit is contained in:
Siina Mashek 2023-12-05 18:20:02 +02:00
parent 6cf364fc4b
commit 45205a5090
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST wlrobs-1.1.tar.gz 26920 BLAKE2B 2af7d28f6869187098eded4638f08dd422d4fdb31994d3a89001ce63c0deb8f53e1d0d1399dfe07ab6eb83c8bc01ac210f78622bd2cb289f748c87f4163727f4 SHA512 57d459a37bad50b2b1c81df5bddbfb8584dfbb45cb24185a2320d8574ec9443f4c8bd85a7e0590e290ddc17ddce252482249327a824aa38494de1ccf55c2e435

View file

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