mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
- ebuild was based on 9999 - Changed license years - Changed minimum obs version to 32.2.1 cz https://github.com/sorayuki/obs-multi-rtmp/releases/tag/0.7.4.3 was for that obs version, and so far it hasn't changed Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
45 lines
846 B
Bash
45 lines
846 B
Bash
# Copyright 1999-2026 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}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE="+obs-frontend-api +qt"
|
|
DEPEND="
|
|
qt? ( dev-qt/qtbase:6 )
|
|
>=media-video/obs-studio-32.2.1
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
"
|
|
|
|
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
|
|
}
|