efl++: make 0.1.0 build, remove obsolete 0.0.5
authorMichael Lauer <mickey@vanille-media.de>
Mon, 17 Apr 2006 22:12:53 +0000 (22:12 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 17 Apr 2006 22:12:53 +0000 (22:12 +0000)
packages/efl++/efl++-fb_0.0.5.bb [deleted file]
packages/efl++/efl++-x11_0.0.5.bb [deleted file]
packages/efl++/efl++.inc
packages/efl++/files/.mtn2git_empty [new file with mode: 0644]
packages/efl++/files/disable-smart.patch [new file with mode: 0644]
packages/efl++/files/fix-src.pro.patch [new file with mode: 0644]

diff --git a/packages/efl++/efl++-fb_0.0.5.bb b/packages/efl++/efl++-fb_0.0.5.bb
deleted file mode 100644 (file)
index 713c86e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include efl++.inc
diff --git a/packages/efl++/efl++-x11_0.0.5.bb b/packages/efl++/efl++-x11_0.0.5.bb
deleted file mode 100644 (file)
index d55e149..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-include efl++.inc
-
-EXTRA_QMAKEVARS_POST += "CONFIG+=eflecorex11"
index cc7e615..b560826 100644 (file)
@@ -7,10 +7,12 @@ HOMEPAGE = "http://www.Vanille.de/projects/efl++.html"
 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"
diff --git a/packages/efl++/files/.mtn2git_empty b/packages/efl++/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/efl++/files/disable-smart.patch b/packages/efl++/files/disable-smart.patch
new file mode 100644 (file)
index 0000000..cdb157c
--- /dev/null
@@ -0,0 +1,21 @@
+
+#
+# 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 */
diff --git a/packages/efl++/files/fix-src.pro.patch b/packages/efl++/files/fix-src.pro.patch
new file mode 100644 (file)
index 0000000..234d38a
--- /dev/null
@@ -0,0 +1,15 @@
+
+#
+# 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 )