minidlna: needs gettext and host-gettext tools if locale is enabled
authorBernd Kuhls <berndkuhls@hotmail.com>
Fri, 14 Mar 2014 20:51:06 +0000 (21:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Mar 2014 20:32:45 +0000 (21:32 +0100)
Fixes http://autobuild.buildroot.net/results/c6b/c6baebe005d6c024514bb1ade5ca391ea341c239/

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/minidlna/Config.in
package/minidlna/minidlna.mk

index 1fcecde0f766bdeb476958064ebf30bfd09b7119..02720e94640a0cef392db8bb192647ae7f8ffd9c 100644 (file)
@@ -12,6 +12,8 @@ config BR2_PACKAGE_MINIDLNA
        select BR2_PACKAGE_LIBEXIF
        select BR2_PACKAGE_LIBJPEG
        select BR2_PACKAGE_SQLITE
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+       select BR2_PACKAGE_GETTEXT_TOOLS 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 94c2641b8e96fe5fcea461fd46ed5aebd973d9bc..ea6a3fcf599d13cea45a643fc050039250d11765 100644 (file)
@@ -10,6 +10,7 @@ MINIDLNA_LICENSE = GPLv2 BSD-3c
 MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd
 
 MINIDLNA_DEPENDENCIES = \
+       $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext host-gettext) \
        ffmpeg flac libvorbis libogg libid3tag libexif libjpeg sqlite \
        host-xutil_makedepend