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-zxscr.cc',
128 'image-load-zxscr.h',
136 'keymap-template.cc',
164 'pixbuf-renderer.cc',
237 project_sources += main_sources
244 gqmarshal = gnome.genmarshal('gq-marshal', prefix : 'gq_marshal', sources : 'gq-marshal.list')
245 project_sources += gqmarshal[0]
246 project_sources += gqmarshal[1]
249 'icon_spinner', files('ui_spinner.png'),
250 'icon_tabcomp', files('ui_tabcomp.png'),
253 ui_icons_h = custom_target('ui_icons', output : 'ui_icons.h',
254 command : [gdk_pixbuf_csource, '--raw', '--extern', '--build-list', icon_pairs],
257 project_sources += ui_icons_h
259 if conf_data.has('HAVE_LCMS')
260 xxd_sh = find_program('generate-ClayRGB1998-icc-h.sh', dirs : join_paths(meson.project_source_root(), 'scripts'))
262 ClayRGB1998_icc_h = custom_target('ClayRGB1998',
263 input: 'ClayRGB1998.icc',
264 output : 'ClayRGB1998_icc.h',
265 command : [xxd_sh, '@INPUT@', '@OUTPUT@'])
267 project_sources += ClayRGB1998_icc_h
270 geeqie_exe = executable('geeqie', project_sources,
284 libffmpegthumbnailer_dep,
296 include_directories : [configuration_inc], install : true)