package/pulseview: propagate BR2_ENABLE_LOCALE dependency of libsigrok
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 14:58:00 +0000 (15:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 14:58:00 +0000 (15:58 +0100)
Since commit 922b82bde9d554237769c21e50f6c5b4f73f41a8 ("libsigrok:
bump version to 0.5.1"), libsigrok depends on BR2_ENABLE_LOCALE, but
this dependency was not propagated to pulseview. This commit fixes
this issue.

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pulseview/Config.in

index a42fdcd879a464fc24e88228db4357887b48bb3b..01e522e1c579fe76c1866dc4a77fddb151607bdd 100644 (file)
@@ -10,6 +10,7 @@ config BR2_PACKAGE_PULSEVIEW
        depends on !BR2_STATIC_LIBS
        # libsigrok
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+       depends on BR2_ENABLE_LOCALE
        select BR2_PACKAGE_LIBSIGROK
        select BR2_PACKAGE_LIBSIGROKCXX
        select BR2_PACKAGE_QT5BASE_WIDGETS
@@ -25,8 +26,9 @@ config BR2_PACKAGE_PULSEVIEW
 
          http://sigrok.org/wiki/PulseView
 
-comment "pulseview needs a toolchain w/ wchar, threads, dynamic library, C++, gcc >= 4.9"
+comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 4.9"
        depends on BR2_USE_MMU
        depends on BR2_PACKAGE_QT5
        depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
-               || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+               || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
+               || BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE