From e22a17db30a05a4d01242de816e0036975c4001f Mon Sep 17 00:00:00 2001 From: heftig Date: Thu, 11 May 2023 18:08:38 +0000 Subject: [PATCH] 3.6.1-1 git-svn-id: file:///srv/repos/svn-packages/svn@477625 eb2447ed-0c53-47e4-bac8-5bc4a241df78 --- aom/trunk/PKGBUILD | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/aom/trunk/PKGBUILD b/aom/trunk/PKGBUILD index 8f011a0debd..750419583ec 100644 --- a/aom/trunk/PKGBUILD +++ b/aom/trunk/PKGBUILD @@ -2,34 +2,54 @@ # Contributor: Chocobo1 pkgbase=aom -pkgname=(aom aom-docs) -pkgver=3.6.0 +pkgname=( + aom + aom-docs +) +pkgver=3.6.1 pkgrel=1 pkgdesc="Alliance for Open Media video codec" url="https://aomedia.org/" arch=(x86_64) -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=('bf97c74f3e59e3cc2431e7b7e3494beffde1b659d1a8f8775b4b47da0c7314b8bf5b9bdf14a9d1d47a8378271f49c9e26676e73509f9e910f1d5a01e79b575bc' +license=( + BSD + custom:PATENTS +) +depends=( + gcc-libs +) +makedepends=( + cmake + doxygen + ninja + yasm +) +source=( + https://storage.googleapis.com/aom-releases/libaom-$pkgver.tar.gz{,.asc} +) +b2sums=('c47b748e3dc43e39ecb55c4d61ea3d2d4a889bb8c6c399e29e14269757d271cd759a553f5da765bcdf7cd19546b408fce060d5ed3fb13e3aba4f8d22d612bf29' 'SKIP') -validpgpkeys=(B002F08B74A148DAA01F7123A48E86DB0B830498) # AOMedia release signing key +validpgpkeys=( + B002F08B74A148DAA01F7123A48E86DB0B830498 # AOMedia release signing key +) prepare() { cd libaom-$pkgver } build() { + local cmake_options=( + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_BUILD_TYPE=None + -DBUILD_SHARED_LIBS=1 + -DENABLE_TESTS=0 + ) + # Upstream would like -O3 CFLAGS="${CFLAGS/-O2/-O3}" CXXFLAGS="${CXXFLAGS/-O2/-O3}" - cmake -S libaom-$pkgver -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=None \ - -DBUILD_SHARED_LIBS=1 \ - -DENABLE_TESTS=0 + cmake -S libaom-$pkgver -B build -G Ninja "${cmake_options[@]}" cmake --build build } -- 2.11.4.GIT