ubuntu-win64-cross: Add updated libsamplerate

This commit is contained in:
Matt Borgerson 2024-12-28 16:32:28 -07:00 committed by mborgerson
parent 9cb88de014
commit 76905733f1
2 changed files with 21 additions and 0 deletions

View File

@ -83,6 +83,7 @@ COPY vulkan-headers.mk \
glslang.mk \
glib.mk \
sdl2.mk \
libsamplerate.mk \
${MXE_PATH}/src/
RUN make \

View File

@ -0,0 +1,20 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libsamplerate
$(PKG)_WEBSITE := http://libsndfile.github.io/libsamplerate/
$(PKG)_DESCR := libsamplerate
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.2.2
$(PKG)_SUBDIR := libsamplerate-$($(PKG)_VERSION)
$(PKG)_FILE := libsamplerate-$($(PKG)_VERSION).tar.gz
$(PKG)_CHECKSUM := 16e881487f184250deb4fcb60432d7556ab12cb58caea71ef23960aec6c0405a
$(PKG)_URL := https://github.com/libsndfile/libsamplerate/archive/refs/tags/$($(PKG)_VERSION)/$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := cc
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
-DLIBSAMPLERATE_EXAMPLES=OFF \
-DVERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef