libvpx6: update to 1.9.0
This commit is contained in:
parent
6b07696c42
commit
8f47108b6f
1 changed files with 12 additions and 11 deletions
|
@ -1,34 +1,35 @@
|
||||||
# Template file for 'libvpx6'
|
# Template file for 'libvpx6'
|
||||||
pkgname=libvpx6
|
pkgname=libvpx6
|
||||||
version=1.8.2
|
version=1.9.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=libvpx-${version}
|
wrksrc=libvpx-${version}
|
||||||
hostmakedepends="perl yasm"
|
hostmakedepends="perl yasm"
|
||||||
short_desc="VP8 and VP9 video codec"
|
short_desc="VP8 and VP9 video codec"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="q66 <daniel@octaforge.org>"
|
||||||
license="BSD-3-Clause-Clear"
|
license="BSD-3-Clause-Clear"
|
||||||
homepage="http://www.webmproject.org"
|
homepage="http://www.webmproject.org"
|
||||||
distfiles="https://github.com/webmproject/libvpx/archive/v${version}.tar.gz"
|
distfiles="https://github.com/webmproject/libvpx/archive/v${version}.tar.gz"
|
||||||
checksum=8735d9fcd1a781ae6917f28f239a8aa358ce4864ba113ea18af4bb2dc8b474ac
|
checksum=d279c10e4b9316bf11a570ba16c3d55791e1ad6faa4404c67422eb631782c80a
|
||||||
replaces="libvpx<1.8.0"
|
replaces="libvpx<1.8.0"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
export LD="$CC"
|
export LD="$CC"
|
||||||
|
local target args
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
x86_64*) target="x86_64-linux-gcc" ;;
|
||||||
aarch64*) _cross="--target=arm64-linux-gcc";;
|
i686*) target="x86-linux-gcc" ;;
|
||||||
armv7*) _cross="--target=armv7-linux-gcc";;
|
armv7*) target="armv7-linux-gcc"; args="--disable-neon" ;;
|
||||||
*) _cross="--target=generic-gnu";;
|
aarch64*) target="arm64-linux-gcc" ;;
|
||||||
esac
|
*) target="generic-gnu";;
|
||||||
fi
|
esac
|
||||||
CFLAGS+=" -fPIC"
|
CFLAGS+=" -fPIC"
|
||||||
|
|
||||||
./configure --enable-vp8 --enable-vp9 \
|
./configure --enable-vp8 --enable-vp9 \
|
||||||
--enable-experimental \
|
--enable-experimental \
|
||||||
--enable-runtime-cpu-detect --enable-shared \
|
--enable-runtime-cpu-detect --enable-shared \
|
||||||
--enable-postproc --enable-pic --disable-install-docs \
|
--enable-postproc --enable-pic --disable-install-docs \
|
||||||
--disable-install-srcs --as=yasm ${_cross}
|
--disable-install-srcs --as=yasm ${args} --target=${target}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue