summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/efl++
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/efl++
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/efl++')
-rw-r--r--org.handhelds.familiar/packages/efl++/efl++-fb_0.0.5.bb1
-rw-r--r--org.handhelds.familiar/packages/efl++/efl++-x11_0.0.5.bb3
-rw-r--r--org.handhelds.familiar/packages/efl++/efl++.inc56
3 files changed, 60 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/efl++/efl++-fb_0.0.5.bb b/org.handhelds.familiar/packages/efl++/efl++-fb_0.0.5.bb
new file mode 100644
index 0000000..713c86e
--- /dev/null
+++ b/org.handhelds.familiar/packages/efl++/efl++-fb_0.0.5.bb
@@ -0,0 +1 @@
+include efl++.inc
diff --git a/org.handhelds.familiar/packages/efl++/efl++-x11_0.0.5.bb b/org.handhelds.familiar/packages/efl++/efl++-x11_0.0.5.bb
new file mode 100644
index 0000000..d55e149
--- /dev/null
+++ b/org.handhelds.familiar/packages/efl++/efl++-x11_0.0.5.bb
@@ -0,0 +1,3 @@
+include efl++.inc
+
+EXTRA_QMAKEVARS_POST += "CONFIG+=eflecorex11"
diff --git a/org.handhelds.familiar/packages/efl++/efl++.inc b/org.handhelds.familiar/packages/efl++/efl++.inc
new file mode 100644
index 0000000..60d1ce1
--- /dev/null
+++ b/org.handhelds.familiar/packages/efl++/efl++.inc
@@ -0,0 +1,56 @@
+DESCRIPTION = "C++ Bindings for the Enlightenment Foundation Libraries"
+SECTION = "e/libs"
+LICENSE = "LGPL"
+AUTHOR = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+MAINTAINER = "${AUTHOR}"
+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/temp/efl++_${PV}.tar.bz2"
+S = "${WORKDIR}/efl++-${PV}"
+
+inherit qmake
+
+PARALLEL_MAKE = ""
+QMAKE_PROFILES = "efl++.pro"
+EXTRA_QMAKEVARS_POST = "DESTDIR=${S}"
+export OE_QMAKE_LINK="${CXX}"
+export EDIR="${S}"
+
+do_configure_prepend() {
+ rm include.pro
+ cat <<EOF >include.pro
+include ( common.pro )
+
+LIBS += -L${EDIR}
+
+EFLCONFIG = console release eflbasic angstrom
+INCLUDEPATH += ${EDIR}/src/common ${EDIR}/src/extra ${EDIR}/src/misc
+INCLUDEPATH += ${EDIR}/src/evas ${EDIR}/src/ecore ${EDIR}/src/edje
+INCLUDEPATH += ${EDIR}/src/esmart ${EDIR}/src/ewl
+
+DEFINES += DATADIR=\"${datadir}/efl++/\"
+
+EOF
+}
+
+do_stage() {
+ for i in src/common/*.h src/evas/*.h src/ecore/*.h src/edje/*.h
+ do
+ install -m 0644 $i ${STAGING_INCDIR}
+ done
+ oe_libinstall -so -C ${S} libefl++ ${STAGING_LIBDIR}
+}
+
+do_install() {
+ oe_libinstall -so -C ${S} libefl++ ${D}${libdir}
+ install -d ${D}${bindir}
+ install *-* ${D}${bindir}
+ install -d ${D}${datadir}/efl++
+ cp -pPR data/* ${D}${datadir}/efl++
+}
+
+PACKAGES =+ "efl++-examples"
+FILES_${PN} = "${libdir}"
+FILES_efl++-examples = "${bindir} ${datadir}"