Merge pull request #228414 from flexiondotorg/obs-shaderfilter

obs-studio-plugins.obs-shaderfilter: init at v1.22
This commit is contained in:
Martin Weinelt 2023-05-08 02:06:13 +02:00 committed by GitHub
commit 9e9446ff6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -32,6 +32,8 @@
obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };
obs-shaderfilter = qt6Packages.callPackage ./obs-shaderfilter.nix { };
obs-source-clone = callPackage ./obs-source-clone.nix { };
obs-source-record = callPackage ./obs-source-record.nix { };

View file

@ -0,0 +1,41 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, obs-studio
, qtbase
}:
stdenv.mkDerivation rec {
pname = "obs-shaderfilter";
version = "v1.22";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-shaderfilter";
rev = version;
sha256 = "sha256-CqqYzGRhlHO8Zva+so8uo9+EIlzTfoFVl3NzZMsE7Xc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio qtbase ];
cmakeFlags = [
"-DBUILD_OUT_OF_TREE=On"
];
dontWrapQtApps = true;
postInstall = ''
rm -rf $out/obs-plugins
mv $out/data $out/share/obs
'';
meta = with lib; {
description = "OBS Studio filter for applying an arbitrary shader to a source.";
homepage = "https://github.com/exeldro/obs-shaderfilter";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}