From b1f21edcec82c25cbd6b59b521a841f86fb1f327 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sun, 30 Mar 2025 15:20:05 +0200 Subject: Initial support for meson Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram --- backend/pixbuf/meson.build | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 backend/pixbuf/meson.build (limited to 'backend/pixbuf/meson.build') diff --git a/backend/pixbuf/meson.build b/backend/pixbuf/meson.build new file mode 100644 index 00000000..146a5105 --- /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, +) + +custom_target( + 'pixbuf_backend', + input: 'pixbufdocument.xreader-backend.in', + output: 'pixbufdocument.xreader-backend', + command: [intltool_merge, '-d', '-u', po_dir, '@INPUT@', '@OUTPUT@'], + install: true, + install_dir: backendsdir, +) -- cgit v1.2.1