-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194578 from SebTM/update/obs2803
- Loading branch information
Showing
7 changed files
with
79 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ callPackage, qtx11extras, ... } @ args: | ||
|
||
callPackage ./generic.nix (args // { | ||
version = "27.2.4"; | ||
sha256 = "sha256-OiSejQovSmhItrnrQlcVp9PCDRgAhuxTinSpXbH8bo0="; | ||
extraBuildInputs = [ qtx11extras ]; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ callPackage | ||
, libajantv2 | ||
, librist | ||
, srt | ||
, qtwayland | ||
, ... | ||
} @ args: | ||
|
||
callPackage ./generic.nix (args // { | ||
version = "28.0.3"; | ||
sha256 = "sha256-+4H1BjEgxqkAEvRyr2Tg3wXutnMvlYQEdT5jz644fMA="; | ||
extraPatches = [ ./Provide-runtime-plugin-destination-as-relative-path.patch ]; | ||
extraBuildInputs = [ | ||
libajantv2 | ||
librist | ||
srt | ||
qtwayland | ||
]; | ||
extraCMakeFlags = [ | ||
"-DENABLE_JACK=ON" | ||
]; | ||
}) |
26 changes: 26 additions & 0 deletions
26
pkgs/applications/video/obs-studio/Provide-runtime-plugin-destination-as-relative-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt | ||
index 790583cd5..763cf3548 100644 | ||
--- a/libobs/CMakeLists.txt | ||
+++ b/libobs/CMakeLists.txt | ||
@@ -455,6 +455,8 @@ elseif(OS_POSIX) | ||
libobs PROPERTIES BUILD_RPATH "$<TARGET_FILE_DIR:OBS::libobs-opengl>") | ||
endif() | ||
|
||
+string(REGEX REPLACE "^${OBS_INSTALL_PREFIX}" "" OBS_PLUGIN_DESTINATION_RELATIVE ${OBS_PLUGIN_DESTINATION}) | ||
+ | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/obsconfig.h.in | ||
${CMAKE_BINARY_DIR}/config/obsconfig.h) | ||
|
||
diff --git a/libobs/obsconfig.h.in b/libobs/obsconfig.h.in | ||
index 4a664285a..5cff2ca53 100644 | ||
--- a/libobs/obsconfig.h.in | ||
+++ b/libobs/obsconfig.h.in | ||
@@ -13,7 +13,7 @@ | ||
#define OBS_VERSION_CANONICAL "@OBS_VERSION_CANONICAL@" | ||
#define OBS_DATA_PATH "@OBS_DATA_PATH@" | ||
#define OBS_INSTALL_PREFIX "@OBS_INSTALL_PREFIX@" | ||
-#define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@" | ||
+#define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION_RELATIVE@" | ||
#define OBS_QT_VERSION @_QT_VERSION@ | ||
|
||
#cmakedefine LINUX_PORTABLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
pkgs/applications/video/obs-studio/plugins/obs-websocket.nix
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters