Magellan Linux

Annotation of /trunk/extras/libvpx/libvpx-1.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30646 - (hide annotations) (download)
Fri Feb 9 13:33:03 2018 UTC (6 years, 3 months ago) by niro
File size: 933 byte(s)
auto added: ver bump to 1.7.0-r1
1 niro 30646 # $Id$
2    
3     PNAME="libvpx"
4     PVER="1.7.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=">= sys-libs/libstdc++-5.3"
13     SDEPEND=">= dev-lang/yasm-1.3"
14    
15     SRCFILE="v${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild multilib mbuild yasm
19     msetfeature "!check" # no check target in Makefile
20    
21     SRC_URI=(
22     https://github.com/webmproject/${PNAME}/archive/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2SEPERATOR="v"
27     UP2DATE="updatecmd https://github.com/webmproject/${PNAME}/releases | highesttarball gz"
28    
29     src_compile()
30     {
31     # non standard configure
32     all-abis ./configure \
33     --prefix=/usr \
34     --libdir=/usr/'$(mlibdir)' \
35     --target='$(mget-yasm-arch-tuple)' \
36     --enable-shared \
37     --enable-vp8 \
38     --enable-vp9 \
39     --enable-runtime-cpu-detect \
40     --enable-postproc \
41     --enable-pic \
42     --disable-install-docs \
43     --disable-install-srcs \
44     || die
45    
46     mmake || die
47     }