Contents of /branches/R11-stable/extras/imlib2/imlib2-1.4.5-r3.smage2
Parent Directory | Revision Log
Revision 15173 -
(show annotations)
(download)
Wed Jan 2 10:53:17 2013 UTC (11 years, 8 months ago) by niro
File size: 1037 byte(s)
Wed Jan 2 10:53:17 2013 UTC (11 years, 8 months ago) by niro
File size: 1037 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="imlib2" |
4 | PVER="1.4.5" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="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-4 |
14 | >= media-libs/giflib-5 |
15 | >= media-libs/libpng-1.5 |
16 | >= media-libs/libjpeg-8 |
17 | >= media-libs/libid3tag-0.15.1 |
18 | >= x11-libs/libXext-1" |
19 | |
20 | SDEPEND=">= x11-proto/xextproto-1" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | sminclude mbuild multilib |
26 | |
27 | SRC_URI=( |
28 | sourceforge://enlightenment/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${PNAME}-${PVER}-giflib5.patch |
31 | ) |
32 | |
33 | UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | |
39 | # fix ftbfs with >= giflib-5.0.0 |
40 | mpatch ${PNAME}-${PVER}-giflib5.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | mconfigure \ |
46 | --sysconfdir=/etc/X11/imlib \ |
47 | --enable-visibility-hiding \ |
48 | --with-x \ |
49 | --disable-mmx \ |
50 | --disable-amd64 \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |