Contents of /smage/trunk/core/imlib2/imlib2-1.4.4-r2.smage2
Parent Directory | Revision Log
Revision 1390 -
(show annotations)
(download)
Tue Mar 1 19:22:59 2011 UTC (13 years, 7 months ago) by niro
File size: 1121 byte(s)
Tue Mar 1 19:22:59 2011 UTC (13 years, 7 months ago) by niro
File size: 1121 byte(s)
-added patch to fix build against libpng-1.5
1 | # $Id$ |
2 | |
3 | PNAME="imlib2" |
4 | PVER="1.4.4" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Imlib2 is the successor to Imlib. It is not just a newer version - it is a completely new library." |
11 | HOMEPAGE="http://enlightenment.org/" |
12 | |
13 | DEPEND=">= media-libs/freetype-2.4 |
14 | >= media-libs/libtiff-3.9 |
15 | >= media-libs/giflib-4.1.6 |
16 | >= media-libs/libpng-1.5 |
17 | >= media-libs/libjpeg-8 |
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 | MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so |
26 | usr/$(mlibdir)/*.so.* |
27 | usr/$(mlibdir)/imlib2/loaders/*.so |
28 | usr/$(mlibdir)/imlib2/filters/*.so" |
29 | sminclude mbuild mcore-split |
30 | |
31 | SRC_URI=( |
32 | sourceforge://enlightenment/${SRCFILE} |
33 | mirror://${PNAME}/${SRCFILE} |
34 | mirror://${PNAME}/${PNAME}-${PVER}-libpng-1.5.patch |
35 | ) |
36 | |
37 | UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src" |
38 | |
39 | src_prepare() |
40 | { |
41 | munpack ${SRCFILE} || die |
42 | cd ${SRCDIR} |
43 | |
44 | # fix build against libpng-1.5 |
45 | mpatch ${PNAME}-${PVER}-libpng-1.5.patch || die |
46 | } |
47 | |
48 | src_compile() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | mconfigure --sysconfdir=/etc/X11/imlib --with-x || die |
53 | mmake || die |
54 | } |