Magellan Linux

Contents of /smage/trunk/core/imlib2/imlib2-1.4.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4259 - (show annotations) (download)
Mon Nov 12 12:02:24 2012 UTC (11 years, 6 months ago) by niro
File size: 1175 byte(s)
-rebuild
1 # $Id$
2
3 PNAME="imlib2"
4 PVER="1.4.5"
5 PBUILD="r2"
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/argb.so
24 usr/$(mlibdir)/imlib2/loaders/jpeg.so
25 usr/$(mlibdir)/imlib2/loaders/png.so
26 usr/$(mlibdir)/imlib2/loaders/zlib.so
27 usr/$(mlibdir)/imlib2/filters/colormod.so
28 usr/$(mlibdir)/imlib2/filters/bumpmap.so"
29 sminclude mbuild multilib alx-split
30
31 SRC_URI=(
32 sourceforge://enlightenment/${SRCFILE}
33 mirror://${PNAME}/${SRCFILE}
34 )
35
36 UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src"
37
38 src_compile()
39 {
40 # alx: want zlib/png only
41 local opts="--without-gif --without-tiff --without-bzip2 --without-id3"
42 mconfigure \
43 --sysconfdir=/etc/X11/imlib \
44 --enable-visibility-hiding \
45 --with-x \
46 --disable-mmx \
47 --disable-amd64 \
48 ${opts} \
49 || die
50
51 mmake || die
52 }