# $Id$ PNAME="libvpx" PVER="1.7.0" PBUILD="r1" PCAT="media-libs" DESCRIPTION="WebM VP8 Codec SDK." HOMEPAGE="http://www.webmproject.org/" DEPEND=">= sys-libs/libstdc++-5.3" SDEPEND=">= dev-lang/yasm-1.3" SRCFILE="v${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild multilib mbuild yasm msetfeature "!check" # no check target in Makefile SRC_URI=( https://github.com/webmproject/${PNAME}/archive/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR="v" UP2DATE="updatecmd https://github.com/webmproject/${PNAME}/releases | highesttarball gz" src_compile() { # non standard configure all-abis ./configure \ --prefix=/usr \ --libdir=/usr/'$(mlibdir)' \ --target='$(mget-yasm-arch-tuple)' \ --enable-shared \ --enable-vp8 \ --enable-vp9 \ --enable-runtime-cpu-detect \ --enable-postproc \ --enable-pic \ --disable-install-docs \ --disable-install-srcs \ || die mmake || die }