Annotation of /smage/trunk/core/imlib2/imlib2-1.4.10-r2.smage2
Parent Directory | Revision Log
Revision 10425 -
(hide annotations)
(download)
Tue Aug 22 10:57:21 2017 UTC (6 years, 8 months ago) by niro
File size: 1356 byte(s)
Tue Aug 22 10:57:21 2017 UTC (6 years, 8 months ago) by niro
File size: 1356 byte(s)
auto added: ver bump to 1.4.10-r2
1 | niro | 10425 | # $Id$ |
2 | |||
3 | PNAME="imlib2" | ||
4 | PVER="1.4.10" | ||
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.6 | ||
13 | >= media-libs/libpng-1.5 | ||
14 | >= x11-libs/libXext-1.3 | ||
15 | >= sys-libs/zlib-1.2" | ||
16 | |||
17 | ALX_DEV_DEPEND=">= media-libs/freetype-dev-2.6 | ||
18 | >= media-libs/libpng-dev-1.5 | ||
19 | >= x11-libs/libXext-dev-1.3 | ||
20 | >= sys-libs/zlib-dev-1.2" | ||
21 | |||
22 | SDEPEND=">= x11-proto/xextproto-1 | ||
23 | ${ALX_DEV_DEPEND}" | ||
24 | |||
25 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
27 | |||
28 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* | ||
29 | usr/$(mlibdir)/imlib2/loaders/argb.so | ||
30 | usr/$(mlibdir)/imlib2/loaders/jpeg.so | ||
31 | usr/$(mlibdir)/imlib2/loaders/png.so | ||
32 | usr/$(mlibdir)/imlib2/loaders/zlib.so | ||
33 | usr/$(mlibdir)/imlib2/filters/colormod.so | ||
34 | usr/$(mlibdir)/imlib2/filters/bumpmap.so" | ||
35 | sminclude mbuild multilib alx-split | ||
36 | |||
37 | SRC_URI=( | ||
38 | sourceforge://enlightenment/${SRCFILE} | ||
39 | mirror://${PNAME}/${SRCFILE} | ||
40 | ) | ||
41 | |||
42 | UP2TARBALL="${PNAME}" | ||
43 | UP2DATE="updatecmd_sourceforge enlightenment ${PNAME}-src gz" | ||
44 | |||
45 | src_compile() | ||
46 | { | ||
47 | # alx: want zlib/png only | ||
48 | local opts="--without-gif --without-tiff --without-bzip2 --without-id3" | ||
49 | mconfigure \ | ||
50 | --sysconfdir=/etc/X11/imlib \ | ||
51 | --enable-visibility-hiding \ | ||
52 | --with-x \ | ||
53 | --disable-mmx \ | ||
54 | --disable-amd64 \ | ||
55 | ${opts} \ | ||
56 | || die | ||
57 | |||
58 | mmake || die | ||
59 | } |