|
|
@@ -15,6 +15,13 @@ if [ -z "${target}" ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# skip fluidsynth if glib is not wanted (fluidsynth requires glib) |
|
|
|
|
|
|
|
if [ -n "${PAWPAW_SKIP_GLIB}" ]; then |
|
|
|
PAWPAW_SKIP_FLUIDSYNTH=1 |
|
|
|
fi |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# run bootstrap dependencies |
|
|
|
|
|
|
@@ -31,6 +38,8 @@ source setup/versions.sh |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# fftw |
|
|
|
|
|
|
|
if [ -z "${PAWPAW_SKIP_FFTW}" ]; then |
|
|
|
|
|
|
|
FFTW_EXTRAFLAGS="--disable-alloca --disable-fortran --with-our-malloc" |
|
|
|
|
|
|
|
# FIXME macos-universal proper optimizations |
|
|
@@ -49,9 +58,13 @@ if [ "${CROSS_COMPILING}" -eq 0 ]; then |
|
|
|
run_make fftw "${FFTW_VERSION}" check |
|
|
|
fi |
|
|
|
|
|
|
|
fi # PAWPAW_SKIP_FFTW |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# fftwf |
|
|
|
|
|
|
|
if [ -z "${PAWPAW_SKIP_FFTW}" ]; then |
|
|
|
|
|
|
|
FFTWF_EXTRAFLAGS="${FFTW_EXTRAFLAGS} --enable-single" |
|
|
|
|
|
|
|
copy_download fftw fftwf "${FFTW_VERSION}" |
|
|
@@ -61,6 +74,8 @@ if [ "${CROSS_COMPILING}" -eq 0 ]; then |
|
|
|
run_make fftwf "${FFTW_VERSION}" check |
|
|
|
fi |
|
|
|
|
|
|
|
fi # PAWPAW_SKIP_FFTW |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# pcre |
|
|
|
|
|
|
@@ -72,6 +87,8 @@ fi |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# libffi |
|
|
|
|
|
|
|
if [ -z "${PAWPAW_SKIP_GLIB}" ]; then |
|
|
|
|
|
|
|
if [ "${WIN32}" -eq 1 ]; then |
|
|
|
LIBFFI_EXTRAFLAGS="--disable-multi-os-directory --disable-raw-api" |
|
|
|
|
|
|
@@ -79,9 +96,13 @@ if [ "${WIN32}" -eq 1 ]; then |
|
|
|
build_autoconf libffi "${LIBFFI_VERSION}" "${LIBFFI_EXTRAFLAGS}" |
|
|
|
fi |
|
|
|
|
|
|
|
fi # PAWPAW_SKIP_GLIB |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# glib |
|
|
|
|
|
|
|
if [ -z "${PAWPAW_SKIP_GLIB}" ]; then |
|
|
|
|
|
|
|
if [ "${MACOS}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then |
|
|
|
GLIB_EXTRAFLAGS="--disable-rebuilds" |
|
|
|
|
|
|
@@ -108,6 +129,8 @@ if [ "${MACOS}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then |
|
|
|
build_autoconfgen glib ${GLIB_VERSION} "${GLIB_EXTRAFLAGS}" |
|
|
|
fi |
|
|
|
|
|
|
|
fi # PAWPAW_SKIP_GLIB |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# liblo |
|
|
|
|
|
|
@@ -192,6 +215,8 @@ build_make mod-sdk "${MOD_SDK_VERSION}" |
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# fluidsynth |
|
|
|
|
|
|
|
if [ -z "${PAWPAW_SKIP_FLUIDSYNTH}" ]; then |
|
|
|
|
|
|
|
FLUIDSYNTH_EXTRAFLAGS="-Denable-floats=ON" |
|
|
|
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-alsa=OFF" |
|
|
|
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-aufile=OFF" |
|
|
@@ -229,6 +254,8 @@ if [ ! -e "${PAWPAW_PREFIX}/lib/pkgconfig/fluidsynth.pc-e" ]; then |
|
|
|
touch "${PAWPAW_PREFIX}/lib/pkgconfig/fluidsynth.pc-e" |
|
|
|
fi |
|
|
|
|
|
|
|
fi # PAWPAW_SKIP_FLUIDSYNTH |
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------------------------------------------- |
|
|
|
# mxml |
|
|
|
|
|
|
|