Improve MSI package names
All checks were successful
Alpine 3.20 Success
Arch Linux Success
Arch Linux AUR Success
Debian Bookworm Success
Fedora 39 Success
OpenBSD 7.5 Success
openSUSE 15.5 Success

This commit is contained in:
Přemysl Eric Janouch 2024-12-23 16:12:25 +01:00
parent 192ffa0de9
commit c221a00c33
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -363,10 +363,12 @@ elif meson.is_cross_build()
'ProjectURL' : application_url, 'ProjectURL' : application_url,
}), }),
) )
msi = meson.project_name() + '-' + meson.project_version() + \
'-' + host_machine.cpu() + '.msi'
custom_target('package', custom_target('package',
output : 'fiv.msi', output : msi,
command : [meson.current_source_dir() / 'msys2-package.sh', command : [meson.current_source_dir() / 'msys2-package.sh',
host_machine.cpu(), 'fiv.msi', wxs], host_machine.cpu(), msi, wxs],
env : ['MESON_BUILD_ROOT=' + meson.current_build_dir(), env : ['MESON_BUILD_ROOT=' + meson.current_build_dir(),
'MESON_SOURCE_ROOT=' + meson.current_source_dir()], 'MESON_SOURCE_ROOT=' + meson.current_source_dir()],
console : true, console : true,