Contents of /smage/trunk/core/imlib2/imlib2-1.4.5-r1.smage2
Parent Directory | Revision Log
Revision 3861 -
(show annotations)
(download)
Thu Jul 19 18:46:47 2012 UTC (11 years, 10 months ago) by niro
File size: 1007 byte(s)
Thu Jul 19 18:46:47 2012 UTC (11 years, 10 months ago) by niro
File size: 1007 byte(s)
auto added: ver bump to 1.4.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="imlib2" |
4 | PVER="1.4.5" |
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/libpng-1.5 |
14 | >= x11-libs/libXext-1 |
15 | >= sys-libs/zlib-1.2" |
16 | |
17 | SDEPEND=">= x11-proto/xextproto-1" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* |
23 | usr/$(mlibdir)/imlib2/loaders/*.so |
24 | usr/$(mlibdir)/imlib2/filters/*.so" |
25 | sminclude mbuild multilib alx-split |
26 | |
27 | SRC_URI=( |
28 | sourceforge://enlightenment/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src" |
33 | |
34 | src_compile() |
35 | { |
36 | # alx: want zlib/png only |
37 | local opts="--without-gif --without-tiff --without-bzip2 --without-id3" |
38 | mconfigure \ |
39 | --sysconfdir=/etc/X11/imlib \ |
40 | --enable-visibility-hiding \ |
41 | --with-x \ |
42 | --disable-mmx \ |
43 | --disable-amd64 \ |
44 | ${opts} \ |
45 | || die |
46 | |
47 | mmake || die |
48 | } |