Magellan Linux

Contents of /branches/R11-stable/extras/libvpx/libvpx-1.3.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22917 - (show annotations) (download)
Tue Oct 28 09:12:39 2014 UTC (9 years, 6 months ago) by niro
File size: 899 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libvpx"
4 PVER="1.3.0"
5 PBUILD="r2"
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}-v${PVER}"
17
18 sminclude mbuild multilib yasm
19 msetfeature "!check" # no check target in Makefile
20
21 SRC_URI=(
22 http://webm.googlecode.com/files/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz"
27
28 src_compile()
29 {
30 # non standard configure
31 all-abis ./configure \
32 --prefix=/usr \
33 --libdir=/usr/'$(mlibdir)' \
34 --target='$(yasm_arch_tuple)' \
35 --enable-shared \
36 --enable-vp8 \
37 --enable-vp9 \
38 --enable-runtime-cpu-detect \
39 --enable-postproc \
40 --enable-pic \
41 --disable-install-docs \
42 --disable-install-srcs \
43 || die
44
45 mmake || die
46 }