mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
media-video/obs-multistream: new package, add 9999
Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
This commit is contained in:
2 files changed
+48
No files matched your search
@@ -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>
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user