Disable libsexy (with comment) if X is not available
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 23 Jan 2009 17:48:49 +0000 (17:48 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 23 Jan 2009 17:48:49 +0000 (17:48 -0000)
package/libsexy/Config.in

index 5e7acd2acc548ce47e781a9c9dfd8da270ad5aa0..a50df166e925c7595b231eff27471519159ca79b 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBSEXY
        bool "libsexy"
        depends on BR2_PACKAGE_LIBGTK2
+       depends on !BR2_PACKAGE_XSERVER_none
        help
          libsexy is a collection of GTK+ widgets that extend the
          functionality of such standard widgets as GtkEntry and
@@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBSEXY
          limitations of the widgets.
 
          http://www.chipx86.com/wiki/Libsexy
+
+comment "libsexy       - disabled (requires X-Windows)"
+       depends on BR2_PACKAGE_XSERVER_none
+