From 27ff90d7b8c65017334f15f45b5552d4f6fdb128 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 16 Dec 2022 22:08:33 +0200 Subject: [PATCH] [meson] Update freetype2 wrap Use the one from WrapDB and add zlib wrap because current FreeType tarball misses it. --- subprojects/freetype2.wrap | 10 ++++++---- subprojects/zlib.wrap | 12 ++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 subprojects/zlib.wrap diff --git a/subprojects/freetype2.wrap b/subprojects/freetype2.wrap index 973e7bd51..1ff89ecd1 100644 --- a/subprojects/freetype2.wrap +++ b/subprojects/freetype2.wrap @@ -1,7 +1,9 @@ -[wrap-git] -directory=freetype -url=https://gitlab.freedesktop.org/freetype/freetype.git -revision=VER-2-12-1 +[wrap-file] +directory = freetype-2.12.1 +source_url = https://download.savannah.gnu.org/releases/freetype/freetype-2.12.1.tar.xz +source_filename = freetype-2.12.1.tar.xz +source_hash = 4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f +wrapdb_version = 2.12.1-2 [provide] freetype2 = freetype_dep diff --git a/subprojects/zlib.wrap b/subprojects/zlib.wrap new file mode 100644 index 000000000..23af071a2 --- /dev/null +++ b/subprojects/zlib.wrap @@ -0,0 +1,12 @@ +[wrap-file] +directory = zlib-1.2.13 +source_url = http://zlib.net/fossils/zlib-1.2.13.tar.gz +source_filename = zlib-1.2.13.tar.gz +source_hash = b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 +patch_filename = zlib_1.2.13-2_patch.zip +patch_url = https://wrapdb.mesonbuild.com/v2/zlib_1.2.13-2/get_patch +patch_hash = a7abea3ad65dc2c291ad5fbbf5355d0585a7f7b8c935d4a74335b8fe18684506 +wrapdb_version = 1.2.13-2 + +[provide] +zlib = zlib_dep