Skip to content

Commit

Permalink
change directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 23, 2024
1 parent f2b6422 commit 8cf5e40
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion buildscripts/docker/nondocker_windows_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ apt-get clean && \
update-alternatives --set ${ARCH}-w64-mingw32-gcc /usr/bin/${ARCH}-w64-mingw32-gcc-posix && \
update-alternatives --set ${ARCH}-w64-mingw32-g++ /usr/bin/${ARCH}-w64-mingw32-g++-posix

cd ./buildscripts/
cp -v download/common.sh /build/download/common.sh
cp -v build_utils.sh /build/build_utils.sh

cd ./buildscripts/
cp -v download/download_nasm.sh /build/download/download_nasm.sh
cp -v build_nasm.sh /build/build_nasm.sh

Expand All @@ -56,6 +58,7 @@ mkdir -p /src/nasm && \
/build/build_nasm.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/nasm

cd ./buildscripts/
cp -v download/download_libx264.sh /build/download/download_libx264.sh
cp -v build_libx264_windows.sh /build/build_libx264_windows.sh

Expand All @@ -64,6 +67,7 @@ mkdir -p /src/libx264 && \
/build/build_libx264_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/libx264

cd ./buildscripts/
cp -v download/download_openssl.sh /build/download/download_openssl.sh
cp -v build_openssl.sh /build/build_openssl.sh

Expand All @@ -72,6 +76,7 @@ mkdir -p /src/openssl && \
/build/build_openssl.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/openssl

cd ./buildscripts/
cp -v download/download_libcurl.sh /build/download/download_libcurl.sh
cp -v build_libcurl_windows.sh /build/build_libcurl_windows.sh

Expand All @@ -80,6 +85,7 @@ mkdir -p /src/curl && \
/build/build_libcurl_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/curl

cd ./buildscripts/
cp -v download/download_qt.sh /build/download/download_qt.sh
cp -v build_qt_windows_download_only.sh /build/build_qt_windows_download_only.sh

Expand All @@ -89,6 +95,7 @@ mkdir -p /src/qt && \
/build/build_qt_windows_download_only.sh --arch ${SCRIPT_ARCH}
df -h

cd ./buildscripts/
cp -v build_qt_windows.sh /build/build_qt_windows.sh

mkdir -p /src/qt && \
Expand All @@ -97,6 +104,7 @@ mkdir -p /src/qt && \
rm -fr /src/qt
df -h

cd ./buildscripts/
cp -v download/download_sqlcipher.sh /build/download/download_sqlcipher.sh
cp -v build_sqlcipher.sh /build/build_sqlcipher.sh

Expand All @@ -105,15 +113,18 @@ mkdir -p /src/sqlcipher && \
/build/build_sqlcipher.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/sqlcipher

cd ./buildscripts/
cp -v download/download_ffmpeg.sh /build/download/download_ffmpeg.sh
cp -v build_ffmpeg.sh /build/build_ffmpeg.sh
mkdir -p /src/ffmpeg && \
cd /src/ffmpeg && \
/build/build_ffmpeg.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/ffmpeg

cd ./buildscripts/
cp -v toolchain/windows-${ARCH}-toolchain.cmake /build/windows-toolchain.cmake

cd ./buildscripts/
cp -v download/download_openal.sh /build/download/download_openal.sh
cp -v build_openal.sh /build/build_openal.sh
cp -v patches/openal-cmake-3-11.patch /build/patches/openal-cmake-3-11.patch
Expand All @@ -123,41 +134,47 @@ mkdir -p /src/openal && \
/build/build_openal.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/openal

cd ./buildscripts/
cp -v download/download_qrencode.sh /build/download/download_qrencode.sh
cp -v build_qrencode.sh /build/build_qrencode.sh
mkdir -p /src/qrencode && \
cd /src/qrencode && \
/build/build_qrencode.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/qrencode

cd ./buildscripts/
cp -v download/download_libexif.sh /build/download/download_libexif.sh
cp -v build_libexif.sh /build/build_libexif.sh
mkdir -p /src/exif && \
cd /src/exif && \
/build/build_libexif.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/exif

