summaryrefslogtreecommitdiff
path: root/packages/evas
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/evas
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/evas')
-rw-r--r--packages/evas/.mtn2git_empty0
-rw-r--r--packages/evas/evas-fb_0.0.9.007.bb46
-rw-r--r--packages/evas/evas-native_0.9.9.007.bb14
-rw-r--r--packages/evas/evas-x11_0.0.9.007.bb48
-rw-r--r--packages/evas/evas/.mtn2git_empty0
-rw-r--r--packages/evas/evas/pkg.m457
-rw-r--r--packages/evas/evas_0.9.9.007.inc38
7 files changed, 203 insertions, 0 deletions
diff --git a/packages/evas/.mtn2git_empty b/packages/evas/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/evas/.mtn2git_empty
diff --git a/packages/evas/evas-fb_0.0.9.007.bb b/packages/evas/evas-fb_0.0.9.007.bb
index e69de29bb2..26241f7e39 100644
--- a/packages/evas/evas-fb_0.0.9.007.bb
+++ b/packages/evas/evas-fb_0.0.9.007.bb
@@ -0,0 +1,46 @@
+include evas_${PV}.inc
+PR = "r1"
+
+EXTRA_OECONF = "--enable-fb \
+ --disable-directfb \
+ --disable-buffer \
+ --disable-software-qtopia \
+ --disable-software-x11 \
+ --disable-gl-x11 \
+ --enable-image-loader-eet \
+ --enable-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-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"
+
+headers = "Evas_Engine_Buffer.h \
+ Evas_Engine_FB.h \
+ Evas.h"
diff --git a/packages/evas/evas-native_0.9.9.007.bb b/packages/evas/evas-native_0.9.9.007.bb
index e69de29bb2..8ccc3bf2ab 100644
--- a/packages/evas/evas-native_0.9.9.007.bb
+++ b/packages/evas/evas-native_0.9.9.007.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "The Enlightenment Canvas Library"
+include evas_${PV}.bb
+inherit native
+DEPENDS = "freetype-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas"
+
+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}/
+}
+
+#FIXME: Conflicts with zlib-devel on the build machine. Remove it and it builds.
diff --git a/packages/evas/evas-x11_0.0.9.007.bb b/packages/evas/evas-x11_0.0.9.007.bb
index e69de29bb2..a733822b16 100644
--- a/packages/evas/evas-x11_0.0.9.007.bb
+++ b/packages/evas/evas-x11_0.0.9.007.bb
@@ -0,0 +1,48 @@
+include evas_${PV}.inc
+DEPENDS += "x11"
+PR = "r1"
+
+EXTRA_OECONF = "--enable-fb \
+ --disable-directfb \
+ --disable-buffer \
+ --disable-software-qtopia \
+ --enable-software-x11 \
+ --disable-gl-x11 \
+ --enable-image-loader-eet \
+ --enable-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-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"
+
+headers = "Evas_Engine_Software_X11.h \
+ Evas_Engine_Buffer.h \
+ Evas_Engine_FB.h \
+ Evas.h"
diff --git a/packages/evas/evas/.mtn2git_empty b/packages/evas/evas/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/evas/evas/.mtn2git_empty
diff --git a/packages/evas/evas/pkg.m4 b/packages/evas/evas/pkg.m4
index e69de29bb2..c80e0acfc4 100644
--- a/packages/evas/evas/pkg.m4
+++ b/packages/evas/evas/pkg.m4
@@ -0,0 +1,57 @@
+
+dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
+dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
+dnl also defines GSTUFF_PKG_ERRORS on error
+AC_DEFUN(PKG_CHECK_MODULES, [
+ succeeded=no
+
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ AC_MSG_CHECKING(for $2)
+
+ if $PKG_CONFIG --exists "$2" ; then
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+
+ AC_MSG_CHECKING($1_CFLAGS)
+ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
+ AC_MSG_RESULT($$1_CFLAGS)
+
+ AC_MSG_CHECKING($1_LIBS)
+ $1_LIBS=`$PKG_CONFIG --libs "$2"`
+ AC_MSG_RESULT($$1_LIBS)
+ else
+ $1_CFLAGS=""
+ $1_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+ ifelse([$4], ,echo $$1_PKG_ERRORS,)
+ fi
+
+ AC_SUBST($1_CFLAGS)
+ AC_SUBST($1_LIBS)
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
+ fi
+ fi
+
+ if test $succeeded = yes; then
+ ifelse([$3], , :, [$3])
+ else
+ ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
+ fi
+])
+
+
diff --git a/packages/evas/evas_0.9.9.007.inc b/packages/evas/evas_0.9.9.007.inc
index e69de29bb2..9e3c5f4c2f 100644
--- a/packages/evas/evas_0.9.9.007.inc
+++ b/packages/evas/evas_0.9.9.007.inc
@@ -0,0 +1,38 @@
+DESCRIPTION = "Evas is a hardware-accelerated canvas API that can draw \
+anti-aliased text, smooth super and sub-images, alpha-blend, as well as drop \
+down to using normal X11 primitives such as pixmaps, lines and rectangles if \
+your CPU or graphics hardware are too slow."
+LICENSE = "MIT"
+HOMEPAGE = "http://www.enlightenment.org"
+SECTION = "e/libs"
+PRIORITY = "optional"
+PROVIDES = "virtual/evas"
+DEPENDS = "libpng jpeg edb eet freetype"
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/evas-${PV}.tar.gz \
+ file://pkg.m4"
+S = "${WORKDIR}/evas-${PV}"
+
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "<override me>"
+
+do_configure () {
+ install -m 0644 ${WORKDIR}/pkg.m4 acinclude.m4
+ autotools_do_configure
+}
+
+headers = "<override me>"
+
+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 ${datadir}"