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',
165 'pixbuf-renderer.cc',
238 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 xxd = find_program('generate-ClayRGB1998-icc-h.sh', dirs : join_paths(meson.source_root(), 'scripts'))
261 ClayRGB1998_icc_h = custom_target('ClayRGB1998',
262 input: 'ClayRGB1998.icc',
263 output : 'ClayRGB1998_icc.h',
264 command : [xxd, '@INPUT@', '@OUTPUT@'])
266 project_sources += ClayRGB1998_icc_h
268 executable('geeqie', project_sources,
281 libffmpegthumbnailer_dep,
293 include_directories : [configuration_inc], install : true)