openembedded build files... this makes life so easy to build efl for
authorCarsten Haitzler <raster@rasterman.com>
Tue, 9 Nov 2004 09:36:36 +0000 (09:36 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Tue, 9 Nov 2004 09:36:36 +0000 (09:36 +0000)
embedded... :)

SVN revision: 12154

12 files changed:
legacy/ecore/configure.in
legacy/ecore/ecore-native.oe [new file with mode: 0644]
legacy/ecore/ecore.oe [new file with mode: 0644]
legacy/edje/edje-native.oe [new file with mode: 0644]
legacy/edje/edje.oe [new file with mode: 0644]
legacy/eet/eet-native.oe [new file with mode: 0644]
legacy/eet/eet.oe [new file with mode: 0644]
legacy/embryo/embryo-native.oe [new file with mode: 0644]
legacy/embryo/embryo.oe [new file with mode: 0644]
legacy/evas/configure.in
legacy/evas/evas-native.oe [new file with mode: 0644]
legacy/evas/evas.oe [new file with mode: 0644]

index 13d1c10..5f954fc 100644 (file)
@@ -334,18 +334,15 @@ ecore_evas_libs="";
 
 evas_cflags="";
 evas_libs="";
-
-
 AC_ARG_WITH(evas-config,
 [  --with-evas-config=EVAS_CONFIG    use evas-config specified ],
 [
-  PROG_CONFIG=$withval;
-  echo "using "$PROG_CONFIG" for evas-config";
+  EVAS_CONFIG=$withval;
+  echo "using "$EVAS_CONFIG" for evas-config";
 ],[
   PROG="evas-config";
-  AC_PATH_PROG(PROG_CONFIG, $PROG, "", $PATH)
+  AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
 ])
-if [ test -z "$EVAS_CONFIG" ]; then EVAS_CONFIG=$PROG_CONFIG; fi
 
 have_ecore_evas="no"
 
