diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-09-10 12:44:43 -0400 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2021-09-17 00:25:22 +0200 |
commit | f51f7f85ebd32528614dc4442afc98d5384c06fb (patch) | |
tree | bec53db1c5b887e26914052dbaeaa53e0ea9e41e /subprojects | |
parent | 66031fd00b9a4968e482ea9fdf2edc17d9e30199 (diff) | |
download | gtk+-f51f7f85ebd32528614dc4442afc98d5384c06fb.tar.gz |
Add code to load and save pngs
Using libpng instead of the lowest-common-denominator
gdk-pixbuf loader. This will allow us to load >8bit data,
and apply gamma and color correction in the future.
For now, this still just provides RGBA8 data.
As a consequence, we are now linking against libpng.
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/libpng.wrap | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/subprojects/libpng.wrap b/subprojects/libpng.wrap new file mode 100644 index 0000000000..9d6c6b3078 --- /dev/null +++ b/subprojects/libpng.wrap @@ -0,0 +1,12 @@ +[wrap-file] +directory = libpng-1.6.37 +source_url = https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz +source_filename = libpng-1.6.37.tar.gz +source_hash = ca74a0dace179a8422187671aee97dd3892b53e168627145271cad5b5ac81307 +patch_url = https://wrapdb.mesonbuild.com/v2/libpng_1.6.37-3/get_patch +patch_filename = libpng-1.6.37-3-wrap.zip +patch_hash = 6c9f32fd9150b3a96ab89be52af664e32207e10aa9f5fb9aa015989ee2dd7100 + +[provide] +libpng = libpng_dep + |