diff options
author | Oz Tiram <[email protected]> | 2025-03-30 15:20:05 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2025-04-04 22:19:13 +0000 |
commit | b1f21edcec82c25cbd6b59b521a841f86fb1f327 (patch) | |
tree | 57bed53a768722d58d0d4c081be54198f90d6cb6 /thumbnailer | |
parent | 0672f82ffb2e56ffb711703b3b786714d2bc794c (diff) | |
download | atril-b1f21edcec82c25cbd6b59b521a841f86fb1f327.tar.bz2 atril-b1f21edcec82c25cbd6b59b521a841f86fb1f327.tar.xz |
Initial support for meson
Mostly copy and paste from linuxmint/xreader
Signed-off-by: Oz Tiram <[email protected]>
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/meson.build | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/thumbnailer/meson.build b/thumbnailer/meson.build new file mode 100644 index 00000000..0d9cfef8 --- /dev/null +++ b/thumbnailer/meson.build @@ -0,0 +1,32 @@ +thumbnailer_sources = [ + 'atril-thumbnailer.c', +] + +thumbnailer_deps = [ + libdocument_dep, + glib, + gtk, +] + +executable( + 'atril-thumbnailer', + thumbnailer_sources, + include_directories: include_dirs, + dependencies: thumbnailer_deps, + install: true, +) + +install_data( + 'atril-thumbnailer.1', + install_dir : join_paths(prefix, get_option('mandir'), 'man1') +) + +mime_conf = configuration_data() +mime_conf.set('THUMBNAILER_MIME_TYPES', thumbnailer_mime_types) + +mime_file = configure_file( + input: 'atril.thumbnailer.in', + output: 'atril.thumbnailer', + configuration: mime_conf, + install_dir: join_paths(datadir, 'thumbnailers') +) |