From 440a9a98409cef4e9ba3c8aa4cc2bfaeb8798b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 16 Sep 2021 17:34:28 +0200 Subject: Add an icon and a desktop file --- meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index b730544..2a13822 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('fastiv', 'c', default_options : ['c_std=gnu99'], version : '0.1.0') -# TODO(p): consider whether libraw_r would be appropriate +# TODO(p): Use libraw_r later, when we start parallelizing/preloading. libraw = dependency('libraw', required : get_option('libraw')) dependencies = [ dependency('gtk+-3.0'), @@ -17,7 +17,11 @@ configure_file( configuration : conf, ) -# TODO(p): we need to create and install a .desktop file executable('fastiv', 'fastiv.c', 'fastiv-view.c', install : true, dependencies : [dependencies]) + +install_data('fastiv.desktop', + install_dir : get_option('datadir') + '/applications') +install_data('fastiv.svg', + install_dir : get_option('datadir') + '/icons/hicolor/scalable/apps') -- cgit v1.2.3