Unverified Commit d404c169 authored by PedroHLC ☭'s avatar PedroHLC ☭
Browse files

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

parent 0b21d1c2
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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";