commit: d4549e232d95455925413e0b813f12b00594d514 Author: Denis Strizhkin <strdenis02 <AT> gmail <DOT> com> AuthorDate: Thu Sep 19 17:09:59 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Sep 19 17:10:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4549e23
media-video/obs-multistream: new package, add 9999 Signed-off-by: Denis Strizhkin <strdenis02 <AT> gmail.com> media-video/obs-multistream/metadata.xml | 11 +++++++ .../obs-multistream/obs-multistream-9999.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/media-video/obs-multistream/metadata.xml b/media-video/obs-multistream/metadata.xml new file mode 100644 index 000000000..0513e03cd --- /dev/null +++ b/media-video/obs-multistream/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <upstream> + <remote-id type="github">streamwayin/obs-multistream</remote-id> + </upstream> + <use> + <flag name="qt">Use Qt functionality.</flag> + <flag name="obs-frontend-api">Use obs-frontend-api for UI functionality.</flag> + </use> +</pkgmetadata> diff --git a/media-video/obs-multistream/obs-multistream-9999.ebuild b/media-video/obs-multistream/obs-multistream-9999.ebuild new file mode 100644 index 000000000..c259b5c0c --- /dev/null +++ b/media-video/obs-multistream/obs-multistream-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="OBS multistream plugin" +HOMEPAGE="https://github.com/streamwayin/obs-multistream" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/streamwayin/obs-multistream.git" +fi # no latest tag + +LICENSE="GPL-2" +SLOT="0" +IUSE="+obs-frontend-api +qt" +DEPEND=" + !media-video/obs-multi-rtmp +" +RDEPEND=" + ${DEPEND} + media-video/obs-studio +" + +src_configure() { + local mycmakeargs+=( + -DENABLE_FRONTEND_API=$(usex obs-frontend-api ON OFF) + -DENABLE_QT=$(usex qt ON OFF) + ) + + # code base is not clean + # opened bug https://github.com/sorayuki/obs-multi-rtmp/issues/378 + append-cppflags -Wno-error=shadow -Wno-error=conversion -Wno-error=float-conversion -Wno-error=sign-compare + + cmake_src_configure +}
