Commit e69fde73 authored by Mladen Milinkovic's avatar Mladen Milinkovic
Browse files

Fixed win32 build script

parent 7f28c7d3
......@@ -13,22 +13,20 @@ sudo pacman -S --noconfirm --needed \
mingw-w64-ffmpeg mingw-w64-qt5 mingw-w64-kf5 nsis \
mingw-w64-kinit mingw-w64-pango mingw-w64-libvisual \
mingw-w64-aspell mingw-w64-hunspell mingw-w64-icu \
kconfig kcoreaddons breeze-icons icu \
mingw-w64-mpv \
mingw-w64-gst-libav mingw-w64-gst-plugins-good
mingw-w64-libidn2 mingw-w64-openal \
kconfig kcoreaddons breeze-icons icu
sudo pacman -Sdd --noconfirm --needed kauth kbookmarks kcodecs kcompletion \
kconfig kconfigwidgets kcoreaddons kglobalaccel kitemviews kjobwidgets \
knotifications kross ktextwidgets kwidgetsaddons kwindowsystem kxmlgui \
solid sonnet
cd build
i686-w64-mingw32-cmake \
i686-w64-mingw32-cmake -B build \
-DKF5_HOST_TOOLING=/usr/lib/cmake \
-DKCONFIGCOMPILER_PATH=/usr/lib/cmake/KF5Config/KF5ConfigCompilerTargets.cmake \
-DTARGETSFILE=/usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsToolingTargets.cmake \
make -j$(nproc)
make DESTDIR="$PWD/nsis" nsis
cmake --build build -j$(nproc)
DESTDIR="$PWD/build/nsis" cmake --build build --target nsis
\ No newline at end of file
......@@ -34,18 +34,12 @@ deps=(
# GStreamer is not playing videos
"/usr/$_arch/lib/gstreamer-1.0/"*.exe # remove this
"/usr/$_arch/bin/"*gst*.exe # remove this
"/usr/$_arch/bin/mpv.exe" "/usr/$_arch/bin/" # remove this
`"$sdir/" "$_arch" "$_destdir/bin/subtitlecomposer.exe" "$_destdir/lib/subtitlecomposer"/*.dll "${deps[@]}"`
`"$sdir/" "$_arch" "$_destdir/bin/subtitlecomposer.exe" "${deps[@]}"`
for dll in "${dlls[@]}"; do
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