Magellan Linux

Contents of /smage/trunk/core/imlib2/imlib2-1.4.4-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1883 - (show annotations) (download)
Fri Sep 30 11:06:59 2011 UTC (12 years, 7 months ago) by niro
File size: 1104 byte(s)
auto added: ver bump to 1.4.4-r3
1 # $Id$
2
3 PNAME="imlib2"
4 PVER="1.4.4"
5 PBUILD="r3"
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 MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so
25 usr/$(mlibdir)/*.so.*
26 usr/$(mlibdir)/imlib2/loaders/*.so
27 usr/$(mlibdir)/imlib2/filters/*.so"
28 sminclude mbuild mcore-split
29
30 SRC_URI=(
31 sourceforge://enlightenment/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 mirror://${PNAME}/${PNAME}-${PVER}-libpng-1.5.patch
34 )
35
36 UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # fix build against libpng-1.5
44 mpatch ${PNAME}-${PVER}-libpng-1.5.patch || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 mconfigure --sysconfdir=/etc/X11/imlib --with-x || die
52 mmake || die
53 }