+++ /dev/null
-include efl++.inc
+++ /dev/null
-include efl++.inc
-
-EXTRA_QMAKEVARS_POST += "CONFIG+=eflecorex11"
DEPENDS = "virtual/evas virtual/ecore edje libsigc++-2.0"
PROVIDES = "virtual/efl++"
-SRC_URI = "http://www.Vanille.de/download/efl/efl++_${PV}.tar.bz2"
+SRC_URI = "http://www.Vanille.de/download/efl/efl++_${PV}.tar.bz2 \
+ file://fix-src.pro.patch;patch=1 \
+ file://disable-smart.patch;patch=1"
S = "${WORKDIR}/efl++-${PV}"
-inherit qmake
+inherit qmake qt4x11
PARALLEL_MAKE = ""
QMAKE_PROFILES = "efl++.pro"
--- /dev/null
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- efl++-0.1.0/src/evas/evas.cpp~disable-smart
++++ efl++-0.1.0/src/evas/evas.cpp
+@@ -7,9 +7,13 @@
+ /* EFL */
+ extern "C" {
+ #include <Edje.h>
++#ifdef EFL_SUPPORT_ESMART
+ #include <Esmart/Esmart_Container.h>
+ #include <Esmart/Esmart_Text_Entry.h>
++#endif
++#ifdef EFL_SUPPORT_EMOTION
+ #include <Emotion.h>
++#endif
+ }
+
+ /* STD */
--- /dev/null
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- efl++-0.1.0/src/src.pro~fix-src.pro
++++ efl++-0.1.0/src/src.pro
+@@ -30,6 +30,7 @@
+ include ( emotion/emotion.pro )
+ LIBS += -lemotion
+ DEFINES += EFL_SUPPORT_EMOTION
++}
+
+ eflesmart {
+ include ( esmart/esmart.pro )