summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-19 21:51:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-19 21:51:52 +0000
commit7ee162e3380a6fd3e7cfd69caeedd458a4acd1b3 (patch)
tree9bdcdb95b7f4b248f5602d6fba54752a7ad4a475
parent5bc0fa0024337ba8bec582084cabf6b8171e1aaf (diff)
efl++: create .inc file, split into a .bb for -x11 and a .bb for -fb
-rw-r--r--packages/efl++/efl++-fb_0.0.2.bb3
-rw-r--r--packages/efl++/efl++-x11_0.0.2.bb3
-rw-r--r--packages/efl++/efl++.inc (renamed from packages/efl++/efl++_0.0.2.bb)4
3 files changed, 8 insertions, 2 deletions
diff --git a/packages/efl++/efl++-fb_0.0.2.bb b/packages/efl++/efl++-fb_0.0.2.bb
new file mode 100644
index 0000000000..b6a23d832d
--- /dev/null
+++ b/packages/efl++/efl++-fb_0.0.2.bb
@@ -0,0 +1,3 @@
+include efl++.inc
+
+EFL_CONFIGURATION = "DEFINES-=EFL_HAVE_X11"
diff --git a/packages/efl++/efl++-x11_0.0.2.bb b/packages/efl++/efl++-x11_0.0.2.bb
new file mode 100644
index 0000000000..d3f37911ee
--- /dev/null
+++ b/packages/efl++/efl++-x11_0.0.2.bb
@@ -0,0 +1,3 @@
+include efl++.inc
+
+EFL_CONFIGURATION = "DEFINES+=EFL_HAVE_X11"
diff --git a/packages/efl++/efl++_0.0.2.bb b/packages/efl++/efl++.inc
index 5803f5db7a..3a0aa9f691 100644
--- a/packages/efl++/efl++_0.0.2.bb
+++ b/packages/efl++/efl++.inc
@@ -5,6 +5,7 @@ AUTHOR = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
MAINTAINER = "${AUTHOR}"
HOMEPAGE = "http://www.Vanille.de/projects/efl++.html"
DEPENDS = "virtual/evas virtual/ecore edje"
+PROVIDES = "virtual/efl++"
SRC_URI = "http://www.Vanille.de/temp/efl++_${PV}.tar.bz2"
S = "${WORKDIR}/efl++-${PV}"
@@ -14,7 +15,7 @@ inherit qmake
PARALLEL_MAKE = ""
QMAKE_PROFILES = "efl++.pro"
EXTRA_QMAKEVARS_POST = "INCLUDEPATH+=${S}/src/evas INCLUDEPATH+=${S}/src/ecore INCLUDEPATH+=${S}/src/edje \
- LIBS+=-L${S} DESTDIR=${S}"
+ LIBS+=-L${S} DESTDIR=${S} ${EFL_CONFIGURATION}"
export OE_QMAKE_LINK="${CXX}"
export EDIR="${S}"
@@ -23,7 +24,6 @@ do_configure_prepend() {
cat <<EOF >include.pro
include ( common.pro )
DEFINES += DATADIR=\"${datadir}/efl++/\"
-DEFINES += EFL_HAVE_X11
EOF
}