Contents of /smage/branches/alx-0_6_0/core/imlib2/imlib2-1.4.4-r1.smage2
Parent Directory | Revision Log
Revision 2506 -
(show annotations)
(download)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 1208 byte(s)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 1208 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 | # $Id$ |
2 | |
3 | PNAME="imlib2" |
4 | PVER="1.4.4" |
5 | PBUILD="r1" |
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 | ALX_ONLY_KEEP="usr/$(mlibdir)/*.so |
25 | usr/$(mlibdir)/*.so.* |
26 | usr/$(mlibdir)/imlib2/loaders/*.so |
27 | usr/$(mlibdir)/imlib2/filters/*.so" |
28 | sminclude mbuild alx-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 | # want zlib/jpeg/png only |
52 | local opts="--without-gif --without-tiff --without-bzip2 --without-id3" |
53 | mconfigure --sysconfdir=/etc/X11/imlib --with-x ${opts} || die |
54 | mmake || die |
55 | } |