anchor.diff:      "-DCMAKE_CXX_FLAGS=-DDL_OPENGL=\\\"$(out)/lib/libobs-opengl.so\\\""
       "-DOBS_VERSION_OVERRIDE=${version}"
       "-Wno-dev" # kill dev warnings that are useless for packaging
  +    # Add support for browser source
  +    "-DBUILD_BROWSER=ON"
  +    "-DCEF_ROOT_DIR=../../cef"
     ];
   
     postInstall = ''
  
positive.code:   src = fetchFromGitHub {
      owner = "obsproject";
      repo = "obs-studio";
      rev = version;
      sha256 = "1d502f80whh686mvq0yn6zpa5nvmnlzxwp5sjz43vpbbvhpbrdqj";
    };
  
    nativeBuildInputs = [ addOpenGLRunpath cmake pkgconfig ];
  
negative.code:   ++ optional alsaSupport alsaLib
    ++ optional pulseaudioSupport libpulseaudio;
  
    # Copied from the obs-linuxbrowser
    postUnpack = ''
      mkdir -p cef/Release cef/Resources cef/libcef_dll_wrapper/
      for i in ${libcef}/share/cef/*; do
        cp -r $i cef/Release/
        cp -r $i cef/Resources/
      done
      cp -r ${libcef}/lib/libcef.so cef/Release/
      cp -r ${libcef}/lib/libcef_dll_wrapper.a cef/libcef_dll_wrapper/
      cp -r ${libcef}/include cef/
      ls -R cef
    '';
  
    # obs attempts to dlopen libobs-opengl, it fails unless we make sure
    # DL_OPENGL is an explicit path. Not sure if there's a better way
    # to handle this.
  