Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
build: mpv-release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind authored Feb 27, 2024
1 parent 05fc9e4 commit d9f3baf
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions packages/mpv-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,17 @@ execute_process(COMMAND ${PREFIX_DIR}/src/get_latest_tag.sh

ExternalProject_Add(mpv-release
DEPENDS
angle-headers
ffmpeg
fribidi
lcms2
libarchive
libass
libdvdnav
libdvdread
libiconv
libjpeg
libpng
luajit
rubberband
uchardet
openal-soft
mujs
vulkan
shaderc
libplacebo
spirv-cross
vapoursynth
libsdl2
URL ${LINK}
SOURCE_DIR ${SOURCE_LOCATION}
CONFIGURE_COMMAND ${EXEC} CONF=1 meson setup <BINARY_DIR> <SOURCE_DIR>
Expand All @@ -50,22 +39,20 @@ ExternalProject_Add(mpv-release
-Doptimization=3
-Db_lto=true
${mpv_lto_mode}
-Dgpl=false
-Db_lto=true
-Db_ndebug=true
-Dlibmpv=true
-Dpdf-build=enabled
-Dlua=enabled
-Dlua=disabled
-Djavascript=enabled
-Dsdl2=enabled
-Dlibarchive=enabled
-Dlibbluray=enabled
-Ddvdnav=enabled
-Duchardet=enabled
-Drubberband=enabled
-Dlcms2=enabled
-Dopenal=enabled
-Dspirv-cross=enabled
-Dvulkan=enabled
-Dvapoursynth=enabled
-Degl-angle=enabled
-Dgl=disabled
-Dspirv-cross=disabled
-Dlibplacebo=enabled
-Degl-angle=disabled
BUILD_COMMAND ${EXEC} LTO_JOB=1 ninja -C <BINARY_DIR>
INSTALL_COMMAND ""
LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1
Expand Down

0 comments on commit d9f3baf

Please sign in to comment.