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',
38 'cellrenderericon.cc',
93 'image-load-collection.cc',
94 'image-load-collection.h',
101 'image-load-external.cc',
102 'image-load-external.h',
103 'image-load-ffmpegthumbnailer.cc',
104 'image-load-ffmpegthumbnailer.h',
108 'image-load-heif.cc',
112 'image-load-jpeg.cc',
114 'image-load-jpegxl.cc',
115 'image-load-jpegxl.h',
116 'image-load-libraw.cc',
117 'image-load-libraw.h',
122 'image-load-svgz.cc',
124 'image-load-tiff.cc',
126 'image-load-webp.cc',
128 'image-load-zxscr.cc',
129 'image-load-zxscr.h',
137 'keymap-template.cc',
166 'pixbuf-renderer.cc',
233 project_sources += main_sources
238 subdir('third-party')
242 gq_marshal = gnome.genmarshal('gq-marshal', prefix : 'gq_marshal', sources : 'gq-marshal.list')
244 project_sources += gq_marshal[1]
246 gq_marshal_pragma_sh = find_program('gq-marshal-pragma.sh', dirs : scriptsdir)
248 gq_marshal_pragma = custom_target('gq-marshal-pragma',
249 input : gq_marshal[0],
250 output : 'gq-marshal-pragma.c',
251 command : [gq_marshal_pragma_sh, '@INPUT@', '@OUTPUT@'])
253 project_sources += gq_marshal_pragma
255 if conf_data.get('HAVE_LCMS', 0) == 1
256 xxd_sh = find_program('generate-ClayRGB1998-icc-h.sh', dirs : join_paths(meson.project_source_root(), 'scripts'))
258 ClayRGB1998_icc_h = custom_target('ClayRGB1998',
259 input: 'ClayRGB1998.icc',
260 output : 'ClayRGB1998_icc.h',
261 command : [xxd_sh, '@INPUT@', '@OUTPUT@'])
263 project_sources += ClayRGB1998_icc_h
266 geeqie_exe = executable('geeqie', project_sources,
281 libffmpegthumbnailer_dep,
294 include_directories : [configuration_inc], install : true)