forked from mirrors/nixpkgs
Merge pull request #219872 from paveloom/advanced-scene-switcher
obs-studio-plugins.advanced-scene-switcher: init at 1.20.5
This commit is contained in:
commit
d8e2dbe9ae
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, asio
|
||||
, cmake
|
||||
, curl
|
||||
, obs-studio
|
||||
, opencv
|
||||
, procps
|
||||
, qtbase
|
||||
, websocketpp
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "advanced-scene-switcher";
|
||||
version = "1.20.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WarmUpTill";
|
||||
repo = "SceneSwitcher";
|
||||
rev = version;
|
||||
sha256 = "04k7f7v756vdsan95g73cc29lrs61jis738v37a3ihi3ivps3ma3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
asio
|
||||
curl
|
||||
obs-studio
|
||||
opencv
|
||||
procps
|
||||
qtbase
|
||||
websocketpp
|
||||
xorg.libXScrnSaver
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/lib $out/share
|
||||
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
||||
mv $out/data $out/share/obs
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An automated scene switcher for OBS Studio";
|
||||
homepage = "https://github.com/WarmUpTill/SceneSwitcher";
|
||||
maintainers = with lib.maintainers; [ paveloom ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -6,6 +6,8 @@
|
|||
# - Add plugin to it's own directory (because of future patches).
|
||||
|
||||
{
|
||||
advanced-scene-switcher = qt6Packages.callPackage ./advanced-scene-switcher { };
|
||||
|
||||
droidcam-obs = callPackage ./droidcam-obs { };
|
||||
|
||||
input-overlay = qt6Packages.callPackage ./input-overlay.nix { };
|
||||
|
|
Loading…
Reference in a new issue