[libgnome-games-support/mcatanzaro/localization] Fix parallel-installability of localizations
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-games-support/mcatanzaro/localization] Fix parallel-installability of localizations
- Date: Sat, 12 Feb 2022 16:10:48 +0000 (UTC)
commit fb6d2af4b9a74c878ce4d57d86b9f26c84067074
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Fri Feb 11 15:43:27 2022 -0600
Fix parallel-installability of localizations
Fixes #21
meson.build | 5 ++++-
po/meson.build | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index c6d7fd3..bf286c4 100644
--- a/meson.build
+++ b/meson.build
@@ -18,6 +18,9 @@ project(
library_version = '4.0.0'
soversion = library_version.split('.')[0]
+# libgnome-games-support-2
+api_version = '2'
+
# used to install help
gnome = import('gnome')
# used for internationalization
@@ -36,7 +39,7 @@ includedir = join_paths(get_option('prefix'), get_option('includedir'))
conf = configuration_data()
conf.set_quoted('VERSION', meson.project_version())
-conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
+conf.set_quoted('GETTEXT_PACKAGE', meson.project_name() + api_version)
conf.set_quoted('LOCALEDIR', localedir)
configure_file(output: 'config.h', configuration: conf)
diff --git a/po/meson.build b/po/meson.build
index e9b77d7..5ef0867 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1 +1 @@
-i18n.gettext(meson.project_name(), preset: 'glib')
+i18n.gettext(meson.project_name() + api_version, preset: 'glib')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]