1 # This file is a part of Geeqie project (https://www.geeqie.org/).
2 # Copyright (C) 2008 - 2022 The Geeqie Team
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 main_sources = files('advanced-exif.cc',
39 'cellrenderericon.cc',
94 'image-load-collection.cc',
95 'image-load-collection.h',
100 'image-load-djvu.cc',
102 'image-load-external.cc',
103 'image-load-external.h',
104 'image-load-ffmpegthumbnailer.cc',
105 'image-load-ffmpegthumbnailer.h',
109 'image-load-heif.cc',
113 'image-load-jpeg.cc',
115 'image-load-jpegxl.cc',
116 'image-load-jpegxl.h',
117 'image-load-libraw.cc',
118 'image-load-libraw.h',
123 'image-load-svgz.cc',
125 'image-load-tiff.cc',
127 'image-load-webp.cc',
129 'image-load-zxscr.cc',
130 'image-load-zxscr.h',
138 'keymap-template.cc',
166 'pixbuf-renderer.cc',
237 project_sources += main_sources
245 gq_marshal = gnome.genmarshal('gq-marshal', prefix : 'gq_marshal', sources : 'gq-marshal.list')
247 project_sources += gq_marshal[1]
249 gq_marshal_pragma_sh = find_program('gq-marshal-pragma.sh', dirs : scriptsdir)
251 gq_marshal_pragma = custom_target('gq-marshal-pragma',
252 input : gq_marshal[0],
253 output : 'gq-marshal-pragma.c',
254 command : [gq_marshal_pragma_sh, '@INPUT@', '@OUTPUT@'])
256 project_sources += gq_marshal_pragma
258 if conf_data.has('HAVE_LCMS')
259 xxd_sh = find_program('generate-ClayRGB1998-icc-h.sh', dirs : join_paths(meson.project_source_root(), 'scripts'))
261 ClayRGB1998_icc_h = custom_target('ClayRGB1998',
262 input: 'ClayRGB1998.icc',
263 output : 'ClayRGB1998_icc.h',
264 command : [xxd_sh, '@INPUT@', '@OUTPUT@'])
266 project_sources += ClayRGB1998_icc_h
269 geeqie_exe = executable('geeqie', project_sources,
284 libffmpegthumbnailer_dep,
297 include_directories : [configuration_inc], install : true)