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:
commit
0878903e35
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue