diff --git a/ports/SDL_mixer/build.sh b/ports/SDL_mixer/build.sh new file mode 100755 index 00000000..d265f860 --- /dev/null +++ b/ports/SDL_mixer/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash ../install.sh + +NAME='SDL_mixer' +VERSION='1.2.12' +DOWNLOAD_URL="https://github.com/libsdl-org/SDL_mixer/archive/refs/tags/release-$VERSION.tar.gz#4176dfc887664419bfd16c41013c6cf0c48eca6b95ae3c34205630e8a7a94faa" +TAR_CONTENT="SDL_mixer-release-$VERSION" +CONFIG_SUB=('build-scripts/config.sub') +DEPENDENCIES=('libmikmod' 'libiconv' 'sdl12-compat') diff --git a/ports/SDL_mixer/patches/0001-add-shared-library-support.patch b/ports/SDL_mixer/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..469313f4 --- /dev/null +++ b/ports/SDL_mixer/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN SDL_mixer-1.2.12/configure SDL_mixer-1.2.12-banan_os/configure +--- SDL_mixer-1.2.12/configure 2012-01-16 00:00:28.000000000 +0200 ++++ SDL_mixer-1.2.12-banan_os/configure 2025-11-16 03:27:17.615555034 +0200 +@@ -4073,6 +4073,10 @@ + lt_cv_deplibs_check_method=pass_all + ;; + ++banan_os*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ + beos*) + lt_cv_deplibs_check_method=pass_all + ;; +@@ -9083,6 +9087,16 @@ + esac + ;; + ++banan_os*) ++ version_type=linux # correct to gnu/linux during the next big refactor ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ++ soname_spec='$libname$release$shared_ext$major' ++ dynamic_linker="$host_os DynamicLoader.so" ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ + beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so"