summaryrefslogtreecommitdiff
path: root/imlib2
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
commit61ab96a9c42457d982168c1ddd1621cab8694e72 (patch)
treec826c2c62a20d1fbf6a9fb8f72b6d01d59945186 /imlib2
parent72dd8bd4262e58a39a0304d12562436f088f3a8e (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 17:47:35+02:00 uni-frankfurt.de!mickey fix meta-e 2004/07/31 14:10:13+02:00 uni-frankfurt.de!mickey the E Widget Library now builds 2004/07/31 13:52:36+02:00 uni-frankfurt.de!mickey edje now builds (insert applause.wav here) 2004/07/31 04:15:52+02:00 uni-frankfurt.de!mickey fix prefix and exec-prefix bug 2004/07/31 04:15:16+02:00 uni-frankfurt.de!mickey migrate enlightenment (and friends) to binconfig.oeclass 2004/07/31 04:12:47+02:00 uni-frankfurt.de!mickey add binconfig.oeclass. This class cleans up the situation with packages utilizing foo-config scripts to gather cflags and libs etc. This class does a) eliminate the need for boiler plate code in the .oe files and b) differentiates between native and non-native packages which previously stepped on each other's toe because both kinds of packages wanted to install their foo-configs into STAGING_DIR. native packages now use foo-config-native. this class has been tested w/ the enlightenment stuff (evas,eet,edb,etox,imlib2,freetype,edje). please migrate .oe packages to it when you have a chance. 2004/07/31 02:43:44+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 01:27:45+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/30 17:44:51+02:00 uni-frankfurt.de!mickey on the way to edje-native: complete edb-native and add ecore-native BKrev: 410bbff3H9FfStU2Nxq1H1ECuGhU-Q
Diffstat (limited to 'imlib2')
-rw-r--r--imlib2/imlib2-native_1.1.0.oe15
-rw-r--r--imlib2/imlib2_1.1.0.oe30
2 files changed, 45 insertions, 0 deletions
diff --git a/imlib2/imlib2-native_1.1.0.oe b/imlib2/imlib2-native_1.1.0.oe
index e69de29bb2..b748ec062d 100644
--- a/imlib2/imlib2-native_1.1.0.oe
+++ b/imlib2/imlib2-native_1.1.0.oe
@@ -0,0 +1,15 @@
+include imlib2_${PV}.oe
+inherit native
+DEPENDS = "freetype-native x11-native xext-native"
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/imlib2-${PV}"
+
+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}/
+}
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}/
+}