Annotation of /smage/trunk/extras/libvpx/libvpx-1.6.1-r3.smage2
Parent Directory | Revision Log
Revision 11789 -
(hide annotations)
(download)
Fri Jan 12 10:20:35 2018 UTC (6 years, 3 months ago) by niro
File size: 973 byte(s)
Fri Jan 12 10:20:35 2018 UTC (6 years, 3 months ago) by niro
File size: 973 byte(s)
auto added: ver bump to 1.6.1-r3
1 | niro | 11789 | # $Id$ |
2 | |||
3 | PNAME="libvpx" | ||
4 | PVER="1.6.1" | ||
5 | PBUILD="r3" | ||
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 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" | ||
19 | sminclude multilib mbuild yasm alx-split | ||
20 | msetfeature "!check" # no check target in Makefile | ||
21 | |||
22 | SRC_URI=( | ||
23 | https://github.com/webmproject/${PNAME}/archive/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2SEPERATOR="v" | ||
28 | UP2DATE="updatecmd https://github.com/webmproject/${PNAME}/releases | highesttarball gz" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | # non standard configure | ||
33 | all-abis ./configure \ | ||
34 | --prefix=/usr \ | ||
35 | --libdir=/usr/'$(mlibdir)' \ | ||
36 | --target='$(mget-yasm-arch-tuple)' \ | ||
37 | --enable-shared \ | ||
38 | --enable-vp8 \ | ||
39 | --enable-vp9 \ | ||
40 | --enable-runtime-cpu-detect \ | ||
41 | --enable-postproc \ | ||
42 | --enable-pic \ | ||
43 | --disable-install-docs \ | ||
44 | --disable-install-srcs \ | ||
45 | || die | ||
46 | |||
47 | mmake || die | ||
48 | } |