Magellan Linux

Contents of /smage/branches/alx07x-stable/extras/libvpx/libvpx-1.6.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10097 - (show annotations) (download)
Thu Aug 3 14:50:56 2017 UTC (6 years, 8 months ago) by niro
File size: 968 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="libvpx"
4 PVER="1.6.1"
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 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
19 sminclude mbuild multilib 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='$(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 }