aboutsummaryrefslogtreecommitdiffstats
path: root/community/aom/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/aom/APKBUILD')
-rw-r--r--community/aom/APKBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/community/aom/APKBUILD b/community/aom/APKBUILD
index 65b661b375..76ea3be972 100644
--- a/community/aom/APKBUILD
+++ b/community/aom/APKBUILD
@@ -2,15 +2,16 @@
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=aom
pkgver=1.0.0
-pkgrel=1
+pkgrel=3
pkgdesc="Alliance for Open Media (AOM) AV1 codec SDK"
url="https://aomedia.org/"
arch="all"
license="custom"
-options="!check" # No test suite from upstream
+options="net !check" # tests require a lot of time
makedepends="cmake perl python3 yasm"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="$pkgname-$pkgver.tar.gz::https://aomedia.googlesource.com/aom/+archive/v$pkgver-errata1-avif.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://aomedia.googlesource.com/aom/+archive/v$pkgver-errata1-avif.tar.gz
+ fix-stack-size-e53da0b.patch"
case "$CARCH" in
ppc64le) makedepends="$makedepends linux-headers" ;;
@@ -36,6 +37,15 @@ build() {
make
}
+check() {
+ cd aom_build
+ local _testdata="$builddir"/test_data
+ mkdir -p $_testdata
+ export LIBAOM_TEST_DATA_PATH=$_testdata
+ make -j8 testdata
+ make -j4 runtests
+}
+
package() {
cd aom_build
@@ -55,4 +65,5 @@ unpack() {
-C "$builddir" > /dev/null
}
-sha512sums="ea5226a72c048ee460ee798083990cbed91341875bb2998263d67078c3317efbe523f71d6b8dae420cf6691216befa9117f73a90132b4f5b09ed0f470f658e06 aom-1.0.0.tar.gz"
+sha512sums="accf23a65f896ed111c2c781eae155838719e904d4ba59059c9151b446a3fa9ce6d2a40fb5df8e5096fd5346aa71a82241f451aa241a07decb5fa5be41393c96 aom-1.0.0.tar.gz
+573a6c9cd1e9c71a0612f750fb1b69ee65ab86364d3aa78ef51b8fb20633c69b97026d0685dedeabb51f31d0dab7c651d1fe5c72e0dc9f14b8ed2704584934a9 fix-stack-size-e53da0b.patch"