From: Thomas Petazzoni Date: Mon, 3 Jul 2017 21:00:26 +0000 (+0200) Subject: minidlna: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a32783e38747960b2c46a370d5ddc1ff92911590;p=buildroot.git minidlna: 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/minidlna/Config.in b/package/minidlna/Config.in index c900143f75..a8311afe22 100644 --- a/package/minidlna/Config.in +++ b/package/minidlna/Config.in @@ -13,7 +13,6 @@ config BR2_PACKAGE_MINIDLNA select BR2_PACKAGE_LIBEXIF select BR2_PACKAGE_JPEG select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully compliant with DLNA/UPnP-AV clients. diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk index 4fa55454c9..d0d9136b44 100644 --- a/package/minidlna/minidlna.mk +++ b/package/minidlna/minidlna.mk @@ -10,7 +10,7 @@ MINIDLNA_LICENSE = GPL-2.0, BSD-3-Clause MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd MINIDLNA_DEPENDENCIES = \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) host-gettext \ + $(TARGET_NLS_DEPENDENCIES) \ ffmpeg flac libvorbis libogg libid3tag libexif jpeg sqlite \ host-xutil_makedepend