Contents of /trunk/extras/libvpx/libvpx-1.6.1-r2.smage2
Parent Directory | Revision Log
Revision 30562 -
(show annotations)
(download)
Mon Jan 29 11:43:33 2018 UTC (6 years, 7 months ago) by niro
File size: 933 byte(s)
Mon Jan 29 11:43:33 2018 UTC (6 years, 7 months ago) by niro
File size: 933 byte(s)
auto added: ver bump to 1.6.1-r2
1 | # $Id$ |
2 | |
3 | PNAME="libvpx" |
4 | PVER="1.6.1" |
5 | PBUILD="r2" |
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 | } |