aboutsummaryrefslogtreecommitdiff
path: root/community/zathura/patches/remove_gettext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura/patches/remove_gettext.patch')
-rw-r--r--community/zathura/patches/remove_gettext.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/zathura/patches/remove_gettext.patch b/community/zathura/patches/remove_gettext.patch
new file mode 100644
index 00000000..d02f5896
--- /dev/null
+++ b/community/zathura/patches/remove_gettext.patch
@@ -0,0 +1,39 @@
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -16,26 +16,6 @@
+ endforeach
+ endif
+
+-i18n = import('i18n')
+-podir = join_paths(meson.source_root(), 'po')
+-
+-desktop = i18n.merge_file('desktop',
+- input: 'org.pwmt.zathura.desktop.in',
+- output: 'org.pwmt.zathura.desktop',
+- install: true,
+- install_dir: desktopdir,
+- po_dir: podir,
+- type: 'desktop'
+-)
+-
+-appdata = i18n.merge_file('appdata',
+- input: 'org.pwmt.zathura.appdata.xml.in',
+- output: 'org.pwmt.zathura.appdata.xml',
+- install: true,
+- install_dir: metainfodir,
+- po_dir: podir,
+-)
+-
+ desktop_file_validate = find_program('desktop-file-validate', required: get_option('tests'), native: true)
+ if desktop_file_validate.found()
+ test('validate-desktop',
+--- a/meson.build
++++ b/meson.build
+@@ -109,7 +109,6 @@
+ ]
+
+ subdir('data')
+-subdir('po')
+
+ # source files
+ sources = files(