obs-studio: 18.0.1 -> 18.0.2
add myself as a maintainer for this package, add fdk_aac, pthreadstubs, and Xdmcp as dependencies. Also add a patch to fix a linker error involving xcb
This commit is contained in:
parent
390e2ea14f
commit
d95cd1b24e
@ -1,9 +1,12 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
|
, fdk_aac
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, jansson
|
, jansson
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
|
, libpthreadstubs
|
||||||
|
, libXdmcp
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtx11extras
|
, qtx11extras
|
||||||
, libv4l
|
, libv4l
|
||||||
@ -11,6 +14,7 @@
|
|||||||
, curl
|
, curl
|
||||||
, xorg
|
, xorg
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, pkgconfig
|
||||||
|
|
||||||
, alsaSupport ? false
|
, alsaSupport ? false
|
||||||
, alsaLib
|
, alsaLib
|
||||||
@ -22,23 +26,29 @@ let
|
|||||||
optional = stdenv.lib.optional;
|
optional = stdenv.lib.optional;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "obs-studio-${version}";
|
name = "obs-studio-${version}";
|
||||||
version = "18.0.1";
|
version = "18.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jp9000";
|
owner = "jp9000";
|
||||||
repo = "obs-studio";
|
repo = "obs-studio";
|
||||||
rev = "624aa2a5";
|
rev = "26c28b45";
|
||||||
sha256 = "1bs82rqyq7wjjg99mh23ap8z5bmrhjfnza5iyjx808fzqc0bgzaj";
|
sha256 = "06rr70z2p2l8prxmd075pnlc759ddlqn3jprn8ns148x6s2vqik2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./find-xcb.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake
|
nativeBuildInputs = [ cmake
|
||||||
|
pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ curl
|
buildInputs = [ curl
|
||||||
|
fdk_aac
|
||||||
ffmpeg
|
ffmpeg
|
||||||
jansson
|
jansson
|
||||||
libv4l
|
libv4l
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
libpthreadstubs
|
||||||
|
libXdmcp
|
||||||
qtbase
|
qtbase
|
||||||
qtx11extras
|
qtx11extras
|
||||||
x264
|
x264
|
||||||
@ -65,7 +75,7 @@ in stdenv.mkDerivation rec {
|
|||||||
video content, efficiently
|
video content, efficiently
|
||||||
'';
|
'';
|
||||||
homepage = "https://obsproject.com";
|
homepage = "https://obsproject.com";
|
||||||
maintainers = with maintainers; [ jb55 ];
|
maintainers = with maintainers; [ jb55 MP2E ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
|
31
pkgs/applications/video/obs-studio/find-xcb.patch
Normal file
31
pkgs/applications/video/obs-studio/find-xcb.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
|
||||||
|
index cd2b80e1..7d829cdb 100644
|
||||||
|
--- a/libobs/CMakeLists.txt
|
||||||
|
+++ b/libobs/CMakeLists.txt
|
||||||
|
@@ -15,6 +15,7 @@ if(UNIX)
|
||||||
|
find_package(DBus QUIET)
|
||||||
|
if (NOT APPLE)
|
||||||
|
find_package(X11_XCB REQUIRED)
|
||||||
|
+ find_package(XCB REQUIRED)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(HAVE_DBUS "0")
|
||||||
|
@@ -161,12 +162,15 @@ elseif(UNIX)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
- ${X11_XCB_INCLUDE_DIRS})
|
||||||
|
+ ${X11_XCB_INCLUDE_DIRS}
|
||||||
|
+ ${XCB_INCLUDE_DIRS})
|
||||||
|
add_definitions(
|
||||||
|
- ${X11_XCB_DEFINITIONS})
|
||||||
|
+ ${X11_XCB_DEFINITIONS}
|
||||||
|
+ ${XCB_DEFINITIONS})
|
||||||
|
set(libobs_PLATFORM_DEPS
|
||||||
|
${libobs_PLATFORM_DEPS}
|
||||||
|
- ${X11_XCB_LIBRARIES})
|
||||||
|
+ ${X11_XCB_LIBRARIES}
|
||||||
|
+ ${XCB_LIBRARIES})
|
||||||
|
|
||||||
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
# use the sysinfo compatibility library on bsd
|
Loading…
x
Reference in New Issue
Block a user