summaryrefslogtreecommitdiff
path: root/backend/pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pixbuf')
-rw-r--r--backend/pixbuf/meson.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/backend/pixbuf/meson.build b/backend/pixbuf/meson.build
new file mode 100644
index 00000000..68afb36f
--- /dev/null
+++ b/backend/pixbuf/meson.build
@@ -0,0 +1,30 @@
+pixbuf_sources = [
+ 'pixbuf-document.c',
+ 'pixbuf-document.h'
+]
+
+pixbuf_deps = [
+ cairo,
+ glib,
+ gtk,
+]
+
+shared_module(
+ 'pixbufdocument',
+ pixbuf_sources,
+ link_with: [libdocument],
+ link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'],
+ include_directories: include_dirs,
+ dependencies: pixbuf_deps,
+ install: true,
+ install_dir: backendsdir,
+)
+
+i18n.merge_file(
+ input: 'pixbuf.atril-backend.desktop.in',
+ output: 'pixbuf.atril-backend',
+ type: 'desktop',
+ po_dir: po_dir,
+ install: true,
+ install_dir: backendsdir,
+)