[rhythmbox/wip/hadess/fix-i18n: 1/2] build: Fix build on systems with discrete libintl
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/fix-i18n: 1/2] build: Fix build on systems with discrete libintl
- Date: Thu, 5 May 2022 07:55:40 +0000 (UTC)
commit c612401ef48bd2b711653f1bee9185ca6104db43
Author: Bastien Nocera <hadess hadess net>
Date: Thu May 5 09:54:22 2022 +0200
build: Fix build on systems with discrete libintl
meson.build | 1 +
metadata/meson.build | 2 +-
remote/dbus/meson.build | 2 +-
shell/meson.build | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0a40c47c9..042be93c6 100644
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,7 @@ cdata.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_56')
gstreamer_required = '1.4.0'
+intl = dependency('intl', required: true)
cairo = dependency('cairo', required: true)
gdk_pixbuf = dependency('gdk-pixbuf-2.0', version: '>= 2.18.0')
gio = dependency('gio-2.0', version: '>=' + glib_required, required: true)
diff --git a/metadata/meson.build b/metadata/meson.build
index 76d200785..071406d25 100644
--- a/metadata/meson.build
+++ b/metadata/meson.build
@@ -58,7 +58,7 @@ rbmetadata_dep = declare_dependency(
executable('rhythmbox-metadata', metadata_service_sources,
c_args: metadata_c_args,
link_with: rbmetadata_lib,
- dependencies: [librb_dep, rbmetadata_dep],
+ dependencies: [librb_dep, rbmetadata_dep, intl],
install: true,
install_dir: get_option('libexecdir'),
install_rpath: rpath
diff --git a/remote/dbus/meson.build b/remote/dbus/meson.build
index 0f053a2b6..78e5d91d1 100644
--- a/remote/dbus/meson.build
+++ b/remote/dbus/meson.build
@@ -9,7 +9,7 @@ client_c_args = [
executable('rhythmbox-client',
'rb-client.c',
c_args: client_c_args,
- dependencies: librb_dep,
+ dependencies: [librb_dep, intl],
install: true,
install_rpath: rpath
)
diff --git a/shell/meson.build b/shell/meson.build
index 0f843f8bc..f65bbd114 100644
--- a/shell/meson.build
+++ b/shell/meson.build
@@ -147,7 +147,7 @@ if enable_python
endif
executable('rhythmbox', 'main.c',
- dependencies: rhythmbox_dependencies,
+ dependencies: [ rhythmbox_dependencies, intl ],
c_args: shell_c_args,
include_directories: [ pluginsinc ],
install: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]