magiccube4d: needs C++ and X11 support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 23 Nov 2009 10:21:46 +0000 (11:21 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 23 Nov 2009 10:21:46 +0000 (11:21 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/games/magiccube4d/Config.in
package/games/magiccube4d/magiccube4d.mk

diff --git a/CHANGES b/CHANGES
index a6e10ef4e3fa871da076538f93a33c0700248ae1..ba14e67e90e76895e953d392211b7d93b5b78cf4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -25,9 +25,9 @@
        gst-plugins-base, gst-plugins-good, imagemagick, ipkg, iptables,
        iw, kernel-headers, kismet, libelf, libevent, libglib2, libidn,
        liblockfile, libmad, libpcap, libupnp, libuuid, lighttpd, ltrace,
-       lua, lzma, matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet,
-       netsnmp, ntfs-3g, openntp, openssl, php, python, quagga, radvd,
-       rsync, samba, sawman, sdl, shared-mime-info, spawn-fcgi,
+       lua, lzma, magiccube4d, matchbox, mdadm, nbd, ncftp, ncurses,
+       netkittelnet, netsnmp, ntfs-3g, openntp, openssl, php, python, quagga,
+       radvd, rsync, samba, sawman, sdl, shared-mime-info, spawn-fcgi,
        speech-tools, sqlite, squashfs, synergy, syslinux, target-binutils,
        tcpdump, u-boot, util-linux, valgrind, vsftpd, wipe, wpa-supplicant,
        xdata_xcursor-themes, xstroke, zlib
index ba4bceb01b08e934f5e03bb80b6cfbf6aadb36f3..871c3c76b31466dba77fa8bb45bcdc97193b60d2 100644 (file)
@@ -1,6 +1,11 @@
 config BR2_PACKAGE_MAGICCUBE4D
        bool "magiccube4d"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_XORG7
        help
          Another rubiks cube-like game in 4D
 
          http://avr32linux.org/twiki/bin/viewfile/Main
+
+comment "magiccube4d requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_XORG7
index a92ffd265e6241050b820ed5c2fe37f11c0c2ccc..20b42317b456b86a53d390bc2a59d23cc9c77b67 100644 (file)
@@ -9,6 +9,7 @@ MAGICCUBE4D_SITE = http://avr32linux.org/twiki/pub/Main/MagicCube4D
 MAGICCUBE4D_INSTALL_STAGING = NO
 MAGICCUBE4D_INSTALL_TARGET = YES
 MAGICCUBE4D_INSTALL_TARGET_OPT = GAMESDIR=$(TARGET_DIR)/usr/games install
+MAGICCUBE4D_DEPENDENCIES = xserver_xorg-server
 
 $(eval $(call AUTOTARGETS,package/games,magiccube4d))