Unverified Commit e133d5e8 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #327012 from shackra/fix-issue-326505

obs-studio-plugins.obs-source-record: 0.3.2 → 0.3.4
parents b9848ef7 b39d7984
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18363,6 +18363,12 @@
    githubId = 1151264;
    name = "Sebastian Graf";
  };
  shackra = {
    name = "Jorge Javier Araya Navarro";
    email = "jorge@esavara.cr";
    github = "shackra";
    githubId = 1055216;
  };
  shadaj = {
    github = "shadaj";
    githubId = 543055;
+15 −18
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, obs-studio }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  obs-studio,
}:

stdenv.mkDerivation rec {
  pname = "obs-source-record";
  version = "0.3.2";
  version = "0.3.4";

  src = fetchFromGitHub {
    owner = "exeldro";
    repo = "obs-source-record";
    rev = version;
    sha256 = "sha256-H65uQ9HnKmHs52v3spG92ayeYH/TvmwcMoePMmBMqN8=";
    sha256 = "sha256-VgG9Fn75aKTkth4TC9rhfj/HIOO2lIO4n3ZYmemkzx8=";
  };

  patches = [
    # fix obs 29.1 compatibility
    (fetchpatch {
      url = "https://patch-diff.githubusercontent.com/raw/exeldro/obs-source-record/pull/83.diff";
      hash = "sha256-eWOjHHfoXZeoPtqvVyexSi/UQqHm8nu4FEEjma64Ly4=";
    })
  ];

  nativeBuildInputs = [ cmake ];
  buildInputs = [
    obs-studio
  ];
  buildInputs = [ obs-studio ];

  NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];

  cmakeFlags = [
    "-DBUILD_OUT_OF_TREE=On"
  ];
  cmakeFlags = [ "-DBUILD_OUT_OF_TREE=On" ];

  postInstall = ''
    rm -rf $out/{data,obs-plugins}
@@ -37,7 +31,10 @@ stdenv.mkDerivation rec {
  meta = with lib; {
    description = "OBS Studio plugin to make sources available to record via a filter";
    homepage = "https://github.com/exeldro/obs-source-record";
    maintainers = with maintainers; [ robbins ];
    maintainers = with maintainers; [
      robbins
      shackra
    ];
    license = licenses.gpl2Only;
    platforms = [ "x86_64-linux" ];
  };