meson: bump required version to 1.3.0

Newer meson versions added support for features that mpv has been using
for a long time. Annoying fallbacks were left in place to not break old
versions but ideally everyone should be using the newer build features.
Both the latest ubuntu LTS and debian stable (in backports) have 1.5.0
in their repos, so go ahead and bump the version so we can drop some old
code and let developers use newer meson features if applicable.
This commit is contained in:
Dudemanguy
2024-09-23 18:50:38 -05:00
parent 1c55d600ab
commit b52a67dde2
2 changed files with 5 additions and 27 deletions

View File

@@ -1,11 +0,0 @@
subdir('javascript')
subdir('lua')
# Older versions of meson don't allow multiple build targets with the same name in the same
# file. Generate it here for compatibility reasons for windows.
if win32 and get_option('cplayer') and meson.version().version_compare('< 1.3.0')
wrapper_sources= '../osdep/win32-console-wrapper.c'
executable('mpv', wrapper_sources, c_args: '-municode', link_args: '-municode',
name_suffix: 'com', install: true)
warning('mpv.com executable will be generated in the player subdirectory.')
endif