Merge pull request #131172 from babbaj/obs-nvfbc

obs-nvfbc: init at 0.0.3
This commit is contained in:
Sandro 2021-08-05 09:53:50 +02:00 committed by GitHub
commit 21679dee9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -8,4 +8,5 @@
obs-websocket = libsForQt5.callPackage ./obs-websocket.nix {};
wlrobs = callPackage ./wlrobs.nix {};
looking-glass-obs = callPackage ./looking-glass-obs.nix {};
obs-nvfbc = callPackage ./obs-nvfbc.nix {};
}

View file

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitLab, meson, ninja, pkg-config
, obs-studio, libGL, libX11
}:
stdenv.mkDerivation rec {
pname = "obs-nvfbc";
version = "0.0.3";
src = fetchFromGitLab {
owner = "fzwoch";
repo = "obs-nvfbc";
rev = "v${version}";
sha256 = "0zyvks6gc6fr0a1j5b4y20rcx6ah35v6yiz05f6g3x6bhqi92l33";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ obs-studio libGL libX11 ];
meta = with lib; {
description = "OBS Studio source plugin for NVIDIA FBC API";
license = licenses.gpl2Only;
maintainers = with maintainers; [ babbaj ];
platforms = [ "x86_64-linux" ];
};
}