]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Docker: Windows: add Polyseed
authortobtoht <thotbot@protonmail.com>
Mon, 23 May 2022 22:16:00 +0000 (00:16 +0200)
committertobtoht <thotbot@protonmail.com>
Mon, 23 May 2022 22:16:00 +0000 (00:16 +0200)
Dockerfile.windows

index 2d647ce0fbac96bbb1708b1b7a1ba80bccbc3b0e..89195d539eb22d311ffab3c8bbc971ed410318db 100644 (file)
@@ -165,4 +165,18 @@ RUN git clone -b 0.23.92 --depth 1 --recursive https://github.com/mchehab/zbar.g
     make install && \
     rm -rf $(pwd)
 
+# polyseed: Required for Feather
+RUN git clone https://github.com/tevador/polyseed.git && \
+    cd polyseed && \
+    git reset --hard 4945d8239d6b26dc12723ca2aaa9f8110ceff5af && \
+    mkdir build && \
+    cd build && \
+    cmake -DCMAKE_INSTALL_PREFIX=/depends/x86_64-w64-mingw32 \
+          -DCMAKE_TOOLCHAIN_FILE=/depends/x86_64-w64-mingw32/share/toolchain.cmake \
+          -DBUILD_SHARED_LIBS=OFF \
+          -DCMAKE_PREFIX_PATH=/usr/x86_64-w64-mingw32 .. && \
+    make && \
+    make install && \
+    rm -rf $(pwd)
+
 RUN git config --global --add safe.directory /feather/monero
\ No newline at end of file