summaryrefslogtreecommitdiffstats
path: root/package/madplay
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:58:12 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:28:45 +0200
commit17875ff36910b2c8d780955bacbb9d92668a98c8 (patch)
tree282f481ca2c1b571d4c746fd32f445f1faff1b09 /package/madplay
parentcb3de26fe459a1452af173b07d98430cd90a4130 (diff)
downloadbuildroot-17875ff36910b2c8d780955bacbb9d92668a98c8.tar.gz
buildroot-17875ff36910b2c8d780955bacbb9d92668a98c8.zip
madplay: 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/madplay')
-rw-r--r--package/madplay/Config.in1
-rw-r--r--package/madplay/madplay.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/madplay/Config.in b/package/madplay/Config.in
index d83fac6d1f..3baeaa0631 100644
--- a/package/madplay/Config.in
+++ b/package/madplay/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_MADPLAY
bool "madplay"
select BR2_PACKAGE_LIBMAD
select BR2_PACKAGE_LIBID3TAG
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Command-line front-end to libmad, a high-quality MPEG audio decoder.
It currently supports MPEG-1 and the MPEG-2 extension to lower
diff --git a/package/madplay/madplay.mk b/package/madplay/madplay.mk
index 4ae95abdd4..e72e2f8180 100644
--- a/package/madplay/madplay.mk
+++ b/package/madplay/madplay.mk
@@ -9,7 +9,7 @@ MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VE
MADPLAY_LICENSE = GPL-2.0+
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
MADPLAY_LIBTOOL_PATCH = NO
-MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
+MADPLAY_DEPENDENCIES = libmad libid3tag $(TARGET_NLS_DEPENDENCIES)
# Check if ALSA is built, then we should configure after alsa-lib so
# ./configure can find alsa-lib.
OpenPOWER on IntegriCloud