summaryrefslogtreecommitdiff
path: root/imlib2/imlib2_1.1.0.oe
blob: 48033cfdb4daa840a90febad88d21e843c35cee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SECTION = "x11/libs"
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}/
}