commit:     74696e84f47118d6e7f63cc4beb7cd588b8551c2
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Tue Nov 28 00:51:54 2023 +0000
Commit:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Tue Nov 28 00:51:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74696e84

media-video/obs-multi-rtmp: new package, add 0.5.0.4, 9999

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>

 media-video/obs-multi-rtmp/Manifest                |  1 +
 media-video/obs-multi-rtmp/metadata.xml            | 16 ++++++++
 .../obs-multi-rtmp/obs-multi-rtmp-0.5.0.4.ebuild   | 44 ++++++++++++++++++++++
 .../obs-multi-rtmp/obs-multi-rtmp-9999.ebuild      | 44 ++++++++++++++++++++++
 4 files changed, 105 insertions(+)

diff --git a/media-video/obs-multi-rtmp/Manifest 
b/media-video/obs-multi-rtmp/Manifest
new file mode 100644
index 0000000000..20f0cf0a62
--- /dev/null
+++ b/media-video/obs-multi-rtmp/Manifest
@@ -0,0 +1 @@
+DIST obs-multi-rtmp-0.5.0.4.tar.gz 399130 BLAKE2B 
ee35f2dbe61f5adce9c987358fd1d8ffefc35a019b47ccbf86f4dd35bcf7296e4fb5c4f3b9d96af29005d454feb6d8d84314bc2589b89050781b5139d61b5d08
 SHA512 
2efa9a9e4915fe211263dd7ed43fe00c31fe2740555c2b366d90acc8be4ea6c9e35518500520358b105bedf7e32be36dcbeafc05e171e360e8cc2867f1cb80f1

diff --git a/media-video/obs-multi-rtmp/metadata.xml 
b/media-video/obs-multi-rtmp/metadata.xml
new file mode 100644
index 0000000000..5934f0e0e9
--- /dev/null
+++ b/media-video/obs-multi-rtmp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Adel KARA SLIMANE</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">sorayuki/obs-multi-rtmp</remote-id>
+               
<bugs-to>https://github.com/sorayuki/obs-multi-rtmp/issues</bugs-to>
+       </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-multi-rtmp/obs-multi-rtmp-0.5.0.4.ebuild 
b/media-video/obs-multi-rtmp/obs-multi-rtmp-0.5.0.4.ebuild
new file mode 100644
index 0000000000..6709294047
--- /dev/null
+++ b/media-video/obs-multi-rtmp/obs-multi-rtmp-0.5.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="OBS Simulcast support plugin"
+HOMEPAGE="https://github.com/orayuki/obs-multi-rtmp";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/sorayuki/obs-multi-rtmp.git";
+else
+       
SRC_URI="https://github.com/sorayuki/obs-multi-rtmp/archive/refs/tags/$PV.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+obs-frontend-api +qt"
+RDEPEND="
+       media-video/obs-studio
+"
+
+src_unpack() {
+       default
+
+       if [[ ${PV} == 9999 ]]; then
+               git-r3_src_unpack
+       fi
+}
+
+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
+}

diff --git a/media-video/obs-multi-rtmp/obs-multi-rtmp-9999.ebuild 
b/media-video/obs-multi-rtmp/obs-multi-rtmp-9999.ebuild
new file mode 100644
index 0000000000..8e6e068ab8
--- /dev/null
+++ b/media-video/obs-multi-rtmp/obs-multi-rtmp-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="OBS Simulcast support plugin"
+HOMEPAGE="https://github.com/orayuki/obs-multi-rtmp";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/sorayuki/obs-multi-rtmp.git";
+else
+       
SRC_URI="https://github.com/orayuki/obs-multi-rtmp/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+obs-frontend-api +qt"
+RDEPEND="
+       media-video/obs-studio
+"
+
+src_unpack() {
+       default
+
+       if [[ ${PV} == 9999 ]]; then
+               git-r3_src_unpack
+       fi
+}
+
+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
+}

Reply via email to