upgpkg: 3.1.0-1

This commit is contained in:
Daniel Bermond
2026-04-03 13:53:03 -03:00
parent 1c79b40454
commit b63cac8151
2 changed files with 20 additions and 8 deletions
+16 -4
View File
@@ -1,8 +1,8 @@
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=vmaf
pkgver=3.0.0
pkgrel=2
pkgver=3.1.0
pkgrel=1
pkgdesc='Perceptual video quality assessment algorithm based on multi-method fusion'
arch=('x86_64')
url='https://github.com/Netflix/vmaf/'
@@ -17,11 +17,23 @@ makedepends=(
checkdepends=(
'vim')
source=("https://github.com/Netflix/vmaf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('7178c4833639e6b989ecae73131d02f70735fdb3fc2c7d84bc36c9c3461d93b1')
sha256sums=('80090e29d7fd0db472ddc663513f5be89bc936815e62b767e630c1d627279fe2')
build() {
local _jobs
local _max_jobs='20'
_jobs="$(nproc)"
# may fail to compile on a high core count system
if [ "$_jobs" > "$_max_jobs" ]
then
local _jobs="$_max_jobs"
printf '%s\n' "limiting the compilation jobs to ${_jobs}"
fi
arch-meson -Denable_avx512='false' "${pkgname}-${pkgver}/libvmaf" build
meson compile -C build
meson compile -C build --jobs "$_jobs"
}
check() {