--- geeqie-git-c90eebc2d.old/meson.build +++ geeqie-git-c90eebc2d/meson.build @@ -463,7 +463,7 @@ req_version = '>=1.6' option = get_option('spell') if not option.disabled() - gspell_dep = dependency('gspell-1', version : req_version, required: get_option('spell')) + gspell_dep = cc.find_library('gspell-1', dirs: [ '__META_PRODTREE__/gspell/lib' ], required: get_option('spell')) if gspell_dep.found() conf_data.set('HAVE_SPELL', 1) summary({'spell' : ['spelling checks enabled', true]}, section : 'Configuration', bool_yn : true) @@ -485,7 +485,8 @@ tiff_dep = [] option = get_option('tiff') if not option.disabled() - tiff_dep = dependency('libtiff-4', required: get_option('tiff')) + tiff_dep = cc.find_library('libtiff', dirs: [ '__META_PRODTREE__/tiff/lib' ], required: get_option('tiff')) + if tiff_dep.found() if cc.has_function('TIFFClientOpen', dependencies : tiff_dep) conf_data.set('HAVE_TIFF', 1)