Contents of /smage/branches/alx07x-stable/extras/libvpx/libvpx-1.9.0-r1.smage2
Parent Directory | Revision Log
Revision 15564 -
(show annotations)
(download)
Thu Sep 10 12:31:45 2020 UTC (4 years ago) by niro
File size: 973 byte(s)
Thu Sep 10 12:31:45 2020 UTC (4 years ago) by niro
File size: 973 byte(s)
-release branches/alx07x-stable
1 | # $Id$ |
2 | |
3 | PNAME="libvpx" |
4 | PVER="1.9.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++-8.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 | } |