mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
libopenglrecorder: init at unstable-2020-08-13
This commit is contained in:
parent
92432797bd
commit
781972b22f
2 changed files with 48 additions and 0 deletions
46
pkgs/development/libraries/libopenglrecorder/default.nix
Normal file
46
pkgs/development/libraries/libopenglrecorder/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libjpeg
|
||||
, libvpx
|
||||
, openh264
|
||||
, withPulse ? stdenv.hostPlatform.isLinux
|
||||
, libpulseaudio
|
||||
, libvorbis
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libopenglrecorder";
|
||||
version = "unstable-2020-08-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Benau";
|
||||
repo = "libopenglrecorder";
|
||||
rev = "c1b81ce26e62fae1aaa086b5cd337cb12361ea3d";
|
||||
sha256 = "13s2d7qs8z4w0gb3hx03n97xmwl07d4s473m4gw90qcvmz217kiz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libjpeg
|
||||
libvpx
|
||||
openh264
|
||||
] ++ lib.optionals withPulse [
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library allowing Optional async readback OpenGL frame buffer with optional audio recording";
|
||||
homepage = "https://github.com/Benau/libopenglrecorder";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ OPNA2608 ];
|
||||
platforms = with platforms; windows ++ linux;
|
||||
};
|
||||
}
|
|
@ -17693,6 +17693,8 @@ with pkgs;
|
|||
|
||||
libopenaptx = callPackage ../development/libraries/libopenaptx { };
|
||||
|
||||
libopenglrecorder = callPackage ../development/libraries/libopenglrecorder { };
|
||||
|
||||
libopus = callPackage ../development/libraries/libopus { };
|
||||
|
||||
libopusenc = callPackage ../development/libraries/libopusenc { };
|
||||
|
|
Loading…
Reference in a new issue