From 6f8eb391aa1a90ebba04db5c79fdeee7a2696f0e Mon Sep 17 00:00:00 2001 From: shinchiro Date: Sat, 28 Sep 2024 08:44:57 +0800 Subject: [PATCH] mpv-release: fix things --- packages/mpv-release.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/mpv-release.cmake b/packages/mpv-release.cmake index 9a7d1a780..60c1160be 100644 --- a/packages/mpv-release.cmake +++ b/packages/mpv-release.cmake @@ -66,6 +66,7 @@ ExternalProject_Add(mpv-release -Dvulkan=enabled -Dvapoursynth=enabled ${mpv_gl} + -Dc_args='-Wno-error=int-conversion' BUILD_COMMAND ${EXEC} LTO_JOB=1 ninja -C INSTALL_COMMAND "" LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1 @@ -74,7 +75,7 @@ ExternalProject_Add(mpv-release ExternalProject_Add_Step(mpv-release copy-versionfile DEPENDEES download DEPENDERS configure - COMMAND bash -c "cp VERSION /VERSION" + COMMAND bash -c "cp MPV_VERSION /MPV_VERSION" WORKING_DIRECTORY LOG 1 ) @@ -98,7 +99,7 @@ set(RENAME ${CMAKE_CURRENT_BINARY_DIR}/mpv-prefix/src/rename-stable.sh) file(WRITE ${RENAME} "#!/bin/bash cd $1 -TAG=$(cat VERSION) +TAG=$(cat MPV_VERSION) mv $2 $3/mpv-\${TAG}-$4") ExternalProject_Add_Step(mpv-release copy-package-dir