Annotation of /branches/magellan-next/core/imlib2/imlib2-1.4.4-r2.smage2
Parent Directory | Revision Log
Revision 8193 -
(hide annotations)
(download)
Wed Jul 13 00:33:20 2011 UTC (12 years, 10 months ago) by niro
File size: 939 byte(s)
Wed Jul 13 00:33:20 2011 UTC (12 years, 10 months ago) by niro
File size: 939 byte(s)
-multilib
1 | niro | 8192 | # $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 | niro | 8193 | sminclude mbuild multilib |
25 | niro | 8192 | |
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 --sysconfdir=/etc/X11/imlib --with-x || die | ||
45 | mmake || die | ||
46 | } |