Magellan Linux

Contents of /trunk/extras/libvpx/libvpx-1.3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22268 - (show annotations) (download)
Thu Sep 18 07:37:01 2014 UTC (9 years, 9 months ago) by niro
File size: 703 byte(s)
-fixed SRC_URI and SRCFILE
1 # $Id$
2
3 PNAME="libvpx"
4 PVER="1.3.0"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="WebM VP8 Codec SDK."
10 HOMEPAGE="http://www.webmproject.org/"
11
12 DEPEND=">= virtual/glibc"
13 SDEPEND=">= dev-lang/yasm-1.3"
14
15 SRCFILE="${PNAME}-v${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild multilib
19
20 SRC_URI=(
21 http://webm.googlecode.com/files/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz"
26
27 src_compile()
28 {
29 mconfigure \
30 --enable-vp8 \
31 --enable-vp9 \
32 --enable-runtime-cpu-detect \
33 --enable-postproc \
34 --enable-pic \
35 --disable-install-docs \
36 --disable-install-srcs \
37 || die
38
39 mmake || die
40 }