Browse Source

add windows prepare target

use_builds_script
Alexandros Theodotou 3 years ago
parent
commit
61032cf5f0
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      windows-msys/make_dist_dir.sh.in
  2. 12
      windows-msys/meson.build

2
windows-msys/make_dist_dir.sh.in

@ -9,10 +9,10 @@ private_dir="$4" @@ -9,10 +9,10 @@ private_dir="$4"
copy_dll_deps_sh="$5"
rcedit_x64_exe="$6"
dll_dir="$7"
manuals_zip="$8"
dash_trial="@DASH_TRIAL@"
zrythm_pkg_ver="@ZRYTHM_PKG_VERSION@"
manuals_zip="@MANUALS_ZIP_FILE@"
zrythm_inner_dir_name="@ZRYTHM_INNER_DIR_NAME@"
breeze_dark_path="@BREEZE_DARK_PATH@"
zrythm_src_tarball_filename="@ZRYTHM_SOURCE_TARBALL_FILENAME@"

12
windows-msys/meson.build

@ -30,8 +30,6 @@ windows_msys_conf.set ( @@ -30,8 +30,6 @@ windows_msys_conf.set (
'CARLA_GIT_VER', carla_git_ver)
windows_msys_conf.set (
'ZRYTHM_INNER_DIR_NAME', zrythm_inner_dir_name)
windows_msys_conf.set (
'MANUALS_ZIP_FILE', get_option ('manuals-zip-file'))
windows_msys_conf.set (
'BREEZE_DARK_PATH', breeze_icons.full_path ())
windows_msys_conf.set (
@ -342,6 +340,11 @@ dll_dir = custom_target ( @@ -342,6 +340,11 @@ dll_dir = custom_target (
install: false,
)
run_target (
'windows-msys-prepare',
command: [ 'echo', 'done' ],
depends: dll_dir)
installer_dist_dir = custom_target (
'windows-installer-dist-dir',
output: 'installer-dist',
@ -349,14 +352,15 @@ installer_dist_dir = custom_target ( @@ -349,14 +352,15 @@ installer_dist_dir = custom_target (
make_dist_dir, zrythm_src_tarball,
'copy-dll-deps.sh',
rcedit_x64_exe, dll_dir,
get_option ('manuals-zip-file')
],
command: [
bash, '-c',
'@INPUT0@ "$1" "$2" "$3" "$4" "$5" "$6" "$7"',
'@INPUT0@ "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8"',
'_ignored',
'@OUTPUT@', '@INPUT1@', chroot_dir,
'@PRIVATE_DIR@', '@INPUT2@', '@INPUT3@',
'@INPUT4@',
'@INPUT4@', '@INPUT5@',
],
console: true,
install: false,

Loading…
Cancel
Save