mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
meson: bump libmypaint minimum dependency to version 1.5.
The MyPaintSurface2 interface got added with libmypaint 1.5.0. Also mypaint-brushes 2.0.2 release notes explicitly say: > The v2.0.x brushes (in general) require libmypaint >= 1.5 to work correctly / not crash. (cf. https://github.com/mypaint/mypaint-brushes/releases/tag/v2.0.2) Since Debian bookworm ships with libmypaint 1.5.1, this is fine to bump this requirement. Note: there is still some discrepancy lying around with Windows x86 (32-bit) still using mypaint-brushes-1.0 but apparently these older brushes still work fine with the new API, and Alx will ask the MSYS2 project if we can have a mypaint-brushes-2.0 package for x86 too.
This commit is contained in:
14
meson.build
14
meson.build
@@ -442,23 +442,13 @@ json_glib_minver = '1.2.6'
|
||||
json_glib = dependency('json-glib-1.0', version: '>='+json_glib_minver)
|
||||
lcms_minver = '2.8'
|
||||
lcms = dependency('lcms2', version: '>='+lcms_minver)
|
||||
libmypaint_minver = '1.3.0'
|
||||
libmypaint_minver = '1.5.0'
|
||||
libmypaint = dependency('libmypaint', version: '>='+libmypaint_minver)
|
||||
mypaint_brushes_n = 'mypaint-brushes-2.0'
|
||||
if platform_windows and host_cpu_family == 'x86'
|
||||
mypaint_brushes_n = 'mypaint-brushes-1.0'
|
||||
endif
|
||||
mypaint_brushes = dependency(mypaint_brushes_n,version: '>='+libmypaint_minver)
|
||||
if not libmypaint.version().version_compare('>=1.4.0')
|
||||
libmypaint_warning='''
|
||||
|
||||
libmypaint lower than version 1.4.0 is known to crash when
|
||||
parsing MyPaint 2 brushes. Please update.
|
||||
'''
|
||||
warning(libmypaint_warning)
|
||||
warnings += libmypaint_warning
|
||||
endif
|
||||
|
||||
mypaint_brushes = dependency(mypaint_brushes_n)
|
||||
|
||||
if relocatable_bundle
|
||||
mypaint_brushes_dir = '${gimp_installation_dir}'\
|
||||
|
Reference in New Issue
Block a user