obs-studio-plugins.obs-vaapi: 0.1.0 -> 0.2.0

This commit is contained in:
PedroHLC ☭ 2023-02-06 08:29:35 -03:00
parent 0b21d1c225
commit d404c169c3
No known key found for this signature in database
GPG Key ID: DF4C6898CBDC6DF5

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "obs-vaapi";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitHub {
owner = "fzwoch";
repo = pname;
rev = version;
hash = "sha256-qA4xVVShkp40QHp2HmmRzVxQaBwskRpUNEULKetVMu8=";
hash = "sha256-wrbVuqIe+DY3R+Jp3zCy2Uw3fv5ejYHtRV2Sv+y/n0w=";
};
nativeBuildInputs = [ pkg-config meson ninja ];
@ -39,6 +39,12 @@ stdenv.mkDerivation rec {
gst-vaapi
];
# Fix output directory
postInstall = ''
mkdir $out/lib/obs-plugins
mv $out/lib/obs-vaapi.so $out/lib/obs-plugins/
'';
meta = with lib; {
description = "OBS Studio VAAPI support via GStreamer";
homepage = "https://github.com/fzwoch/obs-vaapi";