Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:branches:multimedia
pulseeffects
pulseeffects.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pulseeffects.spec of Package pulseeffects
# # spec file for package pulseeffects # # Copyright (c) 2024 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/ # Name: pulseeffects Version: 7.2.0+0~git20241119.5b324d99e Release: 0 Summary: Audio effects for Pulseaudio applications License: GPL-3.0-or-later URL: https://github.com/wwmm/pulseeffects #Source0: https://github.com/wwmm/pulseeffects/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.xz Source100: preset_output_default.json Source101: preset_output_default-boosted.json Source102: preset_output_default-overloaded.json # preset with simple EQ to negate proliferate "bloated bass and tremble"-issue in many headphones # might need to be even more aggressive and also checked in LSP's UI to see real response graph Source103: preset_output_anti-V.json Source110: preset_input_default.json # https://github.com/wwmm/easyeffects/issues/2445 & 1771 # broken in 2ea713dbc25d73143c65d6372ed7c6b7e45a1edf #Patch0: pulseeffects_breakage-for-presets.patch #Patch0: pulseeffects_revert-not-move2.patch #Patch1: pulseeffects_revert-not-move1.patch BuildRequires: appstream-glib BuildRequires: binutils-gold BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glibmm2-devel BuildRequires: hicolor-icon-theme BuildRequires: itstool #BuildRequires: libboost_filesystem-devel >= 1.72 #BuildRequires: libboost_system-devel >= 1.72 BuildRequires: meson BuildRequires: ladspa-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: zita-convolver-devel BuildRequires: cmake(nlohmann_json) BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gsl) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(gtkmm-4.0) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(libbs2b) BuildRequires: pkgconfig(libebur128) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libportal-gtk4) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(lilv-0) BuildRequires: pkgconfig(rnnoise) BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(soundtouch) BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(tbb) Requires: dconf Requires: gstreamer-plugins-bad >= 1.12.5 Requires: gstreamer-plugins-good >= 1.12.5 Requires: ladspa-swh-plugins Requires: pulseaudio Recommends: %{name}-lang = %{version} Conflicts: easyeffects Provides: easyeffects = %{version} # it crashes without them Requires: lv2-zam-plugins Requires: lv2-calf >= 0.90.1 Requires: lv2-lsp-plugins Recommends: rubberband-ladspa %description PulseEffects is a limiter, compressor, reverberation, stereo equalizer and auto volume effects for Pulseaudio applications. %lang_package %prep %autosetup -p1 #setup -q #patch -P0 -p1 -F3 -R #patch -P1 -p1 -F3 -R # we don't need this sed -i '/^meson.add_install_script/d' meson.build %build export CFLAGS="%{optflags} -fPIC -O3 -ftree-parallelize-loops=4 -ftree-vectorize -fpredictive-commoning -flto=%jobs -ffat-lto-objects -flto-odr-type-merging -fuse-linker-plugin" export CXXFLAGS="${CFLAGS}" export LD=ld.gold alias ld=gold export LDFLAGS="${LDFLAGS} -fuse-ld=gold -Wl,--icf=safe -Wl,--gc-sections -fPIC -Wl,--sort-common -Wl,--no-keep-memory -Wl,-O1 -flto=%jobs -fuse-linker-plugin" # see https://stackoverflow.com/questions/14405601/gnu-scientific-library-cblas-symbol-lookup-error #export LDFLAGS="${LDFLAGS} -lgslcblas -lm" %meson \ -Db_ndebug=true \ -Dc_args="${CFLAGS} ${LDFLAGS}" \ -Dcpp_args="${CXXFLAGS} ${LDFLAGS}" \ -Denable-libportal=true \ || (cat */meson-logs/meson-log.txt; exit 1) %meson_build %install %meson_install # drop some presets mkdir -p %{buildroot}%{_sysconfdir}/easyeffects/input install -vD -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/easyeffects/output/system_default.json install -vD -m 0644 %{SOURCE101} %{buildroot}%{_sysconfdir}/easyeffects/output/system_default-boosted.json install -vD -m 0644 %{SOURCE102} %{buildroot}%{_sysconfdir}/easyeffects/output/system_default-overloaded.json install -vD -m 0644 %{SOURCE103} %{buildroot}%{_sysconfdir}/easyeffects/output/system_anti-V.json install -vD -m 0644 %{SOURCE110} %{buildroot}%{_sysconfdir}/easyeffects/input/system_default.json %suse_update_desktop_file -r com.github.wwmm.easyeffects "GTK;AudioVideo;Audio;Mixer;" %find_lang easyeffects %find_lang easyeffects-news %files lang -f easyeffects.lang -f easyeffects-news.lang %exclude %{_datadir}/help/C/easyeffects %files %doc CHANGELOG.md README.md %license LICENSE %{_bindir}/* %dir %{_sysconfdir}/easyeffects %dir %{_sysconfdir}/easyeffects/input %dir %{_sysconfdir}/easyeffects/output %config %{_sysconfdir}/easyeffects/input/*.json %config %{_sysconfdir}/easyeffects/output/*.json %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/*.service %{_datadir}/help/C/easyeffects %{_datadir}/icons/hicolor/* %{_datadir}/glib-2.0/schemas/* %{_datadir}/metainfo/*.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor