From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../frameworks/6 gettext/generated/meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meson/test cases/frameworks/6 gettext/generated/meson.build (limited to 'meson/test cases/frameworks/6 gettext/generated/meson.build') diff --git a/meson/test cases/frameworks/6 gettext/generated/meson.build b/meson/test cases/frameworks/6 gettext/generated/meson.build new file mode 100644 index 000000000..5ed9205e9 --- /dev/null +++ b/meson/test cases/frameworks/6 gettext/generated/meson.build @@ -0,0 +1,16 @@ +dgen = find_program('desktopgenerator.py') + +desktop_in_file = custom_target('something.desktop.in', + input : ['something.desktop.in.in'], + output : 'something.desktop.in', + command : [dgen, '@INPUT@', '@OUTPUT@'], +) + +i18n.merge_file( + input : desktop_in_file, + output : 'something.desktop', + type : 'desktop', + po_dir : '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'applications'), +) -- cgit 1.2.3-korg