Added the change for BitBake the Standardized Openembedded Build System

SVN revision: 12488
This commit is contained in:
emte 2004-12-17 01:19:02 +00:00 committed by emte
parent 4483465c58
commit 38425c5d46
10 changed files with 354 additions and 0 deletions

View File

@ -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/
}

58
legacy/ecore/ecore.bb Normal file
View File

@ -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 diet-x11 xserver-kdrive"
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}"

View File

@ -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}/
}

40
legacy/edje/edje.bb Normal file
View File

@ -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"

17
legacy/eet/eet-native.bb Normal file
View File

@ -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}/
}

29
legacy/eet/eet.bb Normal file
View File

@ -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"

View File

@ -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}/
}

32
legacy/embryo/embryo.bb Normal file
View File

@ -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"

View File

@ -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}/
}

91
legacy/evas/evas.bb Normal file
View File

@ -0,0 +1,91 @@
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 = "2"
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 CFLAGS="-O3 -mcpu=xscale -mtune=xscale"
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}"