Contents of /trunk/extras/libwebp/libwebp-0.4.3-r2.smage2
Parent Directory | Revision Log
Revision 29210 -
(show annotations)
(download)
Mon May 29 15:47:26 2017 UTC (7 years, 4 months ago) by niro
File size: 759 byte(s)
Mon May 29 15:47:26 2017 UTC (7 years, 4 months ago) by niro
File size: 759 byte(s)
-rebuild against libjpeg-turbo
1 | # $Id$ |
2 | |
3 | PNAME="libwebp" |
4 | PVER="0.4.3" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="WebP library and conversion tools." |
10 | HOMEPAGE="https://developers.google.com/speed/webp/" |
11 | |
12 | DEPEND=">= media-libs/libpng-1.5 |
13 | >= virtual/libjpeg |
14 | >= media-libs/libtiff-4 |
15 | >= media-libs/giflib-5" |
16 | |
17 | SDEPEND=">= virtual/opengl |
18 | >= media-libs/freeglut-3 |
19 | >= media-libs/glu-9" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude mbuild |
25 | |
26 | SRC_URI=( |
27 | http://downloads.webmproject.org/releases/webp/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | UP2DATE="" |
32 | |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | |
37 | mconfigure \ |
38 | --enable-swap-16bit-csp \ |
39 | --enable-experimental \ |
40 | --enable-libwebpmux \ |
41 | --enable-libwebpdemux \ |
42 | --enable-libwebpdecoder \ |
43 | || die |
44 | |
45 | mmake || die |
46 | } |