diff --git a/NEWS b/NEWS index 1d21a4b98..4b887ccfb 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,8 @@ ver 0.24 (not yet released) * switch to C++20 - GCC 10 or clang 11 (or newer) recommended * static partition configuration +* Windows + - build with libsamplerate * remove Haiku support * remove Boost dependency * require libfmt 7 or later diff --git a/python/build/libs.py b/python/build/libs.py index 7a4d2ce22..455fe1a5b 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -16,6 +16,17 @@ libmpdclient = MesonProject( 'lib/libmpdclient.a', ) +libsamplerate = CmakeProject( + 'https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz', + '97c010fc25156c33cddc272c1935afab', + 'lib/libsamplerate.a', + [ + '-DBUILD_SHARED_LIBS=OFF', + '-DINSTALL_DOCS=OFF', + '-DINSTALL_CMAKE_PACKAGE_MODULE=OFF', + ], +) + libogg = CmakeProject( 'http://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.xz', 'c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705', diff --git a/win32/build.py b/win32/build.py index a3565d56e..c01543735 100755 --- a/win32/build.py +++ b/win32/build.py @@ -106,6 +106,7 @@ thirdparty_libs = [ curl, libnfs, jack, + libsamplerate, ] # build the third-party libraries