diff --git a/legacy/ecore/ecore-native.oe b/legacy/ecore/ecore-native.oe
new file mode 100644 (file)
index 0000000..eb245fb
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "Ecore is the core event abstraction layer for the \
+enlightenment foundation libraries. It makes makes doing selections, drag \
+and drop, event loops, timeouts and idle handlers fast, optimized, and \
+convenient."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include ecore.oe
+inherit native
+DEPENDS = "eet-native evas-native"
+
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config-native"
+export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config-native"
+
+do_stage () {
+  for p in ${parts}; do
+    dir=`echo $p|tr A-Z a-z`
+    install -m 0644 ${S}/src/lib/$dir/$p.h ${STAGING_INCDIR}/
+    oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
+  done
+  install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
+  install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
+}
diff --git a/legacy/ecore/ecore.oe b/legacy/ecore/ecore.oe
new file mode 100644 (file)
index 0000000..e156de7
--- /dev/null
@@ -0,0 +1,58 @@
+DESCRIPTION = "Ecore is the core event abstraction layer for the \
+enlightenment foundation libraries. It makes makes doing selections, drag \
+and drop, event loops, timeouts and idle handlers fast, optimized, and \
+convenient."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "eet evas"
+PR = "1.0.0_pre7"
+PR = "1"
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+
+SRC_URI = "file://./"
+S = "${WORKDIR}/ecore"
+
+inherit autotools binconfig
+
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
+export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config"
+
+EXTRA_OECONF = "--enable-ecore-fb \
+               --enable-ecore-job \
+                --enable-ecore-evas \
+               --enable-ecore-evas-fb \
+               --enable-ecore-evas-x \
+               --disable-ecore-evas-gl \
+               --enable-ecore-con \
+               --enable-ecore-ipc \
+               --enable-ecore-txt \
+               --enable-ecore-x \
+               --enable-ecore-config \
+               --disable-openssl"
+
+parts = "Ecore Ecore_Job \
+        Ecore_Txt Ecore_Fb Ecore_Con \
+        Ecore_Ipc Ecore_Evas Ecore_Config \
+         Ecore_X"
+
+do_stage () {
+  for p in ${parts}; do
+    dir=`echo $p|tr A-Z a-z`
+    install -m 0644 ${S}/src/lib/$dir/$p.h ${STAGING_INCDIR}/
+    oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
+  done
+  install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
+  install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+PACKAGES += "ecore-examples"
+
+FILES_${PN} = "${libdir}/libecore*.so* ${libdir}/ecore_config_ipc_ecore.so"
+FILES_${PN}-dev += "${bindir}/ecore-config ${libdir}/pkgconfig"
+FILES_${PN}-examples = "${bindir}/ecore_test ${bindir}/ecore_evas_test ${datadir}"
diff --git a/legacy/edje/edje-native.oe b/legacy/edje/edje-native.oe
new file mode 100644 (file)
index 0000000..a58b2cd
--- /dev/null
@@ -0,0 +1,27 @@
+DESCRIPTION = "Edje is a graphical layout and animation library for animated \
+resizable, compressed and scalable themes."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include edje.oe
+inherit native
+DEPENDS = "evas-native ecore-native embryo-native eet-native imlib2-native"
+
+EXTRA_OECONF = "--enable-fb-only"
+
+export EDB_CONFIG = "${STAGING_BINDIR}/edb-config-native"
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config-native"
+export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config-native"
+export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config-native"
+export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config-native"
+export EMBRYO_CONFIG = "${STAGING_BINDIR}/embryo-config-native"
+export IMLIB2_CONFIG = "${STAGING_BINDIR}/imlib2-config-native"
+
+do_stage() {
+  for i in edje edje_ls edje_cc; do
+    install -m 0755 src/bin/$i ${STAGING_BINDIR}
+  done
+  oe_libinstall -C src/lib libedje ${STAGING_LIBDIR}/  
+}
+
diff --git a/legacy/edje/edje.oe b/legacy/edje/edje.oe
new file mode 100644 (file)
index 0000000..79ed2f3
--- /dev/null
@@ -0,0 +1,40 @@
+DESCRIPTION = "Edje is a graphical layout and animation library for animated \
+resizable, compressed and scalable themes."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "evas ecore embryo eet imlib2"
+PV = "0.5.0"
+PR = "1"
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+  
+SRC_URI = "file://./"
+S = "${WORKDIR}/edje"
+  
+inherit autotools pkgconfig binconfig
+
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
+export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config"
+export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config"
+export EMBRYO_CONFIG = "${STAGING_BINDIR}/embryo-config"
+export IMLIB2_CONFIG = "${STAGING_BINDIR}/imlib2-config"
+
+LEAD_SONAME = "libedje.so"
+
+do_stage () {
+  oe_libinstall -C src/lib libedje ${STAGING_LIBDIR}/
+  install -m 0644 ${S}/src/lib/Edje.h ${STAGING_INCDIR}/
+}
+
+PACKAGES += "edje-tools edje-compiler"
+
+FILES_${PN} = "${libdir}/libedje*.so*"
+FILES_${PN}-dev += "${bindir}/edje-config ${libdir}/pkgconfig"
+FILES_${PN}-compiler = "${bindir}/edje_cc ${datadir}/edje/data/include"
+FILES_${PN}-tools = "${bindir}/edje ${bindir}/edje_ls ${datadir}/edje/data/test"
+
diff --git a/legacy/eet/eet-native.oe b/legacy/eet/eet-native.oe
new file mode 100644 (file)
index 0000000..bce9f86
--- /dev/null
@@ -0,0 +1,17 @@
+DESCRIPTION = "EET is a tiny library designed to write an \
+arbitary set of chunks of data to a file and optionally compress \
+each chunk (very much like a zip file) and allow fast \
+random-access reading of the file later on."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include eet.oe
+inherit native
+DEPENDS = "zlib-native jpeg-native"
+
+do_stage () {
+  install -m 0755 src/bin/.libs/eet ${STAGING_BINDIR}
+  oe_libinstall -C src/lib libeet ${STAGING_LIBDIR}/
+  install -m 0644 ${S}/src/lib/Eet.h ${STAGING_INCDIR}/
+}
diff --git a/legacy/eet/eet.oe b/legacy/eet/eet.oe
new file mode 100644 (file)
index 0000000..4e84676
--- /dev/null
@@ -0,0 +1,29 @@
+DESCRIPTION = "EET is a tiny library designed to write an \
+arbitary set of chunks of data to a file and optionally compress \
+each chunk (very much like a zip file) and allow fast \
+random-access reading of the file later on."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "zlib jpeg"
+PV = "0.9.9"
+PR = "1"
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+
+SRC_URI = "file://./"
+S = "${WORKDIR}/eet"
+
+inherit autotools pkgconfig binconfig
+
+do_stage () {
+  oe_libinstall -C src/lib libeet ${STAGING_LIBDIR}/
+  install -m 0644 ${S}/src/lib/Eet.h ${STAGING_INCDIR}/
+}
+
+FILES_${PN} = "${libdir}/libeet*.so*"
+FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig"
diff --git a/legacy/embryo/embryo-native.oe b/legacy/embryo/embryo-native.oe
new file mode 100644 (file)
index 0000000..0d30784
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "Embryo is a tiny library designed to provide a virutal \
+machine system for executing small pieces of code logic very quickly."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include embryo.oe
+inherit native
+DEPENDS = ""
+
+do_stage () {
+  install -m 0755 src/bin/.libs/embryo ${STAGING_BINDIR}
+  install -m 0755 src/bin/embryo_cc ${STAGING_BINDIR}
+  oe_libinstall -C src/lib libembryo ${STAGING_LIBDIR}/
+  install -m 0644 ${S}/src/lib/Embryo.h ${STAGING_INCDIR}/
+}
diff --git a/legacy/embryo/embryo.oe b/legacy/embryo/embryo.oe
new file mode 100644 (file)
index 0000000..9ebdf31
--- /dev/null
@@ -0,0 +1,32 @@
+DESCRIPTION = "Embryo is a tiny library designed to provide a virutal \
+machine system for executing small pieces of code logic very quickly."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = ""
+PV = "0.9.1"
+PR = "1"
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+  
+SRC_URI = "file://./"
+S = "${WORKDIR}/embryo"
+  
+inherit autotools pkgconfig binconfig
+
+do_stage () {
+  oe_libinstall -C src/lib libembryo ${STAGING_LIBDIR}
+  install -m 0644 ${S}/src/lib/Embryo.h ${STAGING_INCDIR}
+}
+
+PACKAGES += "embryo-tools emebryo-compiler"
+
+FILES_${PN} = "${libdir}/libembryo*.so*"
+FILES_${PN}-dev += "${bindir}/embryo-bin ${libdir}/pkgconfig"
+FILES_${PN}-compiler += "${bindir}/embryo_cc ${datadir}"
+FILES_${PN}-tools += "${bindir}/embryo"
+
index b755cb2..4567843 100644 (file)
@@ -114,24 +114,21 @@ AC_ARG_WITH(qtdir,
 AC_ARG_WITH(freetype-config,
 [  --with-freetype-config=FREETYPE_CONFIG    use freetype-config specified ],
 [ 
-  PROG_CONFIG=$withval;
-  echo "using "$PROG_CONFIG" for freetype-config";
+  FREETYPE_CONFIG=$withval;
+  echo "using "$FREETYPE_CONFIG" for freetype-config";
 ],[
  PROG="freetype-config";
- AC_PATH_PROG(PROG_CONFIG, $PROG, "", $PATH)
+ AC_PATH_PROG(FREETYPE_CONFIG, $PROG, "", $PATH)
 ])
-if [ test -n "$FREETYPE_CONFIG" ]; then
-  PROG_CONFIG=$FREETYPE_CONFIG;
-fi
-if [ test -z "$PROG_CONFIG" ]; then
+if [ test -z "$FREETYPE_CONFIG" ]; then
   echo $PROG " is not in your \$PATH. Please ensure it is.";
   echo "You may need to install the librarya and/or development packages";
   echo "that contain this configure-script.";
   echo "FATAL ERROR. ABORT.";
   exit -1;
 fi
-freetype_cflags=`$PROG_CONFIG --cflags`
-freetype_libs=`$PROG_CONFIG --libs`
+freetype_cflags=`$FREETYPE_CONFIG --cflags`
+freetype_libs=`$FREETYPE_CONFIG --libs`
 
 #####################################################################
 ## Engines
diff --git a/legacy/evas/evas-native.oe b/legacy/evas/evas-native.oe
new file mode 100644 (file)
index 0000000..ec9151e
--- /dev/null
@@ -0,0 +1,20 @@
+DESCRIPTION = "Evas is a clean display canvas API for several target display \
+systems that can draw anti-aliased text, smooth super and sub-sampled scaled \
+images, alpha-blend objects much and more."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include evas.oe
+inherit native
+DEPENDS = "libpng-native jpeg-native eet-native freetype-native"
+
+export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config-native"
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config-native"
+
+do_stage () {
+  for i in ${headers}; do
+    install -m 0644 ${S}/src/lib/$i ${STAGING_INCDIR}/
+  done
+  oe_libinstall -C src/lib libevas ${STAGING_LIBDIR}/
+}
diff --git a/legacy/evas/evas.oe b/legacy/evas/evas.oe
new file mode 100644 (file)
index 0000000..e346d2d
--- /dev/null
@@ -0,0 +1,90 @@
+DESCRIPTION = "Evas is a clean display canvas API for several target display \
+systems that can draw anti-aliased text, smooth super and sub-sampled scaled \
+images, alpha-blend objects much and more."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "libpng jpeg eet freetype"
+PV = "evas-1.0.0_pre13"
+PR = "1"
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+  
+SRC_URI = "file://./"
+S = "${WORKDIR}/evas"
+  
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--enable-fb                    \
+               --disable-directfb              \
+               --enable-buffer                 \
+               --disable-software-qtopia       \
+               --enable-software-x11           \
+               --disable-gl-x11                \
+               --disable-cairo-x11             \
+               --enable-image-loader-eet       \
+               --disable-image-loader-edb      \
+               --enable-image-loader-png       \
+               --enable-image-loader-jpeg      \
+               --enable-small-dither-mask      \
+               --enable-cpu-c                  \
+               --enable-font-loader-eet        \
+               --enable-scale-sample           \
+               --enable-scale-smooth           \
+               --enable-convert-yuv            \
+               --disable-small-dither-mask     \
+               --disable-convert-8-rgb-332     \
+               --disable-convert-8-rgb-666     \
+               --disable-convert-8-rgb-232     \
+               --disable-convert-8-rgb-222     \
+               --disable-convert-8-rgb-221     \
+               --disable-convert-8-rgb-121     \
+               --disable-convert-8-rgb-111     \
+               --enable-convert-16-rgb-565     \
+               --disable-convert-16-rgb-555    \
+               --disable-convert-16-rgb-444    \
+               --disable-convert-16-rgb-ipq    \
+               --enable-convert-16-rgb-rot-0   \
+               --disable-convert-16-rgb-rot-90 \
+               --enable-convert-16-rgb-rot-270 \
+               --disable-convert-24-rgb-888    \
+               --disable-convert-24-bgr-888    \
+               --disable-convert-32-rgb-8888   \
+               --disable-convert-32-rgbx-8888  \
+               --disable-convert-32-bgr-8888   \
+               --disable-convert-32-bgrx-8888  \
+               --disable-convert-32-rgb-rot-0  \
+               --disable-convert-32-rgb-rot-90 \
+               --disable-convert-32-rgb-rot-270"
+
+export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config"
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
+
+do_configure () {
+  autotools_do_configure
+}
+
+headers = "Evas_Engine_Buffer.h \
+           Evas_Engine_Software_X11.h \
+           Evas_Engine_FB.h \
+           Evas.h"
+
+do_stage () {
+  for i in ${headers}; do
+    install -m 0644 ${S}/src/lib/$i ${STAGING_INCDIR}/
+  done
+  oe_libinstall -C src/lib libevas ${STAGING_LIBDIR}/
+}
+
+PACKAGES += "evas-examples"
+
+FILES_${PN} = "${libdir}/libevas*.so*"
+FILES_${PN}-dev += "${bindir}/evas-config ${libdir}/pkgconfig"
+FILES_${PN}-examples = "${bindir}/evas_fb_test"
+FILES_${PN}-examples += "${bindir}/evas_software_x11_test"
+FILES_${PN}-examples += "${bindir}/evas_buffer_x11_test"
+FILES_${PN}-examples += "${datadir}"