2018-06-02 12:11:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package pipewire
|
|
|
|
#
|
2020-03-26 23:31:09 +01:00
|
|
|
# Copyright (c) 2020 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-05-26 17:14:29 +02:00
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
|
|
|
%global provfind sh -c "grep -v -e 'libpulse.*\\.so' -e 'libjack.*\\.so' | %__find_provides"
|
|
|
|
%global __find_provides %provfind
|
|
|
|
|
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
|
2018-10-17 08:10:01 +02:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%define libpipewire libpipewire-%{apiver_str}-0
|
2020-06-29 21:14:32 +02:00
|
|
|
%if %{pkg_vcmp pkgconfig(vulkan) >= 1.1}
|
|
|
|
%define with_vulkan 1
|
|
|
|
%else
|
|
|
|
%define with_vulkan 0
|
|
|
|
%endif
|
2020-05-26 17:14:29 +02:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
Name: pipewire
|
2020-11-19 11:57:06 +01:00
|
|
|
Version: 0.3.15
|
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-05-26 17:14:29 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
2020-11-19 11:57:06 +01:00
|
|
|
Source99: baselibs.conf
|
2020-03-26 23:31:09 +01:00
|
|
|
Patch0: fix-memfd_create-call.patch
|
2020-05-26 17:14:29 +02:00
|
|
|
Patch1: do-not-use-snd_pcm_ioplug_hw_avail.patch
|
2020-08-12 10:20:43 +02:00
|
|
|
Patch2: do-not-install-alsa-config-files.patch
|
2018-10-17 08:10:01 +02:00
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
2020-04-07 10:20:13 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
BuildRequires: gcc9
|
|
|
|
%endif
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: graphviz
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: xmltoman
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
2020-03-26 23:31:09 +01:00
|
|
|
BuildRequires: pkgconfig(bluez)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
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
|
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavfilter)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
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)
|
|
|
|
BuildRequires: pkgconfig(libva)
|
|
|
|
BuildRequires: pkgconfig(sbc)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
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)
|
2018-06-02 12:11:46 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
Requires: %{libpipewire} = %{version}
|
|
|
|
Requires: %{name}-modules = %{version}
|
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}
|
|
|
|
|
|
|
|
%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
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
Group: System/Libraries
|
2020-07-24 09:49:47 +02:00
|
|
|
Recommends: pipewire
|
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-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%package libpulse-%{apiver_str}
|
2020-03-26 23:31:09 +01:00
|
|
|
Summary: A Multimedia Framework designed to be an audio and video server and more
|
2020-04-07 10:20:13 +02:00
|
|
|
License: LGPL-2.1-or-later
|
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
|
|
|
|
Requires(postun): update-alternatives
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%description libpulse-%{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.
|
|
|
|
|
|
|
|
This package provides the PipeWire shared library.
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%package -n gstreamer-plugin-pipewire
|
|
|
|
Summary: Gstreamer Plugin for PipeWire
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
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
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
SPA or Simple Plugin API is a plugin API.
|
|
|
|
|
|
|
|
This package provides pipewire-cli and pipewire-monitor tools.
|
|
|
|
|
|
|
|
%package spa-tools
|
|
|
|
Summary: The PipeWire SPA Tools
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%package modules
|
|
|
|
Summary: Modules For PipeWire, A Multimedia Framework
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
Requires: pipewire
|
|
|
|
|
|
|
|
%description modules
|
|
|
|
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.
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%package spa-plugins-%{spa_ver_str}
|
2018-06-02 12:11:46 +02:00
|
|
|
Summary: Plugins For PipeWire SPA
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
Requires: pipewire
|
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%description spa-plugins-%{spa_ver_str}
|
2018-06-02 12:11:46 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development Files For PipeWire, A Multimedia Framework
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2018-06-02 12:11:46 +02:00
|
|
|
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
|
2020-04-07 10:20:13 +02:00
|
|
|
License: MIT
|
2020-03-26 23:31:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for the PipeWire media server.
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%prep
|
2020-03-26 23:31:09 +01:00
|
|
|
%setup
|
|
|
|
%if %{pkg_vcmp glibc < 2.27}
|
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2020-07-10 14:12:29 +02:00
|
|
|
%if %{pkg_vcmp alsa-devel < 1.1.7}
|
2020-05-26 17:14:29 +02:00
|
|
|
%patch1 -p1
|
2020-07-10 14:12:29 +02:00
|
|
|
sed -i -e "s/dependency('alsa', version : '>=1.1.7')/dependency('alsa', version : '>=1.1.5')/" meson.build
|
2020-05-26 17:14:29 +02:00
|
|
|
%endif
|
2020-08-12 10:20:43 +02:00
|
|
|
sed -i -e "s/meson_version : '>= 0.49.0',/meson_version : '>= 0.46.0',/" meson.build
|
2020-06-29 21:14:32 +02:00
|
|
|
%patch2 -p1
|
2020-05-26 17:14:29 +02:00
|
|
|
|
2020-10-15 13:47:55 +02:00
|
|
|
%autopatch -m 100 -p1
|
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}
|
|
|
|
export CC=gcc-9
|
|
|
|
%endif
|
2018-06-02 12:11:46 +02:00
|
|
|
%meson \
|
2020-03-26 23:31:09 +01:00
|
|
|
-Ddocs=true \
|
|
|
|
-Dman=true \
|
|
|
|
-Dgstreamer=true \
|
|
|
|
-Dffmpeg=true \
|
2019-04-01 12:30:43 +02:00
|
|
|
-Dsystemd=true \
|
2020-06-29 21:14:32 +02:00
|
|
|
%if %{with_vulkan}
|
2020-03-26 23:31:09 +01:00
|
|
|
-Dvulkan=true \
|
2020-06-29 21:14:32 +02:00
|
|
|
%else
|
|
|
|
-Dvulkan=false \
|
|
|
|
%endif
|
2020-05-26 17:14:29 +02:00
|
|
|
-Dtest=true \
|
|
|
|
-Daudiotestsrc=true \
|
2019-04-01 12:30:43 +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/
|
2020-11-19 11:57:06 +01:00
|
|
|
# Copy the alsa configuration but keep 99-pipewire-default.conf disabled by default
|
|
|
|
cp -a pipewire-alsa/conf/50-pipewire.conf %{buildroot}%{_sysconfdir}/alsa/conf.d/
|
|
|
|
cp -a pipewire-alsa/conf/99-pipewire-default.conf %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf.example
|
2020-05-26 17:14:29 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
|
|
|
for wrapper in pw-pulse pw-jack ; do
|
|
|
|
mv %{buildroot}%{_bindir}/$wrapper %{buildroot}%{_bindir}/$wrapper-%{apiver}
|
|
|
|
ln -s -f %{_sysconfdir}/alternatives/$wrapper %{buildroot}%{_bindir}/$wrapper
|
|
|
|
done
|
|
|
|
|
2020-06-29 21:14:32 +02:00
|
|
|
for manpage in pw-jack pw-pulse ; do
|
|
|
|
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
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2020-07-24 09:49:47 +02:00
|
|
|
%post
|
|
|
|
if [ ! -f /etc/systemd/user/sockets.target.wants/%{name}.socket ]; then
|
|
|
|
echo "Switching Pipewire activation using systemd user socket."
|
|
|
|
echo "Please log out from all sessions once to make it effective."
|
|
|
|
fi
|
|
|
|
%systemd_user_post pipewire.socket
|
|
|
|
# FIXME: workaround to make sure the user socket symlink creation (related to bsc#1083473)
|
|
|
|
if [ ! -f /etc/systemd/user/sockets.target.wants/%{name}.socket ]; then
|
|
|
|
# below should work once when preset is defined properly:
|
|
|
|
# /usr/bin/systemctl --no-reload --global preset pipewire.socket
|
|
|
|
mkdir -p /etc/systemd/user/sockets.target.wants
|
|
|
|
ln -s %{_userunitdir}/%{name}.socket /etc/systemd/user/sockets.target.wants/%{name}.socket
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun pipewire.socket
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_user_postun pipewire.socket
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%post -n %{libpipewire} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libpipewire} -p /sbin/ldconfig
|
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%post libpulse-%{apiver_str}
|
2020-06-29 21:14:32 +02:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/pw-pulse pw-pulse %{_bindir}/pw-pulse-%{apiver} 20 \
|
|
|
|
--slave %{_mandir}/man1/pw-pulse.1%{ext_man} pw-pulse.1%{ext_man} %{_mandir}/man1/pw-pulse-%{apiver}.1%{ext_man}
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%postun libpulse-%{apiver_str}
|
|
|
|
if [ ! -e %{_bindir}/pw-pulse-%{apiver} ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --remove pw-pulse %{_bindir}/pw-pulse-%{apiver}
|
|
|
|
fi
|
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}
|
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
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%files
|
|
|
|
%{_bindir}/pipewire
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_bindir}/pipewire-media-session
|
2018-06-02 12:11:46 +02:00
|
|
|
%{_userunitdir}/pipewire.service
|
|
|
|
%{_userunitdir}/pipewire.socket
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_mandir}/man1/pipewire.1%{ext_man}
|
|
|
|
%{_mandir}/man5/pipewire.conf.5%{ext_man}
|
|
|
|
|
2018-06-02 12:11:46 +02:00
|
|
|
%dir %{_sysconfdir}/pipewire
|
2020-03-26 23:31:09 +01:00
|
|
|
%config %{_sysconfdir}/pipewire/pipewire.conf
|
|
|
|
|
|
|
|
%dir %{_libdir}/alsa-lib
|
|
|
|
%{_libdir}/alsa-lib/libasound_module_pcm_pipewire.so
|
2020-08-12 10:20:43 +02:00
|
|
|
%{_libdir}/alsa-lib/libasound_module_ctl_pipewire.so
|
2020-05-26 17:14:29 +02:00
|
|
|
%dir %{_datadir}/alsa/alsa.conf.d
|
|
|
|
%{_datadir}/alsa/alsa.conf.d/50-pipewire.conf
|
|
|
|
%{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf
|
|
|
|
%dir %{_sysconfdir}/alsa
|
|
|
|
%dir %{_sysconfdir}/alsa/conf.d
|
|
|
|
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pipewire.conf
|
2020-11-19 11:57:06 +01:00
|
|
|
%{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf.example
|
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
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%files libjack-%{apiver_str}
|
|
|
|
%dir %{_libdir}/pipewire-%{apiver}/jack
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjack.so*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjacknet.so*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/jack/libjackserver.so*
|
|
|
|
%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
|
2020-06-29 21:14:32 +02:00
|
|
|
%{_mandir}/man1/pw-jack-%{apiver}.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-jack.1%{ext_man}
|
2020-03-26 23:31:09 +01:00
|
|
|
|
2020-05-26 17:14:29 +02:00
|
|
|
%files libpulse-%{apiver_str}
|
2020-04-07 10:20:13 +02:00
|
|
|
%license pipewire-pulseaudio/LICENSE
|
2020-05-26 17:14:29 +02:00
|
|
|
%dir %{_libdir}/pipewire-%{apiver}/pulse
|
|
|
|
%{_libdir}/pipewire-%{apiver}/pulse/libpulse.so*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/pulse/libpulse-simple.so*
|
|
|
|
%{_libdir}/pipewire-%{apiver}/pulse/libpulse-mainloop-glib.so*
|
|
|
|
%ghost %{_sysconfdir}/alternatives/pw-pulse
|
2020-06-29 21:14:32 +02:00
|
|
|
%ghost %{_sysconfdir}/alternatives/pw-pulse.1%{ext_man}
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_bindir}/pw-pulse-%{apiver}
|
|
|
|
%{_bindir}/pw-pulse
|
2020-06-29 21:14:32 +02:00
|
|
|
%{_mandir}/man1/pw-pulse-%{apiver}.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-pulse.1%{ext_man}
|
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
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_bindir}/pw-cli
|
|
|
|
%{_bindir}/pw-dot
|
|
|
|
%{_bindir}/pw-mon
|
|
|
|
%{_bindir}/pw-profiler
|
|
|
|
%{_bindir}/pw-cat
|
|
|
|
%{_bindir}/pw-play
|
|
|
|
%{_bindir}/pw-record
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_bindir}/pw-metadata
|
|
|
|
%{_bindir}/pw-mididump
|
|
|
|
%{_bindir}/pw-midiplay
|
|
|
|
%{_bindir}/pw-midirecord
|
2020-10-15 13:47:55 +02:00
|
|
|
%{_bindir}/pw-reserve
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_mandir}/man1/pw-cli.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-mon.1%{ext_man}
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_mandir}/man1/pw-cat.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-dot.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-metadata.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-mididump.1%{ext_man}
|
|
|
|
%{_mandir}/man1/pw-profiler.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
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%files modules
|
2018-10-17 08:10:01 +02:00
|
|
|
%dir %{_libdir}/pipewire-%{apiver}
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-access.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-adapter.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-client-device.so
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-client-node.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-link-factory.so
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-metadata.so
|
2020-06-29 21:14:32 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-portal.so
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-profiler.so
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-protocol-native.so
|
2020-11-19 11:57:06 +01:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-protocol-pulse.so
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-rtkit.so
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-session-manager.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-spa-device-factory.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-spa-device.so
|
2018-10-17 08:10:01 +02:00
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-spa-node-factory.so
|
|
|
|
%{_libdir}/pipewire-%{apiver}/libpipewire-module-spa-node.so
|
2018-06-02 12:11:46 +02:00
|
|
|
|
2020-03-26 23:31:09 +01:00
|
|
|
%files spa-plugins-%{spa_ver_str}
|
|
|
|
%{_libdir}/spa-%{spa_ver}/alsa/libspa-alsa.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/audioconvert/libspa-audioconvert.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/audiomixer/libspa-audiomixer.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/bluez5/libspa-bluez5.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/control/libspa-control.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/ffmpeg/libspa-ffmpeg.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/jack/libspa-jack.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/support/libspa-dbus.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/support/libspa-support.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/v4l2/libspa-v4l2.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/videoconvert/libspa-videoconvert.so
|
2020-06-29 21:14:32 +02:00
|
|
|
%if %{with_vulkan}
|
2020-03-26 23:31:09 +01:00
|
|
|
%{_libdir}/spa-%{spa_ver}/vulkan/libspa-vulkan.so
|
2020-06-29 21:14:32 +02:00
|
|
|
%endif
|
2020-05-26 17:14:29 +02:00
|
|
|
%{_libdir}/spa-%{spa_ver}/audiotestsrc/libspa-audiotestsrc.so
|
|
|
|
%{_libdir}/spa-%{spa_ver}/test/libspa-test.so
|
2020-03-26 23:31:09 +01:00
|
|
|
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/alsa
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/audioconvert
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/audiomixer
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/bluez5
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/control
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/ffmpeg
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/jack
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/support
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/v4l2
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/videoconvert
|
2020-06-29 21:14:32 +02:00
|
|
|
%if %{with_vulkan}
|
2020-03-26 23:31:09 +01:00
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/vulkan
|
2020-06-29 21:14:32 +02:00
|
|
|
%endif
|
2020-05-26 17:14:29 +02:00
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/audiotestsrc
|
|
|
|
%dir %{_libdir}/spa-%{spa_ver}/test
|
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
|
|
|
|
%dir %{_datadir}/doc/pipewire
|
|
|
|
%{_datadir}/doc/pipewire/html
|
2018-06-02 12:11:46 +02:00
|
|
|
|
|
|
|
%changelog
|