libaom: update to 2.0.0.

This commit is contained in:
Érico Rolim 2020-07-12 22:36:53 -03:00 committed by Johannes
parent 972d725701
commit c81d5ba917
4 changed files with 33 additions and 21 deletions

View file

@ -3501,7 +3501,7 @@ libticalcs2.so.12 libticalcs2-1.1.9_1
libhtmlcxx.so.3 htmlcxx-0.86_1
libcss_parser_pp.so.0 htmlcxx-0.86_1
libcss_parser.so.0 htmlcxx-0.86_1
libaom.so.0 libaom-1.0.0_1
libaom.so.2 libaom-2.0.0_1
libre.so re-0.5.8_1
libspandsp.so.2 spandsp-0.0.6_1
libspa-alsa.so libspa-alsa-0.3.6_1

View file

@ -1,14 +0,0 @@
add entry for 1.0.0 release to fix version in pkg-config file
--- CHANGELOG
+++ CHANGELOG
@@ -3,6 +3,9 @@
The AV1 encoder's default keyframe interval changed to 128 from 9999.
Support for armv6 was removed.
+2019-03-16 v1.0.0 "AOMedia Codec 1"
+ Current release
+
2016-04-07 v0.1.0 "AOMedia Codec 1"
This release is the first Alliance for Open Media codec.
2015-11-09 v1.5.0 "Javan Whistling Duck"

View file

@ -1,18 +1,43 @@
# Template file for 'libaom'
pkgname=libaom
version=1.0.0.1
revision=2
version=2.0.0
revision=1
create_wrksrc=yes
build_style=cmake
configure_args="-DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF"
configure_args="-DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON"
hostmakedepends="yasm doxygen perl python"
short_desc="AV1 Codec library implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://aomedia.org/"
changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG"
distfiles="https://aomedia.googlesource.com/aom/+archive/v${version%.*}-errata${version##*.}.tar.gz"
checksum=@0f1e812ca6d3b3809bf3f7a12a85b549c96d20bfa72fa606a682541bbc3eaeab
distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"
checksum=@4e8a74ed7e05d5534ab0b72735fa670ce1a1e757bc4a777f07fdabf8629fced1
# aom segfaults with default musl stack size
LDFLAGS="-Wl,-z,stack-size=2097152"
case "$XBPS_TARGET_MACHINE" in
# no runtime detection
arm*) configure_args+=" -DENABLE_NEON=0" ;;
ppc64le*) ;;
ppc*) configure_args+=" -DENABLE_VSX=0" ;;
esac
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DENABLE_TESTS=OFF"
fi
pre_check() {
mkdir -p /host/libaom-test-data
export LIBAOM_TEST_DATA_PATH=/host/libaom-test-data
}
do_check() {
cd build
make runtests ${makejobs}
../test/examples.sh --bin-path examples
}
post_install() {
vlicense LICENSE
@ -25,6 +50,7 @@ libaom-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}

View file

@ -1,3 +1,3 @@
site=https://aomedia.googlesource.com/aom/
pkgname=
pattern="aom/\+/v\K[\d\.]+"
pattern="v\K[\d\.][\d.]+"