[packages/pipewire] package onnx filter graph
atler
atler at pld-linux.org
Sun Nov 29 00:11:35 CET 2026
commit cf760062a8a9befb6f3625bb3b981dd2792b8c55
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Nov 29 00:03:06 2026 +0100
package onnx filter graph
pipewire.spec | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/pipewire.spec b/pipewire.spec
index 5d093a9..15e335f 100644
--- a/pipewire.spec
+++ b/pipewire.spec
@@ -11,6 +11,7 @@
%bcond_with libcamera # libcamera plugin
%bcond_without libmysofa # libmysofa filter chain support
%bcond_without lv2 # LV2 plugins support
+%bcond_without onnxruntime # ONNX filter graph
%bcond_without roc # ROC modules
%bcond_without snap # Snap permissions support
%bcond_without x11 # X11 bell support
@@ -79,6 +80,7 @@ BuildRequires: libusb-devel >= 1.0
BuildRequires: meson >= 0.61.1
BuildRequires: ncurses-devel
BuildRequires: ninja >= 1.5
+%{?with_onnxruntime:BuildRequires: onnxruntime-devel}
BuildRequires: openssl-devel
BuildRequires: opus-devel >= 0.9.7
BuildRequires: pkgconfig
@@ -107,6 +109,7 @@ Requires: pipewire-session-manager
Requires: systemd-units >= 1:250.1
%{?with_ffmpeg:Suggests: %{name}-spa-module-filter-graph-ffmpeg%{?_isa} = %{version}-%{release}}
%{?with_lv2:Suggests: %{name}-spa-module-filter-graph-lv2%{?_isa} = %{version}-%{release}}
+%{?with_onnxruntime:Suggests: %{name}-spa-module-filter-graph-onnx%{?_isa} = %{version}-%{release}}
%{?with_libmysofa:Suggests: %{name}-spa-module-filter-graph-sofa%{?_isa} = %{version}-%{release}}
Suggests: %{name}-spa-module-video-convert%{?_isa} = %{version}-%{release}
Suggests: rtkit
@@ -236,6 +239,18 @@ PipeWire LV2 filter graph plugin.
%description spa-module-filter-graph-lv2 -l pl.UTF-8
Plugin grafu filtrów bazujących na LV2 dla PipeWire.
+%package spa-module-filter-graph-onnx
+Summary: PipeWire ONNX Runtime filter graph plugin
+Summary(pl.UTF-8): Plugin grafu filtrów bazujący na ONNX Runtime dla PipeWire
+Group: Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description spa-module-filter-graph-onnx
+PipeWire ONNX Runtime filter graph plugin.
+
+%description spa-module-filter-graph-onnx -l pl.UTF-8
+Plugin grafu filtrów bazujących na ONNX Runtime dla PipeWire.
+
%package spa-module-filter-graph-sofa
Summary: PipeWire libmysofa filter graph plugin
Summary(pl.UTF-8): Plugin grafu filtrów bazujący na libmysofa dla PipeWire
@@ -433,6 +448,7 @@ Wtyczka udostępniająca źródło i cel obrazu PipeWire dla GStreamera.
-Dlibffado=%{__enabled_disabled ffado} \
%{!?with_lv2:-Dlv2=disabled} \
-Dman=%{__enabled_disabled man} \
+ -Donnxruntime=%{__enabled_disabled onnxruntime} \
%{!?with_jack:-Dpipewire-jack=disabled} \
%{!?with_roc:-Droc=disabled} \
-Dsession-managers='[]' \
@@ -822,6 +838,12 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/spa-0.2/filter-graph/libspa-filter-graph-plugin-lv2.so
%endif
+%if %{with onnxruntime}
+%files spa-module-filter-graph-onnx
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/spa-0.2/filter-graph/libspa-filter-graph-plugin-onnx.so
+%endif
+
%if %{with libmysofa}
%files spa-module-filter-graph-sofa
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pipewire.git/commitdiff/50d6768c857e6b2b71961c8769213b540555758e
More information about the pld-cvs-commit
mailing list