2018-06-02 12:11:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package pipewire
|
|
|
|
#
|
2023-01-04 12:39:40 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-06-02 12:11:46 +02:00
|
|
|
# Copyright (c) 2018 Luciano Santos, luc14n0@linuxmail.org.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-06-02 12:11:46 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%define apiver 0.3
|
2020-05-26 17:14:29 +02:00
|
|
|
%define apiver_str 0_3
|
2020-03-26 23:31:09 +01:00
|
|
|
%define spa_ver 0.2
|
|
|
|
%define spa_ver_str 0_2
|
2020-05-26 17:14:29 +02:00
|
|
|
%define libpipewire libpipewire-%{apiver_str}-0
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2023-10-09 13:52:39 +02:00
|
|
|
%if %{pkg_vcmp pkgconfig(vulkan) >= 1.3}
|
2020-06-29 21:14:32 +02:00
|
|
|
%define with_vulkan 1
|
|
|
|
%else
|
|
|
|
%define with_vulkan 0
|
|
|
|
%endif
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2021-03-21 23:19:34 +01:00
|
|
|
%ifnarch s390 s390x ppc64
|
|
|
|
%define with_ldacBT 1
|
|
|
|
%else
|
|
|
|
%define with_ldacBT 0
|
|
|
|
%endif
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2021-08-27 19:29:47 +02:00
|
|
|
%bcond_without libcamera
|
|
|
|
%else
|
|
|
|
%bcond_with libcamera
|
2021-12-09 17:04:00 +01:00
|
|
|
%endif
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
|
2021-12-09 17:04:00 +01:00
|
|
|
%bcond_without aac
|
2022-11-14 14:25:41 +01:00
|
|
|
%else
|
|
|
|
%bcond_with aac
|
2021-08-27 19:29:47 +02:00
|
|
|
%endif
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2021-12-10 14:41:07 +01:00
|
|
|
%if %{?pkg_vcmp:%{pkg_vcmp meson >= 0.59.0}}%{!?pkg_vcmp:0}
|
|
|
|
%bcond_without pipewire_jack_devel
|
|
|
|
%endif
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2023-05-11 11:05:00 +02:00
|
|
|
%if 0%{?ffmpeg_pref:1}
|
2023-05-17 18:11:14 +02:00
|
|
|
%bcond_without use_ffmpeg
|
2023-05-11 11:05:00 +02:00
|
|
|
%else
|
2023-05-17 18:11:14 +02:00
|
|
|
%bcond_with use_ffmpeg
|
2023-05-11 11:05:00 +02:00
|
|
|
%endif
|
|
|
|
|
2022-03-10 17:29:30 +01:00
|
|
|
%bcond_with aptx
|
2022-03-29 17:12:41 +02:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
Name: pipewire
|
2023-10-16 10:43:07 +02:00
|
|
|
Version: 0.3.82
|
2018-06-02 12:11:46 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A Multimedia Framework designed to be an audio and video server and more
|
2020-03-26 23:31:09 +01:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
URL: https://pipewire.org/
|
2020-03-26 23:31:09 +01:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2020-11-19 11:57:06 +01:00
|
|
|
Source99: baselibs.conf
|
2023-04-17 06:41:51 +02:00
|
|
|
# PATCH-FIX-OPENSUSE reduce-meson-dependency.patch
|
2023-04-14 11:09:22 +02:00
|
|
|
Patch0: reduce-meson-dependency.patch
|
2023-09-11 13:02:45 +02:00
|
|
|
|
2021-09-09 16:41:05 +02:00
|
|
|
BuildRequires: docutils
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
2021-05-12 19:31:42 +02:00
|
|
|
BuildRequires: gcc-c++
|
2022-03-29 17:12:41 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
2023-07-26 12:43:28 +02:00
|
|
|
BuildRequires: gcc11
|
|
|
|
BuildRequires: gcc11-c++
|
2022-03-29 17:12:41 +02:00
|
|
|
%endif
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: graphviz
|
2023-04-17 06:41:51 +02:00
|
|
|
BuildRequires: meson >= 0.59.4
|
2023-03-02 15:09:27 +01:00
|
|
|
BuildRequires: pam-devel
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig
|
2022-03-10 17:29:30 +01:00
|
|
|
BuildRequires: readline-devel
|
2021-03-21 23:19:34 +01:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2021-07-27 08:18:49 +02:00
|
|
|
BuildRequires: pkgconfig(alsa) >= 1.1.7
|
2021-05-23 23:30:36 +02:00
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: pkgconfig(bluez)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2022-03-29 17:12:41 +02:00
|
|
|
%if %{with aac}
|
|
|
|
BuildRequires: pkgconfig(fdk-aac)
|
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-allocators-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
|
|
|
BuildRequires: pkgconfig(jack) >= 1.9.10
|
2022-03-29 17:12:41 +02:00
|
|
|
%if %{with_ldacBT}
|
|
|
|
BuildRequires: pkgconfig(ldacBT-abr)
|
|
|
|
BuildRequires: pkgconfig(ldacBT-enc)
|
|
|
|
%endif
|
2023-05-17 18:11:14 +02:00
|
|
|
%if %{with use_ffmpeg}
|
2023-05-11 11:05:00 +02:00
|
|
|
# Break circular dependency with ffmpeg
|
|
|
|
BuildRequires: %{ffmpeg_pref}-mini-devel
|
2023-04-20 17:59:51 +02:00
|
|
|
%endif
|
2023-03-21 17:46:43 +01:00
|
|
|
BuildRequires: pkgconfig(lc3)
|
2022-03-29 17:12:41 +02:00
|
|
|
%if %{with libcamera}
|
2022-11-14 14:25:41 +01:00
|
|
|
BuildRequires: libcamera-devel >= 0.0.1
|
2022-03-29 17:12:41 +02:00
|
|
|
%endif
|
2022-01-27 13:26:00 +01:00
|
|
|
BuildRequires: pkgconfig(libcanberra)
|
2022-03-10 17:29:30 +01:00
|
|
|
BuildRequires: pkgconfig(libcap)
|
2021-12-13 11:09:46 +01:00
|
|
|
BuildRequires: pkgconfig(libdrm)
|
2023-06-26 12:49:41 +02:00
|
|
|
BuildRequires: pkgconfig(libffado)
|
2022-03-29 17:12:41 +02:00
|
|
|
%if %{with aptx}
|
|
|
|
BuildRequires: pkgconfig(libfreeaptx)
|
|
|
|
%endif
|
2023-03-02 15:09:27 +01:00
|
|
|
BuildRequires: pkgconfig(libmysofa)
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2019-04-01 12:30:43 +02:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
2021-06-29 07:59:13 +02:00
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2021-12-13 11:09:46 +01:00
|
|
|
BuildRequires: pkgconfig(lilv-0)
|
2021-03-15 10:53:42 +01:00
|
|
|
BuildRequires: pkgconfig(ncurses)
|
2021-12-13 11:09:46 +01:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
2022-09-05 11:03:04 +02:00
|
|
|
BuildRequires: pkgconfig(opus)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(sbc)
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: pkgconfig(sndfile)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: pkgconfig(vulkan)
|
2023-09-18 14:05:27 +02:00
|
|
|
BuildRequires: pkgconfig(webrtc-audio-processing-1)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
|
2022-03-29 17:12:41 +02:00
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
%endif
|
2022-03-10 17:29:30 +01:00
|
|
|
BuildConflicts: pipewire-libjack-%{apiver_str}-devel
|
2018-06-02 12:11:46 +02:00
|
|
|
Requires: %{libpipewire} = %{version}
|
2021-12-16 18:21:41 +01:00
|
|
|
Requires: %{name}-modules-%{apiver_str} = %{version}
|
2021-06-29 07:59:13 +02:00
|
|
|
Requires: %{name}-session-manager
|
2020-07-24 09:49:47 +02:00
|
|
|
Requires: %{name}-spa-plugins-%{spa_ver_str} = %{version}
|
2018-06-02 12:11:46 +02:00
|
|
|
Requires: %{name}-spa-tools = %{version}
|
|
|
|
Requires: %{name}-tools = %{version}
|
2022-04-18 08:30:04 +02:00
|
|
|
Requires: rtkit
|
2021-12-09 12:37:52 +01:00
|
|
|
Suggests: wireplumber
|
2021-05-06 22:51:37 +02:00
|
|
|
%{?systemd_ordering}
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
Some of its features include:
|
|
|
|
|
|
|
|
* Capture and playback of audio and video with minimal latency;
|
|
|
|
* Real-time Multimedia processing on audio and video;
|
|
|
|
* Multiprocess architecture to let applications share multimedia content;
|
|
|
|
* GStreamer plugins for easy use and integration in current applications;
|
|
|
|
* Sandboxed applications support.
|
|
|
|
|
|
|
|
%package -n %{libpipewire}
|
|
|
|
Summary: A Multimedia Framework designed to be an audio and video server and more
|
|
|
|
Group: System/Libraries
|
2021-12-16 18:21:41 +01:00
|
|
|
Requires: pipewire-modules-%{apiver_str} >= %{version}
|
|
|
|
Requires: pipewire-spa-plugins-%{spa_ver_str} >= %{version}
|
2022-03-10 17:29:30 +01:00
|
|
|
Recommends: pipewire >= %{version}
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%description -n %{libpipewire}
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
Some of its features include:
|
|
|
|
|
|
|
|
* Capture and playback of audio and video with minimal latency;
|
|
|
|
* Real-time Multimedia processing on audio and video;
|
|
|
|
* Multiprocess architecture to let applications share multimedia content;
|
|
|
|
* GStreamer plugins for easy use and integration in current applications;
|
|
|
|
* Sandboxed applications support.
|
|
|
|
|
|
|
|
This package provides the PipeWire shared library.
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%package libjack-%{apiver_str}
|
|
|
|
Summary: PipeWire libjack replacement libraries
|
2020-03-26 23:31:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-05-26 17:14:29 +02:00
|
|
|
Requires(post): update-alternatives
|
2021-03-21 23:19:34 +01:00
|
|
|
Requires(postun):update-alternatives
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%description libjack-%{apiver_str}
|
2020-03-26 23:31:09 +01:00
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
Some of its features include:
|
|
|
|
|
|
|
|
* Capture and playback of audio and video with minimal latency;
|
|
|
|
* Real-time Multimedia processing on audio and video;
|
|
|
|
* Multiprocess architecture to let applications share multimedia content;
|
|
|
|
* GStreamer plugins for easy use and integration in current applications;
|
|
|
|
* Sandboxed applications support.
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
This package provides the PipeWire replacement libraries for libjack.
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2021-07-19 18:49:28 +02:00
|
|
|
%package libjack-%{apiver_str}-devel
|
|
|
|
Summary: Development files for %{name}-libjack-%{apiver_str}
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-12-15 18:45:45 +01:00
|
|
|
Requires: %{name}-libjack-%{apiver_str} = %{version}
|
2021-07-19 18:49:28 +02:00
|
|
|
Conflicts: libjack-devel
|
|
|
|
|
|
|
|
%description libjack-%{apiver_str}-devel
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
Some of its features include:
|
|
|
|
|
|
|
|
* Capture and playback of audio and video with minimal latency;
|
|
|
|
* Real-time Multimedia processing on audio and video;
|
|
|
|
* Multiprocess architecture to let applications share multimedia content;
|
|
|
|
* GStreamer plugins for easy use and integration in current applications;
|
|
|
|
* Sandboxed applications support.
|
|
|
|
|
|
|
|
This package provides the PipeWire replacement development files
|
|
|
|
for libjack.
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%package -n gstreamer-plugin-pipewire
|
|
|
|
Summary: Gstreamer Plugin for PipeWire
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n gstreamer-plugin-pipewire
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
This package provides the gstreamer plugin.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: The PipeWire Tools
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
|
|
|
%description tools
|
2021-02-01 13:25:23 +01:00
|
|
|
This package contains command line utilities for the PipeWire media server.
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%package spa-tools
|
|
|
|
Summary: The PipeWire SPA Tools
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
|
|
|
%description spa-tools
|
|
|
|
SPA or Simple Plugin API is a plugin API.
|
|
|
|
|
|
|
|
This package provides spa-inspect and spa-monitor tools.
|
|
|
|
|
2021-12-16 18:21:41 +01:00
|
|
|
%package modules-%{apiver_str}
|
|
|
|
Summary: Modules For PipeWire, A Multimedia Framework
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
Provides: %{name}-modules = %{version}
|
|
|
|
Obsoletes: %{name}-modules < %{version}
|
|
|
|
|
|
|
|
%description modules-%{apiver_str}
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
The framework is used to build a modular daemon that can be configured to:
|
|
|
|
|
|
|
|
* Be a low-latency audio server with features like pulseaudio and/or jack;
|
|
|
|
* A video capture server that can manage hardware video capture devices
|
|
|
|
and provide access to them;
|
|
|
|
* A central hub where video can be made available for other applications
|
|
|
|
such as the gnome-shell screencast API.
|
|
|
|
|
2022-12-30 12:24:14 +01:00
|
|
|
%package module-x11-%{apiver_str}
|
|
|
|
Summary: X11 support For PipeWire, A Multimedia Framework
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
Requires: %{libpipewire} >= %{version}-%{release}
|
|
|
|
Requires: %{name} >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description module-x11-%{apiver_str}
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
The framework is used to build a modular daemon that can be configured to:
|
|
|
|
|
|
|
|
* Be a low-latency audio server with features like pulseaudio and/or jack;
|
|
|
|
* A video capture server that can manage hardware video capture devices
|
|
|
|
and provide access to them;
|
|
|
|
* A central hub where video can be made available for other applications
|
|
|
|
such as the gnome-shell screencast API.
|
|
|
|
|
|
|
|
This package contains X11 bell support for PipeWire.
|
|
|
|
|
2021-12-16 18:21:41 +01:00
|
|
|
%package spa-plugins-%{spa_ver_str}
|
|
|
|
Summary: Plugins For PipeWire SPA
|
|
|
|
Group: Productivity/Multimedia/Other
|
2023-05-31 08:51:26 +02:00
|
|
|
Suggests: pipewire-libjack-%{apiver_str}
|
2021-12-16 18:21:41 +01:00
|
|
|
|
|
|
|
%description spa-plugins-%{spa_ver_str}
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
Some of its features include:
|
|
|
|
|
|
|
|
* Unlimited input/output ports;
|
|
|
|
* Per port format enumeration and negotiation;
|
|
|
|
* Enumeration/configuration of per port parameters;
|
|
|
|
* Application controlled buffer allocation with option to let the plugin
|
|
|
|
Allocate memory;
|
|
|
|
* Arbitrary buffer metadata;
|
|
|
|
* Buffers are passed around by id which is very fast and avoids the need
|
|
|
|
for refcounting;
|
|
|
|
* Synchronous and asynchronous processing;
|
|
|
|
* All api is designed to work without any allocations;
|
|
|
|
* Arbirary input/output behaviour.
|
|
|
|
|
|
|
|
This package provides plugins for extending PipeWire SPA's functionality.
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Development Files For PipeWire, A Multimedia Framework
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libpipewire} >= %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
PipeWire is a server and user space API to deal with multimedia pipelines.
|
|
|
|
|
|
|
|
This package provides all the necessary files for development with PipeWire
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%package doc
|
|
|
|
Summary: PipeWire media server documentation
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for the PipeWire media server.
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%package alsa
|
|
|
|
Summary: PipeWire media server ALSA support
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libpipewire} >= %{version}-%{release}
|
2022-03-10 17:29:30 +01:00
|
|
|
Recommends: %{name} >= %{version}-%{release}
|
2023-05-11 11:05:00 +02:00
|
|
|
# Both providing /etc/alsa/conf.d/99-*-default.conf can cause issues
|
|
|
|
Conflicts: alsa-plugins-pulse
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%description alsa
|
|
|
|
This package contains an ALSA plugin for the PipeWire media server.
|
|
|
|
|
|
|
|
%package pulseaudio
|
|
|
|
Summary: PipeWire PulseAudio implementation
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libpipewire} >= %{version}-%{release}
|
2022-02-02 11:22:05 +01:00
|
|
|
Requires: %{name} >= %{version}-%{release}
|
2022-11-16 12:24:07 +01:00
|
|
|
Requires: pulseaudio-utils
|
2022-08-01 14:49:48 +02:00
|
|
|
Recommends: pipewire-alsa
|
2022-03-10 17:29:30 +01:00
|
|
|
Conflicts: pulseaudio
|
2021-02-01 13:25:23 +01:00
|
|
|
# Virtual Provides to support swapping between PipeWire-PA and PA
|
2023-05-29 12:24:48 +02:00
|
|
|
Conflicts: pulseaudio-daemon
|
2021-03-02 12:26:31 +01:00
|
|
|
Provides: pulseaudio-daemon
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
|
2022-03-10 17:29:30 +01:00
|
|
|
Requires(post): pulseaudio-setup
|
|
|
|
%endif
|
2021-02-01 13:25:23 +01:00
|
|
|
#Provides: pulseaudio-module-bluetooth
|
2020-05-26 17:14:29 +02:00
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%description pulseaudio
|
|
|
|
This package provides a PulseAudio implementation based on PipeWire
|
|
|
|
|
2023-05-29 12:24:48 +02:00
|
|
|
%package jack
|
|
|
|
Summary: PipeWire JACK implementation
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libpipewire} >= %{version}-%{release}
|
|
|
|
Requires: %{name} >= %{version}-%{release}
|
|
|
|
Requires: pipewire-libjack-%{apiver_str}
|
|
|
|
Recommends: jack-dbus
|
|
|
|
# Virtual Provides to support swapping between PipeWire-JACK and JACKd
|
|
|
|
Conflicts: jack-daemon
|
|
|
|
Provides: jack-daemon
|
|
|
|
#Provides: pulseaudio-module-jack
|
2023-06-26 12:49:41 +02:00
|
|
|
# We want applications to link with pipewire-libjack libraries and
|
|
|
|
# not the original ones
|
|
|
|
Conflicts: libjack0
|
|
|
|
Conflicts: libjacknet0
|
|
|
|
Conflicts: libjackserver0
|
2023-05-29 12:24:48 +02:00
|
|
|
|
|
|
|
%description jack
|
2023-06-26 12:49:41 +02:00
|
|
|
This package provides an ld.so.conf file that makes all JACK clients
|
|
|
|
use the JACK implementation based on PipeWire instead of the original
|
|
|
|
JACK libraries.
|
2023-05-29 12:24:48 +02:00
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2023-04-17 06:52:54 +02:00
|
|
|
%autosetup -N
|
|
|
|
%if %{?pkg_vcmp:%{pkg_vcmp meson <= 0.61.0}}
|
2023-07-26 12:43:28 +02:00
|
|
|
sed -ie "s/version : '0.3.72'/version : '%{version}'/" %{P:0}
|
2023-04-17 06:52:54 +02:00
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2020-07-24 09:49:47 +02:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%build
|
2020-04-07 10:20:13 +02:00
|
|
|
%if %{pkg_vcmp gcc < 8}
|
2023-07-26 12:43:28 +02:00
|
|
|
export CC=gcc-11
|
|
|
|
export CXX=g++-11
|
2020-04-07 10:20:13 +02:00
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
%meson \
|
2021-05-06 22:51:37 +02:00
|
|
|
-Ddocs=enabled \
|
|
|
|
-Dman=enabled \
|
|
|
|
-Dgstreamer=enabled \
|
2023-05-17 18:11:14 +02:00
|
|
|
%if %{with use_ffmpeg}
|
2023-04-20 17:40:06 +02:00
|
|
|
-Dffmpeg=enabled \
|
2023-04-20 17:59:51 +02:00
|
|
|
%else
|
|
|
|
-Dffmpeg=disabled \
|
|
|
|
%endif
|
2021-05-06 22:51:37 +02:00
|
|
|
-Dsystemd=enabled \
|
2022-01-28 10:07:29 +01:00
|
|
|
-Dsystemd-user-unit-dir=%{_userunitdir} \
|
2021-06-29 07:59:13 +02:00
|
|
|
-Droc=disabled \
|
2020-06-29 21:14:32 +02:00
|
|
|
%if %{with_vulkan}
|
2021-05-06 22:51:37 +02:00
|
|
|
-Dvulkan=enabled \
|
2021-03-21 23:19:34 +01:00
|
|
|
%else
|
2021-05-06 22:51:37 +02:00
|
|
|
-Dvulkan=disabled \
|
2021-03-21 23:19:34 +01:00
|
|
|
%endif
|
2021-05-06 22:51:37 +02:00
|
|
|
-Dtest=enabled \
|
|
|
|
-Daudiotestsrc=enabled \
|
2021-05-12 19:31:42 +02:00
|
|
|
%if %{with aac}
|
|
|
|
-Dbluez5-codec-aac=enabled \
|
|
|
|
%else
|
|
|
|
-Dbluez5-codec-aac=disabled \
|
|
|
|
%endif
|
2021-05-19 17:48:56 +02:00
|
|
|
%if %{with aptx}
|
|
|
|
-Dbluez5-codec-aptx=enabled \
|
|
|
|
%else
|
2021-05-12 19:31:42 +02:00
|
|
|
-Dbluez5-codec-aptx=disabled \
|
2021-05-19 17:48:56 +02:00
|
|
|
%endif
|
2021-03-21 23:19:34 +01:00
|
|
|
%if %{with_ldacBT}
|
2021-05-12 19:31:42 +02:00
|
|
|
-Dbluez5-codec-ldac=enabled \
|
2020-06-29 21:14:32 +02:00
|
|
|
%else
|
2021-05-12 19:31:42 +02:00
|
|
|
-Dbluez5-codec-ldac=disabled \
|
2020-06-29 21:14:32 +02:00
|
|
|
%endif
|
2023-03-21 17:46:43 +01:00
|
|
|
-Dbluez5-codec-lc3=enabled \
|
2022-06-13 11:09:40 +02:00
|
|
|
-Dbluez5-codec-lc3plus=disabled \
|
2021-08-27 19:29:47 +02:00
|
|
|
%if %{with libcamera}
|
2021-07-19 18:49:28 +02:00
|
|
|
-Dlibcamera=enabled \
|
2021-07-27 08:18:49 +02:00
|
|
|
%else
|
|
|
|
-Dlibcamera=disabled \
|
|
|
|
%endif
|
2021-07-19 18:49:28 +02:00
|
|
|
-Dpipewire-jack=enabled \
|
|
|
|
-Djack=enabled \
|
2021-12-10 14:41:07 +01:00
|
|
|
%if %{with pipewire_jack_devel}
|
2021-08-26 16:39:54 +02:00
|
|
|
-Djack-devel=true \
|
|
|
|
%else
|
|
|
|
-Djack-devel=false \
|
2022-03-10 17:29:30 +01:00
|
|
|
%endif
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
-Dreadline=disabled \
|
2021-08-26 16:39:54 +02:00
|
|
|
%endif
|
2021-10-21 11:49:16 +02:00
|
|
|
-Dsession-managers="[]" \
|
2022-12-06 11:37:24 +01:00
|
|
|
-Dsdl2=disabled \
|
2021-05-06 22:51:37 +02:00
|
|
|
%{nil}
|
2018-06-02 12:11:46 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
2020-05-26 17:14:29 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alsa/conf.d/
|
2021-02-01 13:25:23 +01:00
|
|
|
cp %{buildroot}%{_datadir}/alsa/alsa.conf.d/50-pipewire.conf \
|
|
|
|
%{buildroot}%{_sysconfdir}/alsa/conf.d/50-pipewire.conf
|
|
|
|
cp %{buildroot}%{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf \
|
|
|
|
%{buildroot}%{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf
|
|
|
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
|
|
|
mv -fv %{buildroot}/lib/udev/rules.d/90-pipewire-alsa.rules %{buildroot}%{_udevrulesdir}
|
2020-05-26 17:14:29 +02:00
|
|
|
|
2023-03-02 15:09:27 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
mkdir -p %{buildroot}%{_pam_secdistconfdir}/limits.d/
|
|
|
|
mv %{buildroot}%{_sysconfdir}/security/limits.d/*.conf %{buildroot}%{_pam_secdistconfdir}/limits.d/
|
|
|
|
%endif
|
|
|
|
|
2021-07-19 18:49:28 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
|
|
|
echo %{_libdir}/pipewire-%{apiver}/jack/ > %{buildroot}%{_sysconfdir}/ld.so.conf.d/pipewire-jack-%{_arch}.conf
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
2021-02-01 13:25:23 +01:00
|
|
|
for wrapper in pw-jack ; do
|
2020-05-26 17:14:29 +02:00
|
|
|
mv %{buildroot}%{_bindir}/$wrapper %{buildroot}%{_bindir}/$wrapper-%{apiver}
|
|
|
|
ln -s -f %{_sysconfdir}/alternatives/$wrapper %{buildroot}%{_bindir}/$wrapper
|
|
|
|
done
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
for manpage in pw-jack ; do
|
2020-06-29 21:14:32 +02:00
|
|
|
mv %{buildroot}%{_mandir}/man1/$manpage.1 %{buildroot}%{_mandir}/man1/$manpage-%{apiver}.1
|
|
|
|
ln -s -f %{_sysconfdir}/alternatives/$manpage.1%{ext_man} %{buildroot}%{_mandir}/man1/$manpage.1%{ext_man}
|
|
|
|
done
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_datadir}/doc/pipewire/html
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%find_lang %{name} %{name}.lang
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%check
|
|
|
|
%meson_test
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2021-03-21 23:19:34 +01:00
|
|
|
%pre
|
2021-06-29 08:27:45 +02:00
|
|
|
%systemd_user_pre pipewire.service pipewire.socket
|
2021-03-21 23:19:34 +01:00
|
|
|
|
2020-07-24 09:49:47 +02:00
|
|
|
%post
|
2021-03-21 23:19:34 +01:00
|
|
|
# Check if the systemd_user_pre macro generated the file
|
|
|
|
# for systemd_user_post to enable the user socket.
|
|
|
|
if [ -f /run/systemd/rpm/needs-user-preset/pipewire.socket ]; then
|
2020-07-24 09:49:47 +02:00
|
|
|
echo "Switching Pipewire activation using systemd user socket."
|
|
|
|
echo "Please log out from all sessions once to make it effective."
|
|
|
|
fi
|
2021-10-21 12:12:43 +02:00
|
|
|
%systemd_user_post pipewire.service pipewire.socket
|
2020-07-24 09:49:47 +02:00
|
|
|
|
2021-06-29 08:27:45 +02:00
|
|
|
# If the pipewire.socket user unit is not enabled and the workaround
|
2021-06-05 23:31:18 +02:00
|
|
|
# for boo#1186561 has never been executed, we need to execute it now
|
2021-06-29 08:27:45 +02:00
|
|
|
if [ ! -L %{_sysconfdir}/systemd/user/sockets.target.wants/pipewire.socket \
|
2021-06-05 23:31:18 +02:00
|
|
|
-a ! -f %{_localstatedir}/lib/pipewire/pipewire_post_workaround \
|
2022-03-10 17:29:30 +01:00
|
|
|
-a -x %{_bindir}/systemctl ]; then
|
2021-06-29 08:27:45 +02:00
|
|
|
for service in pipewire.service pipewire.socket ; do
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_bindir}/systemctl --global preset "$service" || :
|
2021-06-05 23:31:18 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p %{_localstatedir}/lib/pipewire
|
|
|
|
cat << EOF > %{_localstatedir}/lib/pipewire/pipewire_post_workaround
|
|
|
|
# The existence of this file means that the pipewire user services were
|
|
|
|
# enabled at least once. Please don't remove this file as that would
|
|
|
|
# make the services to be enabled again in the next package update.
|
|
|
|
#
|
|
|
|
# Check the following bugs for more information:
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1184852
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1183012
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1186561
|
|
|
|
EOF
|
|
|
|
fi
|
|
|
|
|
2020-07-24 09:49:47 +02:00
|
|
|
%preun
|
2021-06-29 07:59:13 +02:00
|
|
|
%systemd_user_preun pipewire.service pipewire.socket
|
2020-07-24 09:49:47 +02:00
|
|
|
|
|
|
|
%postun
|
2021-06-29 07:59:13 +02:00
|
|
|
%systemd_user_postun pipewire.service pipewire.socket
|
|
|
|
|
2021-03-21 23:19:34 +01:00
|
|
|
%pre pulseaudio
|
|
|
|
%systemd_user_pre pipewire-pulse.service pipewire-pulse.socket
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%post pulseaudio
|
|
|
|
%systemd_user_post pipewire-pulse.service pipewire-pulse.socket
|
2021-06-05 23:31:18 +02:00
|
|
|
# If the pipewire-pulse.socket user service is not enabled and the workaround
|
|
|
|
# for boo#1186561 has never been executed, we need to execute it now
|
|
|
|
if [ ! -L %{_sysconfdir}/systemd/user/sockets.target.wants/pipewire-pulse.socket \
|
|
|
|
-a ! -f %{_localstatedir}/lib/pipewire/pipewire-pulseaudio_post_workaround \
|
2022-03-10 17:29:30 +01:00
|
|
|
-a -x %{_bindir}/systemctl ]; then
|
2021-06-05 23:31:18 +02:00
|
|
|
for service in pipewire-pulse.service pipewire-pulse.socket ; do
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_bindir}/systemctl --global preset "$service" || :
|
2021-06-05 23:31:18 +02:00
|
|
|
done
|
|
|
|
mkdir -p %{_localstatedir}/lib/pipewire
|
|
|
|
cat << EOF > %{_localstatedir}/lib/pipewire/pipewire-pulseaudio_post_workaround
|
|
|
|
# The existence of this file means that the pipewire-pulseaudio user service was
|
|
|
|
# enabled at least once. Please don't remove this file as that would
|
|
|
|
# make the services to be enabled again in the next package update.
|
|
|
|
#
|
|
|
|
# Check the following bugs for more information:
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1184852
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1183012
|
|
|
|
# https://bugzilla.opensuse.org/show_bug.cgi?id=1186561
|
|
|
|
EOF
|
|
|
|
fi
|
2022-11-14 14:25:41 +01:00
|
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
|
2021-12-09 11:40:46 +01:00
|
|
|
# Update the /etc/profile.d/pulseaudio.* files
|
|
|
|
setup-pulseaudio --auto > /dev/null
|
|
|
|
%endif
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2021-03-21 23:19:34 +01:00
|
|
|
%preun pulseaudio
|
|
|
|
%systemd_user_preun pipewire-pulse.service pipewire-pulse.socket
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%postun pulseaudio
|
|
|
|
%systemd_user_postun pipewire-pulse.service pipewire-pulse.socket
|
|
|
|
|
2023-05-29 12:24:48 +02:00
|
|
|
%post jack -p /sbin/ldconfig
|
|
|
|
%postun jack -p /sbin/ldconfig
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%post -n %{libpipewire} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libpipewire} -p /sbin/ldconfig
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%post libjack-%{apiver_str}
|
2020-06-29 21:14:32 +02:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/pw-jack pw-jack %{_bindir}/pw-jack-%{apiver} 20 \
|
|
|
|
--slave %{_mandir}/man1/pw-jack.1%{ext_man} pw-jack.1%{ext_man} %{_mandir}/man1/pw-jack-%{apiver}.1%{ext_man}
|
2022-02-17 11:36:15 +01:00
|
|
|
/sbin/ldconfig
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%postun libjack-%{apiver_str}
|
|
|
|
if [ ! -e %{_bindir}/pw-jack-%{apiver} ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --remove pw-jack %{_bindir}/pw-jack-%{apiver}
|
|
|
|
fi
|
2022-02-17 11:36:15 +01:00
|
|
|
/sbin/ldconfig
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%files
|
2021-12-16 18:21:41 +01:00
|
|
|
%license LICENSE COPYING
|
|
|
|
%doc README.md
|
2023-03-02 15:09:27 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2023-03-08 19:19:09 +01:00
|
|
|
%{_pam_secdistconfdir}/limits.d/25-pw-rlimits.conf
|
2023-03-02 15:09:27 +01:00
|
|
|
%else
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/limits.d/25-pw-rlimits.conf
|
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
%{_bindir}/pipewire
|
2022-07-20 14:52:55 +02:00
|
|
|
%{_bindir}/pipewire-avb
|
2023-03-02 15:09:27 +01:00
|
|
|
%{_bindir}/pipewire-aes67
|
2023-09-18 14:05:27 +02:00
|
|
|
%if %{with_vulkan}
|
|
|
|
%{_bindir}/pipewire-vulkan
|
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
%{_userunitdir}/pipewire.service
|
|
|
|
%{_userunitdir}/pipewire.socket
|
2022-09-05 11:03:04 +02:00
|
|
|
%{_userunitdir}/filter-chain.service
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pipewire.1%{?ext_man}
|
|
|
|
%{_mandir}/man5/pipewire.conf.5%{?ext_man}
|
2021-12-10 14:41:07 +01:00
|
|
|
%dir %{_datadir}/pipewire/
|
2021-05-23 23:30:36 +02:00
|
|
|
%{_datadir}/pipewire/pipewire.conf
|
2023-04-08 10:32:24 +02:00
|
|
|
%{_datadir}/pipewire/pipewire.conf.avail/
|
2022-07-15 08:50:21 +02:00
|
|
|
%{_datadir}/pipewire/filter-chain.conf
|
2021-12-16 18:21:41 +01:00
|
|
|
%dir %{_datadir}/pipewire/filter-chain/
|
|
|
|
%{_datadir}/pipewire/filter-chain/*.conf
|
2022-07-20 14:52:55 +02:00
|
|
|
%{_datadir}/pipewire/pipewire-avb.conf
|
2023-03-02 15:09:27 +01:00
|
|
|
%{_datadir}/pipewire/pipewire-aes67.conf
|
2023-09-18 14:05:27 +02:00
|
|
|
%if %{with_vulkan}
|
|
|
|
%{_datadir}/pipewire/pipewire-vulkan.conf
|
|
|
|
%endif
|
2021-12-10 14:41:07 +01:00
|
|
|
%ghost %dir %{_localstatedir}/lib/pipewire/
|
2021-06-29 07:59:13 +02:00
|
|
|
%ghost %{_localstatedir}/lib/pipewire/pipewire_post_workaround
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%files -n %{libpipewire}
|
2020-03-26 23:31:09 +01:00
|
|
|
%license LICENSE COPYING
|
|
|
|
%doc README.md
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/libpipewire-%{apiver}.so.*
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2021-12-16 18:21:41 +01:00
|
|
|
%files modules-%{apiver_str}
|
2021-12-15 18:45:45 +01:00
|
|
|
%dir %{_libdir}/pipewire-%{apiver}
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-*.so
|
2022-12-30 12:24:14 +01:00
|
|
|
%exclude %{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so
|
2021-12-15 18:45:45 +01:00
|
|
|
%dir %{_libdir}/pipewire-%{apiver}/v4l2/
|
|
|
|
%{_libdir}/pipewire-%{apiver}/v4l2/libpw-v4l2.so
|
|
|
|
%dir %{_datadir}/alsa-card-profile/
|
|
|
|
%dir %{_datadir}/alsa-card-profile/mixer/
|
|
|
|
%{_datadir}/alsa-card-profile/mixer/*
|
2021-12-16 18:21:41 +01:00
|
|
|
%{_udevrulesdir}/90-pipewire-alsa.rules
|
|
|
|
%{_datadir}/pipewire/client.conf
|
2023-04-08 10:32:24 +02:00
|
|
|
%{_datadir}/pipewire/client.conf.avail/
|
2021-12-16 18:21:41 +01:00
|
|
|
%{_datadir}/pipewire/client-rt.conf
|
2023-04-08 10:32:24 +02:00
|
|
|
%{_datadir}/pipewire/client-rt.conf.avail/
|
2022-01-27 13:26:00 +01:00
|
|
|
%{_datadir}/pipewire/minimal.conf
|
2021-12-15 18:45:45 +01:00
|
|
|
|
2022-12-30 18:02:05 +01:00
|
|
|
%files module-x11-%{apiver_str}
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so
|
|
|
|
|
2021-12-16 18:21:41 +01:00
|
|
|
%files spa-plugins-%{spa_ver_str}
|
2021-12-15 18:45:45 +01:00
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/
|
2022-02-17 12:25:15 +01:00
|
|
|
%{_libdir}/spa-%{spa_ver}/aec/
|
2021-12-15 18:45:45 +01:00
|
|
|
%{_libdir}/spa-%{spa_ver}/alsa/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/audioconvert/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/audiomixer/
|
2022-07-20 14:52:55 +02:00
|
|
|
%{_libdir}/spa-%{spa_ver}/avb/
|
2021-12-15 18:45:45 +01:00
|
|
|
%{_libdir}/spa-%{spa_ver}/bluez5/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/control/
|
2023-05-17 18:11:14 +02:00
|
|
|
%if %{with use_ffmpeg}
|
2023-04-20 17:40:06 +02:00
|
|
|
%{_libdir}/spa-%{spa_ver}/ffmpeg/
|
2023-04-20 17:59:51 +02:00
|
|
|
%endif
|
2021-12-15 18:45:45 +01:00
|
|
|
%{_libdir}/spa-%{spa_ver}/jack/
|
|
|
|
%if %{with libcamera}
|
|
|
|
%{_libdir}/spa-%{spa_ver}/libcamera/
|
|
|
|
%endif
|
|
|
|
%{_libdir}/spa-%{spa_ver}/support/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/v4l2/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/videoconvert/
|
|
|
|
%if %{with_vulkan}
|
|
|
|
%{_libdir}/spa-%{spa_ver}/vulkan/
|
|
|
|
%endif
|
|
|
|
%{_libdir}/spa-%{spa_ver}/audiotestsrc/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/videotestsrc/
|
|
|
|
%{_libdir}/spa-%{spa_ver}/test/
|
|
|
|
|
|
|
|
%dir %{_datadir}/spa-%{spa_ver}/
|
|
|
|
%dir %{_datadir}/spa-%{spa_ver}/bluez5/
|
|
|
|
%{_datadir}/spa-%{spa_ver}/bluez5/bluez-hardware.conf
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%files libjack-%{apiver_str}
|
|
|
|
%dir %{_libdir}/pipewire-%{apiver}/jack
|
2021-07-19 18:49:28 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjack.so.*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjacknet.so.*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjackserver.so.*
|
2020-05-26 17:14:29 +02:00
|
|
|
%ghost %{_sysconfdir}/alternatives/pw-jack
|
2020-06-29 21:14:32 +02:00
|
|
|
%ghost %{_sysconfdir}/alternatives/pw-jack.1%{ext_man}
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_bindir}/pw-jack-%{apiver}
|
|
|
|
%{_bindir}/pw-jack
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pw-jack-%{apiver}.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pw-jack.1%{?ext_man}
|
2023-06-26 12:49:41 +02:00
|
|
|
%{_datadir}/pipewire/jack.conf
|
2021-07-19 18:49:28 +02:00
|
|
|
|
|
|
|
%files libjack-%{apiver_str}-devel
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjack.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjacknet.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjackserver.so
|
2021-12-10 14:41:07 +01:00
|
|
|
%if %{with pipewire_jack_devel}
|
|
|
|
%{_includedir}/jack/
|
2021-07-19 18:49:28 +02:00
|
|
|
%{_libdir}/pkgconfig/jack.pc
|
2021-08-26 16:39:54 +02:00
|
|
|
%endif
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%files -n gstreamer-plugin-pipewire
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstpipewire.so
|
|
|
|
|
|
|
|
%files tools
|
2021-02-16 22:36:14 +01:00
|
|
|
%{_bindir}/pw-cat
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_bindir}/pw-cli
|
2023-04-20 17:59:51 +02:00
|
|
|
%{_bindir}/pw-config
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_bindir}/pw-dot
|
2021-09-23 12:23:00 +02:00
|
|
|
%{_bindir}/pw-dsdplay
|
2021-02-01 13:25:23 +01:00
|
|
|
%{_bindir}/pw-dump
|
2023-03-15 10:12:30 +01:00
|
|
|
%{_bindir}/pw-encplay
|
2021-04-18 21:44:59 +02:00
|
|
|
%{_bindir}/pw-loopback
|
2021-04-26 16:38:52 +02:00
|
|
|
%{_bindir}/pw-link
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_bindir}/pw-metadata
|
|
|
|
%{_bindir}/pw-mididump
|
|
|
|
%{_bindir}/pw-midiplay
|
|
|
|
%{_bindir}/pw-midirecord
|
2021-02-16 22:36:14 +01:00
|
|
|
%{_bindir}/pw-mon
|
|
|
|
%{_bindir}/pw-play
|
|
|
|
%{_bindir}/pw-profiler
|
|
|
|
%{_bindir}/pw-record
|
2020-10-15 13:47:55 +02:00
|
|
|
%{_bindir}/pw-reserve
|
2021-03-15 10:53:42 +01:00
|
|
|
%{_bindir}/pw-top
|
2021-10-21 11:49:16 +02:00
|
|
|
%{_bindir}/pw-v4l2
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pw-cat.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pw-cli.1%{?ext_man}
|
2023-04-20 17:59:51 +02:00
|
|
|
%{_mandir}/man1/pw-config.1%{?ext_man}
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pw-dot.1%{?ext_man}
|
2022-04-18 08:30:04 +02:00
|
|
|
%{_mandir}/man1/pw-link.1%{?ext_man}
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pw-metadata.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pw-mididump.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pw-mon.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pw-profiler.1%{?ext_man}
|
2022-03-29 10:12:53 +02:00
|
|
|
%{_mandir}/man1/pw-top.1%{?ext_man}
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%files spa-tools
|
|
|
|
%{_bindir}/spa-inspect
|
|
|
|
%{_bindir}/spa-monitor
|
2020-10-15 13:47:55 +02:00
|
|
|
%{_bindir}/spa-acp-tool
|
|
|
|
%{_bindir}/spa-resample
|
2021-03-02 12:26:31 +01:00
|
|
|
%{_bindir}/spa-json-dump
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/libpipewire-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libpipewire-%{apiver}.pc
|
2019-04-01 12:30:43 +02:00
|
|
|
%{_libdir}/pkgconfig/libspa-%{spa_ver}.pc
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_includedir}/pipewire-%{apiver}/
|
|
|
|
%{_includedir}/spa-%{spa_ver}/
|
|
|
|
|
|
|
|
%files doc
|
2021-12-10 14:41:07 +01:00
|
|
|
%dir %{_datadir}/doc/pipewire/
|
|
|
|
%{_datadir}/doc/pipewire/html/
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%files pulseaudio
|
|
|
|
%{_bindir}/pipewire-pulse
|
2022-03-10 17:29:30 +01:00
|
|
|
%{_mandir}/man1/pipewire-pulse.1%{?ext_man}
|
2021-02-01 13:25:23 +01:00
|
|
|
%{_userunitdir}/pipewire-pulse.*
|
2021-12-16 18:21:41 +01:00
|
|
|
%{_datadir}/pipewire/pipewire-pulse.conf
|
2023-04-08 10:32:24 +02:00
|
|
|
%{_datadir}/pipewire/pipewire-pulse.conf.avail/
|
2021-06-05 23:31:18 +02:00
|
|
|
%ghost %{_localstatedir}/lib/pipewire/pipewire-pulseaudio_post_workaround
|
2021-02-01 13:25:23 +01:00
|
|
|
|
|
|
|
%files alsa
|
|
|
|
%dir %{_libdir}/alsa-lib
|
|
|
|
%{_libdir}/alsa-lib/libasound_module_pcm_pipewire.so
|
|
|
|
%{_libdir}/alsa-lib/libasound_module_ctl_pipewire.so
|
|
|
|
%dir %{_datadir}/alsa/alsa.conf.d
|
|
|
|
%{_datadir}/alsa/alsa.conf.d/50-pipewire.conf
|
|
|
|
%{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf
|
2021-12-10 14:41:07 +01:00
|
|
|
%dir %{_sysconfdir}/alsa/
|
|
|
|
%dir %{_sysconfdir}/alsa/conf.d/
|
2021-02-01 13:25:23 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pipewire.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf
|
|
|
|
|
2023-05-29 12:24:48 +02:00
|
|
|
%files jack
|
|
|
|
%config %{_sysconfdir}/ld.so.conf.d/pipewire-jack-%{_arch}.conf
|
|
|
|
|
2021-02-01 13:25:23 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%changelog
|