From: Thomas Petazzoni Date: Mon, 3 Jul 2017 20:59:46 +0000 (+0200) Subject: midori: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2864f9047d19fda2626b2db69d9cc3d8f205606b;p=buildroot.git midori: use the new gettext logic This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni --- diff --git a/package/midori/Config.in b/package/midori/Config.in index 4d30c83066..43ba45e801 100644 --- a/package/midori/Config.in +++ b/package/midori/Config.in @@ -21,7 +21,6 @@ config BR2_PACKAGE_MIDORI select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_SQLITE select BR2_PACKAGE_WEBKITGTK - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Midori is a lightweight web browser based on WebKit diff --git a/package/midori/midori.mk b/package/midori/midori.mk index 395e72ec2f..1755f1241a 100644 --- a/package/midori/midori.mk +++ b/package/midori/midori.mk @@ -22,7 +22,7 @@ MIDORI_DEPENDENCIES = \ libxml2 \ sqlite \ webkitgtk \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ + $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) MIDORI_CONF_OPTS = \