meson: update zlib wrapper

This commit is contained in:
Myaamori 2020-10-27 17:02:31 +00:00 committed by Ryan Lucia
parent 2e613f5476
commit f6b74331da
2 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,6 @@
project('Aegisub', ['c', 'cpp'],
license: 'BSD-3-Clause',
meson_version: '>=0.51.0',
meson_version: '>=0.55.0',
default_options: ['c_std=c11', 'cpp_std=c++11', 'b_lto=true'],
version: '3.2.2')
@ -69,7 +69,7 @@ if host_machine.system() == 'windows'
conf.set('BOOST_USE_WINDOWS_H', '1')
endif
deps += dependency('zlib', fallback: ['zlib', 'zlib_dep'])
deps += dependency('zlib')
wx_dep = dependency('wxWidgets', version: '>=3.0.0',
required: cxx.get_id() != 'msvc',

View file

@ -1,10 +1,12 @@
[wrap-file]
directory = zlib-1.2.11
source_url = http://zlib.net/fossils/zlib-1.2.11.tar.gz
source_filename = zlib-1.2.11.tar.gz
source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
patch_url = https://wrapdb.mesonbuild.com/v1/projects/zlib/1.2.11/5/get_zip
patch_filename = zlib-1.2.11-5-wrap.zip
patch_hash = 728c8e24acbc2e6682fbd950fec39e2fc77528af361adb87259f8a8511434004
[provide]
zlib = zlib_dep
patch_url = https://wrapdb.mesonbuild.com/v1/projects/zlib/1.2.11/4/get_zip
patch_filename = zlib-1.2.11-4-wrap.zip
patch_hash = f733976fbfc59e0bcde01aa9469a24eeb16faf0a4280b17e9eaa60a301d75657