extra/aom to 3.3.0-1

This commit is contained in:
Kevin Mihelich 2022-02-18 00:17:34 +00:00
parent 30f3edc19e
commit 0689816c30

View file

@ -6,7 +6,7 @@
pkgbase=aom
pkgname=(aom aom-docs)
pkgver=3.2.0
pkgver=3.3.0
pkgrel=1
pkgdesc="Alliance for Open Media video codec"
url="https://aomedia.org/"
@ -15,17 +15,17 @@ license=(BSD custom:PATENTS)
depends=(gcc-libs)
makedepends=(cmake ninja doxygen yasm)
source=(https://storage.googleapis.com/aom-releases/libaom-$pkgver.tar.gz{,.asc})
b2sums=('b247c9092bf3b8080b33671f182b10eea060a2eafd94eeb1b92177d2c7b5c32de2342f9cf1c7e500b28fdac2b00ea8d43b1e56c9d1c8c0efe1bbc4e40285a52a'
b2sums=('22060694019bcd925cb38c365063b8f2be60aed4cc6f9b0aa95cf8b4c4c5b40f5c603359d8c0728c5650fe9f7eea7573b8fd4a93975481c67409b201b4c48428'
'SKIP')
validpgpkeys=(B002F08B74A148DAA01F7123A48E86DB0B830498) # AOMedia release signing key <av1-discuss@aomedia.org>
prepare() {
cd $pkgbase
cd libaom-$pkgver
}
build() {
[[ $CARCH != "aarch64" ]] && CONFIG="-DAOM_TARGET_CPU=generic"
cmake -S . -B build -G Ninja \
cmake -S libaom-$pkgver -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=1 \
-DENABLE_TESTS=0 $CONFIG
@ -37,7 +37,7 @@ package_aom() {
DESTDIR="$pkgdir" cmake --install build
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE PATENTS
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libaom-$pkgver/{LICENSE,PATENTS}
}
package_aom-docs() {
@ -47,7 +47,7 @@ package_aom-docs() {
mkdir -p "$pkgdir/usr/share/doc"
cp -r build/docs/html "$pkgdir/usr/share/doc/$pkgbase"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE PATENTS
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libaom-$pkgver/{LICENSE,PATENTS}
}
# vim:set et sw=2: