diff --git a/01-fix-depricated-boost-filesystem-copy_option.patch b/01-fix-depricated-boost-filesystem-copy_option.patch new file mode 100644 index 0000000..95e4211 --- /dev/null +++ b/01-fix-depricated-boost-filesystem-copy_option.patch @@ -0,0 +1,26 @@ +diff --git a/src/convolver_ui.cpp b/src/convolver_ui.cpp +index fba3d6bfd..d40f3afff 100644 +--- a/src/convolver_ui.cpp ++++ b/src/convolver_ui.cpp +@@ -186,7 +186,7 @@ void ConvolverUi::import_irs_file(const std::string& file_path) { + + out_path.replace_extension(".irs"); + +- boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_option::overwrite_if_exists); ++ boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_options::overwrite_existing); + + util::debug(log_tag + "imported irs file to: " + out_path.string()); + } else { +diff --git a/src/presets_manager.cpp b/src/presets_manager.cpp +index 6926e3d9d..57c333aaf 100644 +--- a/src/presets_manager.cpp ++++ b/src/presets_manager.cpp +@@ -472,7 +472,7 @@ void PresetsManager::import(PresetType preset_type, const std::string& file_path + + out_path = user_dir / p.filename(); + +- boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_option::overwrite_if_exists); ++ boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_options::overwrite_existing); + + util::debug(log_tag + "imported preset to: " + out_path.string()); + } diff --git a/_service b/_service new file mode 100644 index 0000000..4a13091 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + https://github.com/wwmm/easyeffects + git + pulseaudio-legacy + 4.8.7 + pulseeffects + + + *.tar + gz + + + diff --git a/pulseeffects-4.8.7.tar.gz b/pulseeffects-4.8.7.tar.gz index f9c9cbf..c5a3108 100644 --- a/pulseeffects-4.8.7.tar.gz +++ b/pulseeffects-4.8.7.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d841f27df87b99747349be6b8de62d131422369908fcb57a81f39590437a8099 -size 2028489 +oid sha256:1d2abeb40cf0fed1f69e43c0b73c204862771174bc1a15c19d7006d69fde8484 +size 2066973 diff --git a/pulseeffects.changes b/pulseeffects.changes index 6bb09ac..95cf8ae 100644 --- a/pulseeffects.changes +++ b/pulseeffects.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu May 23 23:04:56 UTC 2024 - Konstantin Voinov + +- Switch to _service source tarball +- Update spec +- Add 01-fix-depricated-boost-filesystem-copy_option.patch fixing + build with current boost + ------------------------------------------------------------------- Sun May 22 06:55:48 UTC 2022 - Konstantin Voinov diff --git a/pulseeffects.spec b/pulseeffects.spec index 286e97a..b5fc1b6 100644 --- a/pulseeffects.spec +++ b/pulseeffects.spec @@ -1,7 +1,7 @@ # # spec file for package pulseeffects # -# Copyright (c) 2022 SUSE LLC +# 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 @@ -22,7 +22,8 @@ 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.gz +Patch0: 01-fix-depricated-boost-filesystem-copy_option.patch BuildRequires: appstream-glib BuildRequires: gcc-c++ BuildRequires: itstool @@ -62,7 +63,7 @@ effects for Pulseaudio applications. %lang_package %prep -%setup -q -n easyeffects-%{version} +%autosetup -p1 # we don't need this sed -i '/^meson.add_install_script/d' meson.build