###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
DIR_APP = $(DIR_SRC)/$(THISAPP)-Source
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = soxr
-PAK_VER = 1
+PAK_VER = 2
DEPS =
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/soxr-0.1.3-allow_build_with_cmake-4.0.x.patch
cd $(DIR_APP) && mkdir -p build
cd $(DIR_APP)/build && cmake -Wno-dev \
- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
cd $(DIR_APP)/build && make $(MAKETUNING)
cd $(DIR_APP)/build && make install
@rm -rf $(DIR_APP)
--- /dev/null
+--- soxr-0.1.3-Source/CMakeLists.txt.orig 2018-02-23 22:39:25.000000000 +0100
++++ soxr-0.1.3-Source/CMakeLists.txt 2025-05-08 17:35:15.017048157 +0200
+@@ -1,7 +1,7 @@
+ # SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net
+ # Licence for this file: LGPL v2.1 See LICENCE for details.
+
+-cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
++cmake_minimum_required (VERSION 3.10 FATAL_ERROR)
+
+ project (soxr C)
+ set (DESCRIPTION_SUMMARY