Merge pull request #88516 from peterhoeg/f/obs
obs-studio: show the actual version instead of 0.0.1
This commit is contained in:
commit
b462b8b9e5
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional optionals;
|
inherit (stdenv.lib) optional optionals;
|
||||||
|
|
||||||
in mkDerivation rec {
|
in mkDerivation rec {
|
||||||
pname = "obs-studio";
|
pname = "obs-studio";
|
||||||
version = "25.0.8";
|
version = "25.0.8";
|
||||||
@ -49,32 +50,37 @@ in mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ addOpenGLRunpath cmake pkgconfig ];
|
nativeBuildInputs = [ addOpenGLRunpath cmake pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ curl
|
buildInputs = [
|
||||||
fdk_aac
|
curl
|
||||||
ffmpeg
|
fdk_aac
|
||||||
jansson
|
ffmpeg
|
||||||
libjack2
|
jansson
|
||||||
libv4l
|
libjack2
|
||||||
libxkbcommon
|
libv4l
|
||||||
libpthreadstubs
|
libxkbcommon
|
||||||
libXdmcp
|
libpthreadstubs
|
||||||
qtbase
|
libXdmcp
|
||||||
qtx11extras
|
qtbase
|
||||||
qtsvg
|
qtx11extras
|
||||||
speex
|
qtsvg
|
||||||
x264
|
speex
|
||||||
vlc
|
x264
|
||||||
makeWrapper
|
vlc
|
||||||
mbedtls
|
makeWrapper
|
||||||
]
|
mbedtls
|
||||||
++ optionals scriptingSupport [ luajit swig python3 ]
|
]
|
||||||
++ optional alsaSupport alsaLib
|
++ optionals scriptingSupport [ luajit swig python3 ]
|
||||||
++ optional pulseaudioSupport libpulseaudio;
|
++ optional alsaSupport alsaLib
|
||||||
|
++ optional pulseaudioSupport libpulseaudio;
|
||||||
|
|
||||||
# obs attempts to dlopen libobs-opengl, it fails unless we make sure
|
# 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
|
# DL_OPENGL is an explicit path. Not sure if there's a better way
|
||||||
# to handle this.
|
# to handle this.
|
||||||
cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-DDL_OPENGL=\\\"$(out)/lib/libobs-opengl.so\\\"" ];
|
cmakeFlags = [
|
||||||
|
"-DCMAKE_CXX_FLAGS=-DDL_OPENGL=\\\"$(out)/lib/libobs-opengl.so\\\""
|
||||||
|
"-DOBS_VERSION_OVERRIDE=${version}"
|
||||||
|
"-Wno-dev" # kill dev warnings that are useless for packaging
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/obs \
|
wrapProgram $out/bin/obs \
|
||||||
|
Loading…
Reference in New Issue
Block a user