aports/testing/libvmaf/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

30 lines
835 B
Text

# Contributor: Sam Nystrom <sam@samnystrom.dev>
# Maintainer: Sam Nystrom <sam@samnystrom.dev>
pkgname=libvmaf
pkgver=3.0.0
pkgrel=0
pkgdesc="Perceptual video quality assessment based on multi-method fusion"
url="https://github.com/Netflix/vmaf"
arch="all"
license="BSD-2-Clause-Patent"
makedepends="meson nasm xxd"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Netflix/vmaf/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/vmaf-$pkgver/libvmaf"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
9e356bb274ce7d5d85a64d2a1a122ea9d267809edd83bb6e663fb348a1a46355882eb9044982bf679f03df7f93c6f66c9b0d9a94661979b2c722db30b21c4f32 libvmaf-3.0.0.tar.gz
"