summaryrefslogtreecommitdiff
path: root/thumbnailer
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <[email protected]>2022-11-14 23:00:54 +0700
committerraveit65 <[email protected]>2023-04-20 18:07:49 +0200
commitfaf2001f46509a7434fc10ee848ce1ce84255dcd (patch)
tree5987f3ddabfe7909fb2bd2fd5d038e6358220798 /thumbnailer
parent06de02ac5acb699156401bcf48009a670f98033e (diff)
downloadeom-faf2001f46509a7434fc10ee848ce1ce84255dcd.tar.bz2
eom-faf2001f46509a7434fc10ee848ce1ce84255dcd.tar.xz
Add enum and thumbnailer build
Diffstat (limited to 'thumbnailer')
-rw-r--r--thumbnailer/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/thumbnailer/meson.build b/thumbnailer/meson.build
new file mode 100644
index 0000000..ac4b412
--- /dev/null
+++ b/thumbnailer/meson.build
@@ -0,0 +1,15 @@
+if not get_option('gdk-pixbuf-thumbnailer')
+ thumbnailer = executable(
+ 'eom-thumbnailer',
+ sources: [
+ 'eom-thumbnailer.c',
+ ],
+ dependencies: [all_deps, magick],
+ include_directories: top_inc,
+ install: true,
+ )
+endif
+
+thumbnailerdir = datadir / 'thumbnailers'
+thumbnailerfile = configure_file(input: 'eom-thumbnailer.thumbnailer.in', configuration: pkg_info, output: 'eom-thumbnailer.thumbnailer')
+install_data(thumbnailerfile, install_dir: thumbnailerdir)