From 2e1465ff68a8eccd894bd619ca54a7a5c61d8b54 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 24 Sep 2022 17:54:45 +0000 Subject: [PATCH] extra/aom to 3.5.0-1 --- extra/aom/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/extra/aom/PKGBUILD b/extra/aom/PKGBUILD index c91c47d78..533f71ce9 100644 --- a/extra/aom/PKGBUILD +++ b/extra/aom/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=aom pkgname=(aom aom-docs) -pkgver=3.4.0 +pkgver=3.5.0 pkgrel=1 pkgdesc="Alliance for Open Media video codec" url="https://aomedia.org/" @@ -16,7 +16,7 @@ depends=(gcc-libs) makedepends=(cmake ninja doxygen yasm) options=(debug) source=(https://storage.googleapis.com/aom-releases/libaom-$pkgver.tar.gz{,.asc}) -b2sums=('7a38cc1a1871f044018a8ebf5022810b753b099ad61e0c6e2625a0480946e8b5e066fd1e1abc5523e817025c8a59d6f1092c12d632c5b602cf3a80f6ef8daa0e' +b2sums=('d47ddb864c909c972f692667177417daef0350124a096547eacc83ab3630227fe7a23e95f3988a2109c580f9a87ba30a58bcc58be1a2e24fe694eb01655a4861' 'SKIP') validpgpkeys=(B002F08B74A148DAA01F7123A48E86DB0B830498) # AOMedia release signing key @@ -25,9 +25,14 @@ prepare() { } build() { + # Upstream would like -O3 + CFLAGS="${CFLAGS/-O2/-O3}" + CXXFLAGS="${CXXFLAGS/-O2/-O3}" + [[ $CARCH != "aarch64" ]] && CONFIG="-DAOM_TARGET_CPU=generic" cmake -S libaom-$pkgver -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ -DBUILD_SHARED_LIBS=1 \ -DENABLE_TESTS=0 $CONFIG cmake --build build @@ -51,4 +56,4 @@ package_aom-docs() { install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libaom-$pkgver/{LICENSE,PATENTS} } -# vim:set et sw=2: +# vim:set sw=2 sts=-1 et: