mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/aom to 1.0.0.errata1+avif-1
This commit is contained in:
parent
c3aca2cea0
commit
954e990c9c
1 changed files with 6 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue