diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 22:47:03 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:27:26 +0200 |
commit | d5441d46f66d18bf3e4c1db0a9cfc65d2491c7fe (patch) | |
tree | 9de10ceafdb534f5dfe93fded24bbe48ee2cef66 /package/gmpc | |
parent | 69f1de8ca31d68b785b6bc7acca54200db4f7a28 (diff) |
gmpc: 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 <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gmpc')
-rw-r--r-- | package/gmpc/Config.in | 1 | ||||
-rw-r--r-- | package/gmpc/gmpc.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/gmpc/Config.in b/package/gmpc/Config.in index 43bc642d74..1aa74251f0 100644 --- a/package/gmpc/Config.in +++ b/package/gmpc/Config.in @@ -6,7 +6,6 @@ config BR2_PACKAGE_GMPC depends on BR2_USE_MMU # glib2 depends on BR2_PACKAGE_XORG7 select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_LIBMPD select BR2_PACKAGE_LIBSOUP diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk index 7ba86a7cb1..40b77eb189 100644 --- a/package/gmpc/gmpc.mk +++ b/package/gmpc/gmpc.mk @@ -13,6 +13,6 @@ GMPC_LICENSE_FILES = COPYING GMPC_DEPENDENCIES = host-gob2 host-intltool host-pkgconf host-vala \ libglib2 libgtk2 libmpd libsoup sqlite \ xlib_libICE xlib_libSM xlib_libX11 \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) + $(TARGET_NLS_DEPENDENCIES) $(eval $(autotools-package)) |