Magellan Linux

Annotation of /branches/R11-stable/extras/imlib2/imlib2-1.4.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21758 - (hide annotations) (download)
Mon Jul 21 09:44:44 2014 UTC (9 years, 9 months ago) by niro
File size: 1058 byte(s)
-release branches/R11-stable
1 niro 20963 # $Id$
2    
3     PNAME="imlib2"
4     PVER="1.4.6"
5     PBUILD="r1"
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}-1.4.5-giflib5.patch
31     )
32    
33     UP2TARBALL="${PNAME}"
34     UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src gz"
35    
36     src_prepare()
37     {
38     munpack ${SRCFILE} || die
39    
40     # fix ftbfs with >= giflib-5.0.0
41     mpatch ${PNAME}-1.4.5-giflib5.patch || die
42     }
43    
44     src_compile()
45     {
46     mconfigure \
47     --sysconfdir=/etc/X11/imlib \
48     --enable-visibility-hiding \
49     --with-x \
50     --disable-mmx \
51     --disable-amd64 \
52     || die
53    
54     mmake || die
55     }