obs-studio-plugins.obs-aitum-multistream: init at 1.0.7 (#408767)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-03 01:28:12 +02:00
committed by GitHub
2 changed files with 53 additions and 0 deletions
@@ -22,6 +22,8 @@
obs-advanced-masks = callPackage ./obs-advanced-masks.nix { };
obs-aitum-multistream = qt6Packages.callPackage ./obs-aitum-multistream.nix { };
obs-backgroundremoval = callPackage ./obs-backgroundremoval { };
obs-color-monitor = qt6Packages.callPackage ./obs-color-monitor.nix { };
@@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
curl,
obs-studio,
qtbase,
}:
stdenv.mkDerivation rec {
pname = "obs-aitum-multistream";
version = "1.0.7";
src = fetchFromGitHub {
owner = "Aitum";
repo = "obs-aitum-multistream";
tag = version;
hash = "sha256-TqddyTBRWLyfwYi9I0nQE8Z19YL2RwkZqUwi7F9XpwQ=";
};
# Fix FTBFS with Qt >= 6.8
prePatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'find_qt(COMPONENTS Widgets Core)' 'find_package(Qt6 REQUIRED COMPONENTS Core Widgets)'
'';
nativeBuildInputs = [ cmake ];
buildInputs = [
curl
obs-studio
qtbase
];
dontWrapQtApps = true;
cmakeFlags = [
# Prevent deprecation warnings from failing the build
(lib.cmakeOptionType "string" "CMAKE_CXX_FLAGS" "-Wno-error=deprecated-declarations")
];
meta = {
description = "Plugin to stream everywhere from a single instance of OBS";
homepage = "https://github.com/Aitum/obs-aitum-multistream";
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
};
}