cd ./buildscripts/
cp -v download/download_snore.sh /build/download/download_snore.sh
cp -v build_snore_windows.sh /build/build_snore_windows.sh
mkdir -p /src/snore && \
cd /src/snore && \
/build/build_snore_windows.sh && \
rm -fr /src/snore

cd ./buildscripts/
cp -v download/download_opus.sh /build/download/download_opus.sh
cp -v build_opus.sh /build/build_opus.sh
mkdir -p /src/opus && \
cd /src/opus && \
/build/build_opus.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/opus

cd ./buildscripts/
cp -v download/download_sodium.sh /build/download/download_sodium.sh
cp -v build_sodium.sh /build/build_sodium.sh
mkdir -p /src/sodium && \
cd /src/sodium && \
/build/build_sodium.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/sodium

cd ./buildscripts/
cp -v download/download_vpx.sh /build/download/download_vpx.sh
cp -v build_vpx.sh /build/build_vpx.sh
cp -v patches/vpx-windows.patch /build/patches/vpx-windows.patch
Expand All @@ -166,20 +183,23 @@ mkdir -p /src/vpx && \
/build/build_vpx.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/vpx

cd ./buildscripts/
cp -v download/download_mingw_ldd.sh /build/download/download_mingw_ldd.sh
cp -v build_mingw_ldd_windows.sh /build/build_mingw_ldd_windows.sh
mkdir -p /src/mingw_ldd && \
cd /src/mingw_ldd && \
/build/build_mingw_ldd_windows.sh && \
rm -fr /src/mingw_ldd

cd ./buildscripts/
cp -v download/download_nsisshellexecasuser.sh /build/download/download_nsisshellexecasuser.sh
cp -v build_nsisshellexecasuser_windows.sh /build/build_nsisshellexecasuser_windows.sh
mkdir -p /src/nsisshellexecasuser && \
cd /src/nsisshellexecasuser && \
/build/build_nsisshellexecasuser_windows.sh && \
rm -fr /src/nsisshellexecasuser

cd ./buildscripts/
cp -v download/download_toxcore.sh /build/download/download_toxcore.sh
cp -v download/download_toxext.sh /build/download/download_toxext.sh
cp -v download/download_toxext_messages.sh /build/download/download_toxext_messages.sh
Expand All @@ -190,7 +210,7 @@ mkdir -p /src/tox && \
/build/build_toxcore.sh && \
rm -fr /src/tox

mkdir /export && \
mkdir -p /export && \
cp /usr/${ARCH}-w64-mingw32/lib/libwinpthread-1.dll /export/ && \
cp /usr/lib/gcc/${ARCH}-w64-mingw32/10-posix/libgcc_s_*-1.dll /export && \
cp /usr/lib/gcc/${ARCH}-w64-mingw32/10-posix/libstdc++-6.dll /export && \
Expand Down Expand Up @@ -226,6 +246,7 @@ mkdir /export && \

mkdir -p /debug_export

cd ./buildscripts/
cp -v download/download_mingw_debug_scripts.sh /build/download/download_mingw_debug_scripts.sh
mkdir -p /src/mingw-debug-scripts && \
cd /src/mingw-debug-scripts && \
Expand All @@ -234,20 +255,23 @@ mkdir -p /src/mingw-debug-scripts && \
cp -a debug-*.bat /debug_export && \
rm -fr /src/mingw-debug-scripts

cd ./buildscripts/
cp -v download/download_gmp.sh /build/download/download_gmp.sh
cp -v build_gmp_windows.sh /build/build_gmp_windows.sh
mkdir -p /src/gmp && \
cd /src/gmp && \
/build/build_gmp_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/gmp

cd ./buildscripts/
cp -v download/download_libexpat.sh /build/download/download_libexpat.sh
cp -v build_libexpat_windows.sh /build/build_libexpat_windows.sh
mkdir -p /src/libexpat && \
cd /src/libexpat && \
/build/build_libexpat_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/libexpat

cd ./buildscripts/
cp -v download/download_gdb.sh /build/download/download_gdb.sh
cp -v build_gdb_windows.sh /build/build_gdb_windows.sh
mkdir -p /src/gdb && \
Expand Down

0 comments on commit 8cf5e40

Please sign in to comment.