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',
40 'cellrenderericon.cc',
95 'image-load-collection.cc',
96 'image-load-collection.h',
101 'image-load-djvu.cc',
103 'image-load-external.cc',
104 'image-load-external.h',
105 'image-load-ffmpegthumbnailer.cc',
106 'image-load-ffmpegthumbnailer.h',
110 'image-load-heif.cc',
114 'image-load-jpeg.cc',
116 'image-load-jpegxl.cc',
117 'image-load-jpegxl.h',
118 'image-load-libraw.cc',
119 'image-load-libraw.h',
124 'image-load-svgz.cc',
126 'image-load-tiff.cc',
128 'image-load-webp.cc',
130 'image-load-zxscr.cc',
131 'image-load-zxscr.h',
139 'keymap-template.cc',
168 'pixbuf-renderer.cc',
235 project_sources += main_sources
240 subdir('third-party')
244 gq_marshal = gnome.genmarshal('gq-marshal', prefix : 'gq_marshal', sources : 'gq-marshal.list')
246 project_sources += gq_marshal[1]
248 gq_marshal_pragma_sh = find_program('gq-marshal-pragma.sh', dirs : scriptsdir)
250 gq_marshal_pragma = custom_target('gq-marshal-pragma',
251 input : gq_marshal[0],
252 output : 'gq-marshal-pragma.c',
253 command : [gq_marshal_pragma_sh, '@INPUT@', '@OUTPUT@'])
255 project_sources += gq_marshal_pragma
257 if conf_data.get('HAVE_LCMS', 0) == 1
258 xxd_sh = find_program('generate-ClayRGB1998-icc-h.sh', dirs : join_paths(meson.project_source_root(), 'scripts'))
260 ClayRGB1998_icc_h = custom_target('ClayRGB1998',
261 input: 'ClayRGB1998.icc',
262 output : 'ClayRGB1998_icc.h',
263 command : [xxd_sh, '@INPUT@', '@OUTPUT@'])
265 project_sources += ClayRGB1998_icc_h
268 geeqie_exe = executable('geeqie', project_sources,
283 libffmpegthumbnailer_dep,
296 include_directories : [configuration_inc], install : true)