dillo: use select for library dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 17 Jul 2009 12:39:23 +0000 (14:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Jul 2009 21:25:35 +0000 (23:25 +0200)
Use select independs of depends on for library dependencies. We keep
the depends on for the X.org dependency so that dillo can only be
selected once X.org is enabled (which, contrary to the library
dependencies, is a pretty obvious dependency for the user). We then
get rid of the configuration interface comment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dillo/Config.in

index 5724691752f6f5278d7d968b4db06edd6893a1ad..87418d2976ccf193c0f5cfa9404a6862e92bafae 100644 (file)
@@ -1,15 +1,12 @@
 config BR2_PACKAGE_DILLO
        bool "dillo"
-       depends on BR2_PACKAGE_JPEG
-       depends on BR2_PACKAGE_LIBGLIB12
-       depends on BR2_PACKAGE_LIBGTK12
-       depends on BR2_PACKAGE_ZLIB
-       depends on BR2_PACKAGE_LIBPNG
+       select BR2_PACKAGE_JPEG
+       select BR2_PACKAGE_LIBGLIB12
+       select BR2_PACKAGE_LIBGTK12
+       select BR2_PACKAGE_ZLIB
+       select BR2_PACKAGE_LIBPNG
        depends on BR2_PACKAGE_XORG7
        help
          Dillo is a small GTK+ based web browser written in C.
 
          http://www.dillo.org/
-
-comment "dillo         - disabled (requires jpeg,libglib12,libgtk12,zlib,libpng and Xorg(7))"
-       depends on !BR2_PACKAGE_JPEG || !BR2_PACKAGE_LIBGLIB12 || !BR2_PACKAGE_LIBGTK12 || !BR2_PACKAGE_ZLIB || !BR2_PACKAGE_LIBPNG || !(BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7)