summaryrefslogtreecommitdiff
path: root/src/lib/ethumb/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ethumb/meson.build')
-rw-r--r--src/lib/ethumb/meson.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/ethumb/meson.build b/src/lib/ethumb/meson.build
new file mode 100644
index 0000000000..ffc62e91e5
--- /dev/null
+++ b/src/lib/ethumb/meson.build
@@ -0,0 +1,32 @@
+ethumb_header_src = [
+ 'Ethumb.h'
+]
+
+ethumb_src = [
+ 'ethumb.c',
+ 'ethumb_private.h',
+ 'md5.h',
+ 'md5.c',
+]
+
+ethumb_deps = [eet, evas, ecore, ecore_evas, ecore_file, ecore_imf, edje, emile]
+ethumb_pub_deps = [eina, eo, efl]
+
+ethumb_lib = library('ethumb',
+ ethumb_src,
+ dependencies: ethumb_pub_deps + [m] + ethumb_deps,
+ include_directories : config_dir + [include_directories('.')],
+ install: true,
+ c_args : package_c_args,
+ version : meson.project_version()
+)
+
+ethumb = declare_dependency(
+ include_directories: [include_directories('.')],
+ link_with: ethumb_lib,
+ dependencies: ethumb_pub_deps,
+)
+
+install_headers(ethumb_header_src,
+ install_dir : dir_package_include,
+)