1 # Maintainer: Daniel Bermond <dbermond@archlinux.org>
6 pkgdesc='Perceptual video quality assessment algorithm based on multi-method fusion'
8 url='https://github.com/Netflix/vmaf/'
11 makedepends=('meson' 'nasm' 'vim' 'doxygen')
13 source=("https://github.com/Netflix/vmaf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
14 sha256sums=('8d60b1ddab043ada25ff11ced821da6e0c37fd7730dd81c24f1fc12be7293ef2')
17 arch-meson "${pkgname}-${pkgver}/libvmaf/build" "${pkgname}-${pkgver}/libvmaf"
18 ninja -v -C "${pkgname}-${pkgver}/libvmaf/build"
22 ninja -v -C "${pkgname}-${pkgver}/libvmaf/build" test
26 DESTDIR="$pkgdir" ninja -v -C "${pkgname}-${pkgver}/libvmaf/build" install
27 install -D -m755 "${pkgname}-${pkgver}/libvmaf/build/tools/vmafossexec" -t "${pkgdir}/usr/bin"
28 install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
29 cp -dr --no-preserve='ownership' "${pkgname}-${pkgver}/model" "${pkgdir}/usr/share"