Loading pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.diff +13 −17 Original line number Diff line number Diff line diff --color -urpN obs-vertical-canvas.bak/file-updater.c obs-vertical-canvas/file-updater.c --- obs-vertical-canvas.bak/file-updater.c 2025-07-18 18:32:13.239718611 -0400 +++ obs-vertical-canvas/file-updater.c 2025-07-18 18:32:30.732020377 -0400 @@ -67,10 +67,10 @@ static bool do_http_request(struct updat curl_easy_setopt(info->curl, CURLOPT_ERRORBUFFER, info->error); curl_easy_setopt(info->curl, CURLOPT_WRITEFUNCTION, http_write); curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info); - curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true); - curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1); + curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, 1L); + curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt(info->curl, CURLOPT_ACCEPT_ENCODING, ""); - curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_REVOKE_BEST_EFFORT); + curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_REVOKE_BEST_EFFORT); code = curl_easy_perform(info->curl); if (code != CURLE_OK) { diff --git a/CMakeLists.txt b/CMakeLists.txt index 10ef443..5db6d37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ endif() find_package(Qt6 COMPONENTS Widgets Core) if(BUILD_OUT_OF_TREE) if(OS_LINUX OR OS_FREEBSD OR OS_OPENBSD) - find_package(Qt6 REQUIRED Gui) + find_package(Qt6 REQUIRED GuiPrivate) endif() endif() target_link_libraries(${PROJECT_NAME} PRIVATE Qt::Core Qt::Widgets) pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.nix +7 −4 Original line number Diff line number Diff line Loading @@ -10,16 +10,16 @@ stdenv.mkDerivation rec { pname = "obs-vertical-canvas"; version = "1.4.10"; version = "1.6.1"; src = fetchFromGitHub { owner = "Aitum"; repo = "obs-vertical-canvas"; rev = version; sha256 = "sha256-0XfJ8q8n2ANO0oDtLZhZjRunZ5S1EouQ6Ak/pxEQYOQ="; sha256 = "sha256-tvoNdv0HkGch8FZCiK7S4BR7iWOqLvTj0blFxyyUjQE="; }; # Remove after https://github.com/Aitum/obs-vertical-canvas/pull/25 is released :) # Remove after https://github.com/Aitum/obs-vertical-canvas/pull/26 is released :) patches = [ ./obs-vertical-canvas.diff ]; nativeBuildInputs = [ cmake ]; Loading @@ -45,7 +45,10 @@ stdenv.mkDerivation rec { meta = { description = "Plugin for OBS Studio to add vertical canvas"; homepage = "https://github.com/Aitum/obs-vertical-canvas"; maintainers = with lib.maintainers; [ flexiondotorg ]; maintainers = with lib.maintainers; [ flexiondotorg jonhermansen ]; license = lib.licenses.gpl2Plus; inherit (obs-studio.meta) platforms; }; Loading Loading
pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.diff +13 −17 Original line number Diff line number Diff line diff --color -urpN obs-vertical-canvas.bak/file-updater.c obs-vertical-canvas/file-updater.c --- obs-vertical-canvas.bak/file-updater.c 2025-07-18 18:32:13.239718611 -0400 +++ obs-vertical-canvas/file-updater.c 2025-07-18 18:32:30.732020377 -0400 @@ -67,10 +67,10 @@ static bool do_http_request(struct updat curl_easy_setopt(info->curl, CURLOPT_ERRORBUFFER, info->error); curl_easy_setopt(info->curl, CURLOPT_WRITEFUNCTION, http_write); curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info); - curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true); - curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1); + curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, 1L); + curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt(info->curl, CURLOPT_ACCEPT_ENCODING, ""); - curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_REVOKE_BEST_EFFORT); + curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_REVOKE_BEST_EFFORT); code = curl_easy_perform(info->curl); if (code != CURLE_OK) { diff --git a/CMakeLists.txt b/CMakeLists.txt index 10ef443..5db6d37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ endif() find_package(Qt6 COMPONENTS Widgets Core) if(BUILD_OUT_OF_TREE) if(OS_LINUX OR OS_FREEBSD OR OS_OPENBSD) - find_package(Qt6 REQUIRED Gui) + find_package(Qt6 REQUIRED GuiPrivate) endif() endif() target_link_libraries(${PROJECT_NAME} PRIVATE Qt::Core Qt::Widgets)
pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.nix +7 −4 Original line number Diff line number Diff line Loading @@ -10,16 +10,16 @@ stdenv.mkDerivation rec { pname = "obs-vertical-canvas"; version = "1.4.10"; version = "1.6.1"; src = fetchFromGitHub { owner = "Aitum"; repo = "obs-vertical-canvas"; rev = version; sha256 = "sha256-0XfJ8q8n2ANO0oDtLZhZjRunZ5S1EouQ6Ak/pxEQYOQ="; sha256 = "sha256-tvoNdv0HkGch8FZCiK7S4BR7iWOqLvTj0blFxyyUjQE="; }; # Remove after https://github.com/Aitum/obs-vertical-canvas/pull/25 is released :) # Remove after https://github.com/Aitum/obs-vertical-canvas/pull/26 is released :) patches = [ ./obs-vertical-canvas.diff ]; nativeBuildInputs = [ cmake ]; Loading @@ -45,7 +45,10 @@ stdenv.mkDerivation rec { meta = { description = "Plugin for OBS Studio to add vertical canvas"; homepage = "https://github.com/Aitum/obs-vertical-canvas"; maintainers = with lib.maintainers; [ flexiondotorg ]; maintainers = with lib.maintainers; [ flexiondotorg jonhermansen ]; license = lib.licenses.gpl2Plus; inherit (obs-studio.meta) platforms; }; Loading