Contents of /branches/magellan-next/core/imlib2/imlib2-1.4.4-r2.smage2
Parent Directory | Revision Log
Revision 8198 -
(show annotations)
(download)
Wed Jul 13 07:07:09 2011 UTC (13 years, 2 months ago) by niro
File size: 1021 byte(s)
Wed Jul 13 07:07:09 2011 UTC (13 years, 2 months ago) by niro
File size: 1021 byte(s)
-disabled any optimations
1 | # $Id$ |
2 | |
3 | PNAME="imlib2" |
4 | PVER="1.4.4" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | |
9 | DESCRIPTION="Imlib2 is the successor to Imlib. It is not just a newer version - it is a completely new library." |
10 | HOMEPAGE="http://enlightenment.org/" |
11 | |
12 | DEPEND=">= media-libs/freetype-2.4 |
13 | >= media-libs/libtiff-3.9 |
14 | >= media-libs/giflib-4.1.6 |
15 | >= media-libs/libpng-1.5 |
16 | >= media-libs/libjpeg-8 |
17 | >= x11-libs/libXext-1" |
18 | |
19 | SDEPEND=">= x11-proto/xextproto-1" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude mbuild multilib |
25 | |
26 | SRC_URI=( |
27 | sourceforge://enlightenment/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${PNAME}-${PVER}-libpng-1.5.patch |
30 | ) |
31 | |
32 | UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | |
38 | # fix build against libpng-1.5 |
39 | mpatch ${PNAME}-${PVER}-libpng-1.5.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | mconfigure \ |
45 | --sysconfdir=/etc/X11/imlib \ |
46 | --enable-visibility-hiding \ |
47 | --with-x \ |
48 | --disable-mmx \ |
49 | --disable-amd64 \ |
50 | || die |
51 | |
52 | mmake || die |
53 | } |