blob: f41ff5d0f802b923fb9fa10b9b593689473e4824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="OBS Simulcast support plugin"
HOMEPAGE="https://github.com/sorayuki/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-obs31.tar.gz -> ${P}-obs31.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}/${P}-obs31"
LICENSE="GPL-2"
SLOT="0"
IUSE="+obs-frontend-api +qt"
DEPEND="
qt? ( dev-qt/qtbase:6 )
>=media-video/obs-studio-31
"
RDEPEND="
${DEPEND}
"
PATCHES=(
"${FILESDIR}/cmake.patch"
)
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)
)
cmake_src_configure
}
|