[packages/chiaki-ng] - rel 2, allow building with libplacebo 6
baggins
baggins at pld-linux.org
Sun May 3 18:35:47 CEST 2026
commit 376877d447f346d1b9722a7540dcedf790e65d35
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 3 20:34:04 2026 +0200
- rel 2, allow building with libplacebo 6
The app does not display anything and freezez when built with libplacebo 7
chiaki-ng.spec | 7 +++++--
libplacebo6.patch | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 2 deletions(-)
---
diff --git a/chiaki-ng.spec b/chiaki-ng.spec
index 716f98d..253c1ff 100644
--- a/chiaki-ng.spec
+++ b/chiaki-ng.spec
@@ -5,11 +5,13 @@
Summary: PlayStation Remote Play for Everyone
Name: chiaki-ng
Version: 1.10.0
-Release: 1
+Release: 2
License: AGPL v3
Group: X11/Applications/Networking
Source0: https://github.com/streetpea/chiaki-ng/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: ff577d46e0dab16da0a1d94e16ca2e69
+# WARNING: App freezes without display on libplacebo >= 7
+Patch0: libplacebo6.patch
URL: https://streetpea.github.io/chiaki-ng/
BuildRequires: Qt6Concurrent-devel
BuildRequires: Qt6Core-devel
@@ -29,7 +31,7 @@ BuildRequires: fftw3-devel
BuildRequires: hidapi-devel
BuildRequires: jerasure-devel
BuildRequires: libevdev-devel
-BuildRequires: libplacebo-devel >= 7.349.0
+BuildRequires: libplacebo-devel
BuildRequires: nanopb-devel
BuildRequires: nanopb-static
BuildRequires: openssl-devel
@@ -51,6 +53,7 @@ Entertainment LLC.
%prep
%setup -q
+%patch -P0 -p1
%build
mkdir -p build
diff --git a/libplacebo6.patch b/libplacebo6.patch
new file mode 100644
index 0000000..d01926e
--- /dev/null
+++ b/libplacebo6.patch
@@ -0,0 +1,35 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2e175c0b..b9a199cb 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -85,7 +85,7 @@ endif()
+
+ if(CHIAKI_ENABLE_GUI)
+ find_package(PkgConfig REQUIRED)
+- pkg_check_modules(LIBPLACEBO REQUIRED libplacebo>=7.349.0 IMPORTED_TARGET)
++ pkg_check_modules(LIBPLACEBO REQUIRED libplacebo IMPORTED_TARGET)
+ endif()
+
+ if(CHIAKI_USE_SYSTEM_CURL)
+diff --git a/gui/src/qmlmainwindow.cpp b/gui/src/qmlmainwindow.cpp
+index 5918ab04..4c201f74 100644
+--- a/gui/src/qmlmainwindow.cpp
++++ b/gui/src/qmlmainwindow.cpp
+@@ -1545,7 +1545,7 @@ void QmlMainWindow::init(Settings *settings, bool exit_app_on_stream_exit)
+ render_backend = settings->GetRenderBackend();
+ setSurfaceType(render_backend == RenderBackend::Vulkan ? QWindow::VulkanSurface : QWindow::OpenGLSurface);
+ qparams = {};
+- qparams.drift_compensation = 1e-3;
++// qparams.drift_compensation = 1e-3;
+ qparams.interpolation_threshold = 0.01;
+ qparams.timeout = 0;
+
+@@ -2832,7 +2832,7 @@ void QmlMainWindow::render()
+ }
+ // Disable background transparency by default if the swapchain does not
+ // appear to support alpha transaprency
+- if (sw_frame.color_repr.alpha == PL_ALPHA_NONE)
++ if (sw_frame.color_repr.alpha == PL_ALPHA_UNKNOWN)
+ params.background_transparency = 0.0;
+
+ const struct pl_hook *fsrcnnx_hook = nullptr;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chiaki-ng.git/commitdiff/376877d447f346d1b9722a7540dcedf790e65d35
More information about the pld-cvs-commit
mailing list