midori: make sure it can't be selected if webkit can't be enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Jul 2010 14:03:28 +0000 (16:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 20:49:30 +0000 (22:49 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/midori/Config.in

index f9117ea871a53b7bd8064dbe2604b3d1b568b4bb..95a0afbd64d3860f165173f6975959b3839237ac 100644 (file)
@@ -3,7 +3,12 @@ config BR2_PACKAGE_MIDORI
        select BR2_PACKAGE_WEBKIT
        select BR2_PACKAGE_LIBSEXY
        depends on BR2_PACKAGE_LIBGTK2
+       depends on BR2_INSTALL_LIBSTDCPP # webkit
+       depends on BR2_USE_WCHAR         # webkit
        help
          Midori is a lightweight web browser based on WebKit
 
          http://software.twotoasts.de/?page=midori
+
+comment "midori requires C++, WCHAR in toolchain and libgtk2"
+        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_PACKAGE_LIBGTK2