Commit e6b72379 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

medialibrary-win: Use vlc 4.0

parent d1173d53
...@@ -10,18 +10,21 @@ RUN TARGET_TRIPLE=i686-w64-mingw32 \ ...@@ -10,18 +10,21 @@ RUN TARGET_TRIPLE=i686-w64-mingw32 \
RAPIDJSON_VERSION=1.0.2 \ RAPIDJSON_VERSION=1.0.2 \
RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \ RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \
PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \ PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \
mkdir /build && cd /build && \ mkdir -p /build && cd /build && \
git clone --depth=1 https://git.videolan.org/git/vlc/vlc-3.0.git && \ git clone --depth=1 https://git.videolan.org/git/vlc.git && \
cd vlc-3.0 && \ cd vlc && \
cd extras/tools && ./bootstrap && make -j`nproc` && \ cd extras/tools && ./bootstrap && make -j`nproc` && \
export PATH=`pwd`/build/bin:$PATH && cd ../../ && \ export PATH=`pwd`/build/bin:$PATH && cd ../../ && \
cd contrib && mkdir win32 && cd win32 && \ cd contrib && mkdir win32 && cd win32 && \
../bootstrap --host=$TARGET_TRIPLE --disable-qt --disable-skins2 \ ../bootstrap --host=$TARGET_TRIPLE --disable-qt --disable-skins2 \
--disable-lua --disable-protobuf --disable-gettext && make -j`nproc` && \ --disable-lua --disable-protobuf --disable-gettext \
cd /build/vlc-3.0 && ./bootstrap && mkdir build && cd build && \ --disable-qtdeclarative --disable-qtgraphicaleffects --disable-qtquickcontrols \
--disable-qtquickcontrols2 --disable-qtsvg && \
make -j`nproc` && \
cd /build/vlc && ./bootstrap && mkdir build && cd build && \
../configure --host=$TARGET_TRIPLE \ ../configure --host=$TARGET_TRIPLE \
--disable-lua --disable-qt --disable-skins2 \ --disable-lua --disable-qt --disable-skins2 \
--disable-nls \ --disable-nls --disable-aom \
--prefix=/prefix && \ --prefix=/prefix && \
make -j`nproc` && make install && \ make -j`nproc` && make install && \
mkdir -p /prefix/dll && \ mkdir -p /prefix/dll && \
......
...@@ -11,17 +11,20 @@ RUN TARGET_TRIPLE=x86_64-w64-mingw32 \ ...@@ -11,17 +11,20 @@ RUN TARGET_TRIPLE=x86_64-w64-mingw32 \
RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \ RAPIDJSON_SHA256=c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 \
PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \ PATH=/opt/gcc-$TARGET_TRIPLE/bin:$PATH && \
mkdir /build && cd /build && \ mkdir /build && cd /build && \
git clone --depth=1 https://git.videolan.org/git/vlc/vlc-3.0.git && \ git clone --depth=1 https://git.videolan.org/git/vlc.git && \
cd vlc-3.0 && \ cd vlc && \
cd extras/tools && ./bootstrap && make -j`nproc` && \ cd extras/tools && ./bootstrap && make -j`nproc` && \
export PATH=`pwd`/build/bin:$PATH && cd ../../ && \ export PATH=`pwd`/build/bin:$PATH && cd ../../ && \
cd contrib && mkdir win64 && cd win64 && \ cd contrib && mkdir win64 && cd win64 && \
../bootstrap --host=$TARGET_TRIPLE --disable-qt --disable-skins2 \ ../bootstrap --host=$TARGET_TRIPLE --disable-qt --disable-skins2 \
--disable-lua --disable-protobuf --disable-gettext && make -j`nproc` && \ --disable-lua --disable-protobuf --disable-gettext \
cd /build/vlc-3.0 && ./bootstrap && mkdir build && cd build && \ --disable-qtdeclarative --disable-qtgraphicaleffects --disable-qtquickcontrols \
--disable-qtquickcontrols2 --disable-qtsvg && \
make -j`nproc` && \
cd /build/vlc && ./bootstrap && mkdir build && cd build && \
../configure --host=$TARGET_TRIPLE \ ../configure --host=$TARGET_TRIPLE \
--disable-lua --disable-qt --disable-skins2 \ --disable-lua --disable-qt --disable-skins2 \
--disable-nls \ --disable-nls --disable-aom \
--prefix=/prefix && \ --prefix=/prefix && \
make -j`nproc` && make install && \ make -j`nproc` && make install && \
mkdir -p /prefix/dll && \ mkdir -p /prefix/dll && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment