File pulseeffects.spec of Package pulseeffects

#
# spec file for package pulseeffects
#
# Copyright (c) 2021 sp1rit <sp1ritCS@protonmail.com>
# Copyright (c) 2021 SUSE LLC
#
# 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.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define uuid com.github.wwmm.pulseeffects
Name: pulseeffects
Version: 0
Release: 0
Summary: Audio effects for PipeWire applications
Group: Productivity/Multimedia/Sound/Mixers
License: GPL-3.0
URL: https://github.com/wwmm/pulseeffects
Source0: %{name}-%{version}.tar.xz 
BuildRequires: gcc-c++ meson pkgconfig
BuildRequires: itstool
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3
BuildRequires: pkgconfig(glib-2.0) >= 2.56
BuildRequires: pkgconfig(glibmm-2.4) >= 2.56
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.24
BuildRequires: pkgconfig(sigc++-2.0) >= 2.10 
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.12.5
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= 1.12.5
BuildRequires: pkgconfig(lilv-0) >= 0.22
BuildRequires: pkgconfig(libbs2b)
BuildRequires: libboost_filesystem-devel >= 1.72
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(libebur128)
BuildRequires: zita-convolver-devel
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(rnnoise)
BuildRequires: desktop-file-utils appstream-glib
BuildRequires: update-desktop-files
Requires: gstreamer-plugin-pipewire
Requires: gstreamer-plugins-good >= 1.12.5
Requires: gstreamer-plugins-bad >= 1.12.5
Requires: ladspa-swh-plugins
Requires: pipewire-pulseaudio
Recommends: %{name}-lang
Recommends: lv2-lsp-plugins >= 1.1.24
Recommends: lv2-calf >= 0.90.1
Recommends: lv2-zam-plugins
Recommends: rubberband-ladspa

%description
PulseEffects can apply following effects to pipewire:
- Applications output
	-  Auto gain
    - Bass enhancer
    - Compressor
    - Convolver
    - Crossfeed
    - Crystalizer
    - De-esser
    - Equalizer
    - Exciter
    - Expander
    - Filter (low-pass, high-pass, band-pass and band-reject modes)
    - Gate
    - Limiter
    - Loudness
    - Maximizer
    - Multiband compressor
    - Multiband gate
    - Noise reduction
    - Pitch
    - Reverberation
    - Stereo tools
- Applications input
	- Compressor
    - De-esser
    - Equalizer
    - Filter (low-pass, high-pass, band-pass and band-reject modes)
    - Gate
    - Limiter
    - Maximizer
    - Multiband compressor
    - Multiband gate
    - Noise reduction
    - Pitch
    - Reverberation
    - Stereo tools
    - WebRTC
    
%lang_package

%prep
%autosetup -p1
%{meson}

%build
%{meson_build}

%install
%{meson_install}
%suse_update_desktop_file %{uuid}

%find_lang %{name}

%files lang -f pulseeffects.lang
%exclude %{_datadir}/help/C/%{name}/*.page

%files
%license LICENSE.md
%doc README.md CHANGELOG.md
%{_bindir}/%{name}
%{_libdir}/gstreamer-1.0/libgstpeconvolver.so
%{_libdir}/gstreamer-1.0/libgstpecrystalizer.so
%{_libdir}/gstreamer-1.0/libgstpeautogain.so
%{_libdir}/gstreamer-1.0/libgstpeadapter.so
%{_libdir}/gstreamer-1.0/libgstpernnoise.so
%{_datadir}/applications/%{uuid}.desktop
%{_datadir}/dbus-1/services/%{uuid}.service
%{_datadir}/glib-2.0/schemas/%{uuid}*.gschema.xml
%{_datadir}/help/C/%{name}/*.page
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/metainfo/%{uuid}.appdata.xml

%changelog
openSUSE Build Service is sponsored by