diff --git a/extra/aom/PKGBUILD b/extra/aom/PKGBUILD index 1b12558ba..934cde914 100644 --- a/extra/aom/PKGBUILD +++ b/extra/aom/PKGBUILD @@ -5,15 +5,16 @@ # - cmake with -DAOM_TARGET_CPU=generic for !AArch64 pkgname=aom -pkgver=1.0.0.errata1 +pkgver=1.0.0.errata1+avif pkgrel=1 pkgdesc="Alliance for Open Media video codec" url="https://aomedia.org/" arch=(x86_64) license=(BSD custom:PATENTS) depends=(gcc-libs) -makedepends=(git cmake ninja doxygen graphviz yasm) -_commit=add4b15580e410c00c927ee366fa65545045a5d9 # tags/v1.0.0-errata1^0 +makedepends=(git cmake ninja doxygen yasm) +provides=(libaom.so) +_commit=4eb1e7795b9700d532af38a2d9489458a8038233 # tags/v1.0.0-errata1-avif^0 source=("git+https://aomedia.googlesource.com/aom#commit=$_commit") sha256sums=('SKIP') @@ -23,21 +24,16 @@ pkgver() { } prepare() { - mkdir build cd $pkgname - # Reduce docs size - printf '%s\n' >>libs.doxy_template \ - HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes } build() { - cd build [[ $CARCH != "aarch64" ]] && CONFIG="-DAOM_TARGET_CPU=generic" - cmake -G Ninja ../$pkgname \ + cmake -H$pkgname -Bbuild \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=1 \ -DENABLE_TESTS=0 $CONFIG - cmake --build . + cmake --build build } package() {