diff options
Diffstat (limited to 'backend/ps')
-rw-r--r-- | backend/ps/Makefile.am | 4 | ||||
-rw-r--r-- | backend/ps/meson.build | 31 |
2 files changed, 35 insertions, 0 deletions
diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am index 0cac11ff..7e431376 100644 --- a/backend/ps/Makefile.am +++ b/backend/ps/Makefile.am @@ -24,7 +24,11 @@ backend_in_files = psdocument.atril-backend.desktop.in backend_DATA = $(backend_in_files:.atril-backend.desktop.in=.atril-backend) $(backend_DATA): $(backend_in_files) +if USE_NLS $(AM_V_GEN) $(MSGFMT) --desktop --keyword=TypeDescription --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) cp -f $< $@ +endif EXTRA_DIST = $(backend_in_files) diff --git a/backend/ps/meson.build b/backend/ps/meson.build new file mode 100644 index 00000000..ba8ea301 --- /dev/null +++ b/backend/ps/meson.build @@ -0,0 +1,31 @@ +ps_sources = [ + 'ev-spectre.c', + 'ev-spectre.h' +] + +ps_deps = [ + cairo, + glib, + gtk, + spectre, +] + +shared_module( + 'psdocument', + ps_sources, + link_with: [libdocument], + link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'], + include_directories: include_dirs, + dependencies: ps_deps, + install: true, + install_dir: backendsdir, +) + +i18n.merge_file( + input: 'psdocument.atril-backend.desktop.in', + output: 'psdocument.atril-backend', + type: 'desktop', + po_dir: po_dir, + install: true, + install_dir: backendsdir, +) |