mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
meson: PNG support has not been an optional feature since forever!
Not sure why this was set as optional in the meson build, as it was already mandatory in the autotools build back then (and for as long as I remember).
This commit is contained in:
@@ -654,13 +654,8 @@ else
|
||||
endif
|
||||
|
||||
libpng_minver = '1.6.25'
|
||||
libpng = dependency('libpng', version: '>='+libpng_minver,
|
||||
required: get_option('png')
|
||||
)
|
||||
if libpng.found()
|
||||
MIMEtypes += [ 'image/png', 'image/x-icon']
|
||||
endif
|
||||
|
||||
libpng = dependency('libpng', version: '>='+libpng_minver)
|
||||
MIMEtypes += [ 'image/png', 'image/x-icon']
|
||||
|
||||
libmng = cc.find_library('mng', required: get_option('mng'))
|
||||
|
||||
|
@@ -43,7 +43,6 @@ option('jpeg2000', type: 'feature', value: 'auto', description: 'Jpeg-2
|
||||
option('jpeg-xl', type: 'feature', value: 'auto', description: 'JPEG XL support')
|
||||
option('mng', type: 'feature', value: 'auto', description: 'Mng support')
|
||||
option('openexr', type: 'feature', value: 'auto', description: 'Openexr support')
|
||||
option('png', type: 'feature', value: 'auto', description: 'PNG support')
|
||||
option('print', type: 'boolean', value: true, description: 'Print support')
|
||||
option('webkit-unmaintained',type: 'boolean', value: false, description: 'Help browser and webpage plugins (unmaintained)')
|
||||
option('webp', type: 'feature', value: 'auto', description: 'Webp support')
|
||||
|
Reference in New Issue
Block a user