minidlna: use the new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 21:00:26 +0000 (23:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:28:45 +0000 (01:28 +0200)
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>
package/minidlna/Config.in
package/minidlna/minidlna.mk

index c900143f7596671c4ae0cae3dbde585e9d64d398..a8311afe2256c9aa306392c582a4a0fff3adef44 100644 (file)
@@ -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.
index 4fa55454c99ca8fcf306acfde997fa0480ed9ffa..d0d9136b44660df2a6f05e19b31d407eeddc942e 100644 (file)
@@ -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