summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:53:30 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:28:44 +0200
commit34c5bd726643a2063c2567ef49f58ab1419c016f (patch)
tree792e888f80dfcabd21445012924f22557dbd6cfb
parent24c6a63367a52eb43322a930f20f0d1087bdd136 (diff)
downloadbuildroot-34c5bd726643a2063c2567ef49f58ab1419c016f.tar.gz
buildroot-34c5bd726643a2063c2567ef49f58ab1419c016f.zip
libv4l: 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>
-rw-r--r--package/libv4l/Config.in1
-rw-r--r--package/libv4l/libv4l.mk4
2 files changed, 1 insertions, 4 deletions
diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in
index 638aeff749..e7f78dc70f 100644
--- a/package/libv4l/Config.in
+++ b/package/libv4l/Config.in
@@ -19,7 +19,6 @@ comment "libv4l JPEG support not enabled"
config BR2_PACKAGE_LIBV4L_UTILS
bool "v4l-utils tools"
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
v4l-utils is a collection of various video4linux and DVB utilities.
Enable this if you want to build the following tools:
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index b74271728a..5950c5a67b 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -61,9 +61,7 @@ endif
ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
LIBV4L_CONF_OPTS += --enable-v4l-utils
-ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
-LIBV4L_DEPENDENCIES += gettext
-endif
+LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy)
LIBV4L_CONF_OPTS += --enable-qv4l2
LIBV4L_DEPENDENCIES += qt5base
OpenPOWER on IntegriCloud