Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Cleanup

Manav Rathicd93cf1be693
diff --git a/desktop/scripts/vips/README.md b/desktop/scripts/vips/README.md
index 573bde372f..cc306d2d19 100644
--- a/desktop/scripts/vips/README.md
+++ b/desktop/scripts/vips/README.md
@@ -46,16 +46,18 @@ For Windows,
```sh
git clone --depth 1 https://github.com/libvips/build-win64-mxe
cd build-win64-mxe
-# For M1 macOS
-# docker build --platform=linux/amd64 -t libvips-build-win-mxe container
docker build -t libvips-build-win-mxe container
-docker run --platform=linux/amd64 -it --rm -e VERSION_VIPS=8.16.0 -v $(pwd)/build:/data --entrypoint /bin/bash libvips-build-win-mxe
-# Then in the container
-$ FFI_COMPAT=false JPEG_IMPL=mozjpeg DISP=false HEVC=true DEBUG=false LLVM=false ZLIB_NG=true /data/build.sh all x86_64-w64-mingw32.static
-$ FFI_COMPAT=false JPEG_IMPL=mozjpeg DISP=false HEVC=true DEBUG=false LLVM=true ZLIB_NG=true /data/build.sh all aarch64-w64-mingw32.static
+docker run --rm -e VERSION_VIPS=8.16.0 -e FFI_COMPAT=false -e JPEG_IMPL=mozjpeg -e DISP=false -e HEVC=true -e DEBUG=false -e LLVM=true -e ZLIB_NG=true -v $(pwd)/build:/data libvips-build-win-mxe all x86_64-w64-mingw32.static
+docker run --rm -e VERSION_VIPS=8.16.0 -e FFI_COMPAT=false -e JPEG_IMPL=mozjpeg -e DISP=false -e HEVC=true -e DEBUG=false -e LLVM=true -e ZLIB_NG=true -v $(pwd)/build:/data libvips-build-win-mxe all aarch64-w64-mingw32.static
```
-(ditto `win-x64`)
+when testing, the following might be useful
+
+```sh
+docker run --rm -e VERSION_VIPS=8.16.0 -e FFI_COMPAT=false -e JPEG_IMPL=mozjpeg -e DISP=false -e HEVC=true -e DEBUG=false -e LLVM=true -e ZLIB_NG=true -v $(pwd)/build:/data --entrypoint /bin/bash libvips-build-win-mxe
+# Then in the container
+/data/build.sh all x86_64-w64-mingw32.static
+```
## Notes 2