mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Make build take less than 6 hrs
This commit is contained in:
@@ -197,71 +197,19 @@ RUN cd $MXE_PATH \
|
||||
&& sudo make MXE_TARGETS=$MXE_TOOLCHAIN MXE_PLUGIN_DIRS=$MXE_PLUGINS \
|
||||
cc \
|
||||
qca \
|
||||
taglib \
|
||||
qtsparkle \
|
||||
qtkeychain \
|
||||
nsis \
|
||||
mingw-w64 \
|
||||
libwebsockets \
|
||||
liblastfm \
|
||||
libgsasl \
|
||||
qtwebkit \
|
||||
sparsehash
|
||||
|
||||
#RUN cd $MXE_PATH \
|
||||
# && sudo make MXE_TARGETS=$MXE_TOOLCHAIN MXE_PLUGIN_DIRS=$MXE_PLUGINS \
|
||||
# qtwebkit \
|
||||
# sparsehash
|
||||
|
||||
ENV PATH=/opt/mxe/usr/bin:$PATH
|
||||
RUN sudo chmod -R 777 /opt/mxe/.ccache
|
||||
|
||||
RUN git clone --depth 1 https://anongit.kde.org/extra-cmake-modules.git --branch master --single-branch ecm \
|
||||
&& mkdir ecm/build && cd ecm/build \
|
||||
&& $MXE_CMAKE -DCMAKE_BUILD_TYPE=Release .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r ecm
|
||||
|
||||
RUN git clone --depth 1 https://github.com/zaphoyd/websocketpp.git --branch master --single-branch websocketpp \
|
||||
&& mkdir websocketpp/build && cd websocketpp/build \
|
||||
&& $MXE_CMAKE .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r websocketpp
|
||||
|
||||
RUN git clone --depth 1 https://github.com/frankosterfeld/qtkeychain.git --branch master --single-branch qtkeychain \
|
||||
&& mkdir qtkeychain/build && cd qtkeychain/build \
|
||||
&& $MXE_CMAKE .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r qtkeychain
|
||||
|
||||
RUN git clone --depth 1 https://github.com/taglib/taglib.git --branch master --single-branch taglib \
|
||||
&& mkdir taglib/build && cd taglib/build \
|
||||
&& $MXE_CMAKE -DCMAKE_INSTALL_PREFIX=/opt/mxe/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=ON .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r taglib
|
||||
|
||||
RUN git clone --depth 1 https://github.com/KDE/attica.git --branch master --single-branch attica \
|
||||
&& mkdir attica/build && cd attica/build \
|
||||
&& $MXE_CMAKE -DCMAKE_BUILD_TYPE=Release .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r attica
|
||||
|
||||
RUN git clone --depth 1 https://github.com/stachenov/quazip.git --branch master --single-branch quazip \
|
||||
&& mkdir quazip/build && cd quazip/build \
|
||||
&& $MXE_CMAKE -DCMAKE_BUILD_TYPE=Release .. \
|
||||
&& $MXE_CMAKE --build . -j 16 --target install \
|
||||
&& cd ../.. \
|
||||
&& rm -r quazip
|
||||
|
||||
#RUN git clone --depth 1 https://github.com/euroelessar/jreen.git --branch master --single-branch jreen \
|
||||
# && mkdir jreen/build && cd jreen/build \
|
||||
# && i686-w64-mingw32.static-cmake -DCMAKE_BUILD_TYPE=Release .. \
|
||||
# && i686-w64-mingw32.static-cmake --build . -j 16 --target install \
|
||||
# && cd ../.. \
|
||||
# && rm -r jreen
|
||||
|
||||
# Language
|
||||
ENV LANG=en_US.UTF-8
|
||||
RUN echo "$LANG UTF-8" > /etc/locale.gen && locale-gen $LANG && update-locale LANG=$LANG
|
||||
|
Reference in New Issue
Block a user