3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #86214 from elohmeier/obs

obs-studio: 25.0.3 -> 25.0.8, use addOpenGLRunpath
This commit is contained in:
Florian Klink 2020-05-17 23:07:28 +02:00 committed by GitHub
commit 0878903e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ config, stdenv
, mkDerivation
, fetchFromGitHub
, addOpenGLRunpath
, cmake
, fdk_aac
, ffmpeg
@ -37,16 +38,16 @@ let
inherit (stdenv.lib) optional optionals;
in mkDerivation rec {
pname = "obs-studio";
version = "25.0.3";
version = "25.0.8";
src = fetchFromGitHub {
owner = "obsproject";
repo = "obs-studio";
rev = version;
sha256 = "11hl3lxvbsm7ackl7qhzgy2x0jsz2dfpi2qxsf8pkp908lrh3b3r";
sha256 = "0j2k65q3wfyfxhvkl6icz4qy0s3kfqhksizy2i3ah7yml266axbj";
};
nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ addOpenGLRunpath cmake pkgconfig ];
buildInputs = [ curl
fdk_aac
@ -80,6 +81,11 @@ in mkDerivation rec {
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${vlc}/lib"
'';
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
addOpenGLRunpath $out/lib/lib*.so
addOpenGLRunpath $out/lib/obs-plugins/*.so
'';
meta = with stdenv.lib; {
description = "Free and open source software for video recording and live streaming";
longDescription = ''