From 7d9d173c9f76e7ddf757f5cc89129ec8195d75e2 Mon Sep 17 00:00:00 2001 From: Sweet Blue Date: Thu, 23 Feb 2023 14:25:11 +0100 Subject: [PATCH 1/2] Updated libs.py to integrate libsamplerate 0.2.2 --- python/build/libs.py | 11 +++++++++++ 1 file changed, 11 insertions(+) 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', From 2a75222fe2d47e638918bdff1efe8a7fcbe3bbd5 Mon Sep 17 00:00:00 2001 From: Sweet Blue Date: Thu, 23 Feb 2023 14:26:32 +0100 Subject: [PATCH 2/2] Added libsamplerate to win32 build script --- win32/build.py | 1 + 1 file changed, 1 insertion(+) 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