Signed-off-by: falkTX <falktx@falktx.com>pull/28/head
| @@ -1,4 +1,4 @@ | |||||
| Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> | |||||
| Copyright (C) 2012-2023 Filipe Coelho <falktx@falktx.com> | |||||
| Permission to use, copy, modify, and/or distribute this software for any purpose with | Permission to use, copy, modify, and/or distribute this software for any purpose with | ||||
| or without fee is hereby granted, provided that the above copyright notice and this | or without fee is hereby granted, provided that the above copyright notice and this | ||||
| @@ -290,3 +290,15 @@ if [ "${MACOS}" -eq 0 ]; then | |||||
| fi | fi | ||||
| # --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
| # mingw-std-threads (download, win32 only) | |||||
| if [ "${WIN32}" -eq 1 ]; then | |||||
| git_clone mingw-std-threads "${MINGW_STD_THREADS_VERSION}" "${MINGW_STD_THREADS_URL}" | |||||
| if [ ! -e "${PAWPAW_BUILDDIR}/mingw-std-threads-${MINGW_STD_THREADS_VERSION}/.stamp-installed" ]; then | |||||
| install -m 644 "${PAWPAW_BUILDDIR}/mingw-std-threads-${MINGW_STD_THREADS_VERSION}"/mingw.*.h "${PAWPAW_PREFIX}/include/" | |||||
| install -m 644 "${PAWPAW_ROOT}/mingw-compat"/* "${PAWPAW_PREFIX}/include/" | |||||
| touch "${PAWPAW_BUILDDIR}/mingw-std-threads-${MINGW_STD_THREADS_VERSION}/.stamp-installed" | |||||
| fi | |||||
| fi | |||||
| # --------------------------------------------------------------------------------------------------------------------- | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <condition_variable> | |||||
| #include "mingw.condition_variable.h" | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <future> | |||||
| #include "mingw.future.h" | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <invoke> | |||||
| #include "mingw.invoke.h" | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <mutex> | |||||
| #include "mingw.mutex.h" | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <shared_mutex> | |||||
| #include "mingw.shared_mutex.h" | |||||
| @@ -0,0 +1,6 @@ | |||||
| // Copyright 2023 Filipe Coelho <falktx@falktx.com> | |||||
| // SPDX-License-Identifier: 0BSD OR ISC | |||||
| #pragma once | |||||
| #include_next <thread> | |||||
| #include "mingw.thread.h" | |||||
| @@ -37,6 +37,9 @@ LIBSNDFILE_URL=https://github.com/libsndfile/libsndfile/releases/download/${LIBS | |||||
| LIBSAMPLERATE_VERSION=0.1.9 | LIBSAMPLERATE_VERSION=0.1.9 | ||||
| LIBSAMPLERATE_URL=http://www.mega-nerd.com/SRC | LIBSAMPLERATE_URL=http://www.mega-nerd.com/SRC | ||||
| MINGW_STD_THREADS_VERSION=6c2061b7da41d6aa1b2162ff4383ec3ece864bc6 | |||||
| MINGW_STD_THREADS_URL=https://github.com/meganz/mingw-std-threads.git | |||||
| ZLIB_VERSION=cacf7f1d4e3d44d871b605da3b647f07d718623f # 1.2.11 | ZLIB_VERSION=cacf7f1d4e3d44d871b605da3b647f07d718623f # 1.2.11 | ||||
| ZLIB_URL=https://github.com/madler/zlib.git | ZLIB_URL=https://github.com/madler/zlib.git | ||||