summaryrefslogtreecommitdiff
path: root/imlib2/imlib2_1.1.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'imlib2/imlib2_1.1.0.oe')
-rw-r--r--imlib2/imlib2_1.1.0.oe30
1 files changed, 30 insertions, 0 deletions
diff --git a/imlib2/imlib2_1.1.0.oe b/imlib2/imlib2_1.1.0.oe
index e69de29bb2..258b0eb779 100644
--- a/imlib2/imlib2_1.1.0.oe
+++ b/imlib2/imlib2_1.1.0.oe
@@ -0,0 +1,30 @@
+DESCRIPTION = "A graphic library for file loading, saving, rendering, and \
+manipulation."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "freetype x11 xext"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/imlib2-${PV}.tar.gz \
+ file://cross.patch;patch=1 \
+ file://gcc34.patch;patch=1 \
+ file://pkglibdir.patch;patch=1 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/imlib2-${PV}"
+
+inherit autotools pkgconfig binconfig
+
+# FIXME: enable mmx for archs that support it, or patch imlib's
+# configure script to check and see if it can compile assembly
+# that uses mmx instructions.
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
+ --x-libraries=${STAGING_LIBDIR} \
+ --disable-mmx"
+
+do_configure () {
+ rm -f ${S}/libltdl/acinclude.m4
+ autotools_do_configure
+}
+
+do_stage () {
+ oe_libinstall -a -so -C src libImlib2 ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/Imlib2.h ${STAGING_INCDIR}/
+}