-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-video/obs-multistream: new package, add 9999
Signed-off-by: Denis Strizhkin <[email protected]>
- Loading branch information
1 parent
acf2646
commit d4549e2
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
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 | ||
} |
2 comments
on commit d4549e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to add this fork when media-video/obs-multi-rtmp already exists? I'm curious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the original seems better maintained than this fork. This ebuild seems a copy paste of the other.
If there is some important issue with the original repo we should consider masking it.
For now I will revert this commit.
It has a tag. See https://github.com/streamwayin/obs-multistream/releases/tag/0.1.0.0
And if it didn't, it would be better to take a snapshot than having a live ebuild