Skip to content

Commit

Permalink
mpv-release: fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
shinchiro committed Sep 28, 2024
1 parent 37721b8 commit 6f8eb39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/mpv-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 <BINARY_DIR>
INSTALL_COMMAND ""
LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1
Expand All @@ -74,7 +75,7 @@ ExternalProject_Add(mpv-release
ExternalProject_Add_Step(mpv-release copy-versionfile
DEPENDEES download
DEPENDERS configure
COMMAND bash -c "cp VERSION <INSTALL_DIR>/VERSION"
COMMAND bash -c "cp MPV_VERSION <INSTALL_DIR>/MPV_VERSION"
WORKING_DIRECTORY <SOURCE_DIR>
LOG 1
)
Expand All @@ -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
Expand Down

0 comments on commit 6f8eb39

Please sign in to comment.