[arch-commits] Commit in vmaf/repos (2 files)

Daniel Bermond dbermond at gemini.archlinux.org
Thu Feb 17 17:33:31 UTC 2022


    Date: Thursday, February 17, 2022 @ 17:33:31
  Author: dbermond
Revision: 1133785

archrelease: copy trunk to community-staging-x86_64

Added:
  vmaf/repos/community-staging-x86_64/
  vmaf/repos/community-staging-x86_64/PKGBUILD
    (from rev 1133784, vmaf/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: vmaf/repos/community-staging-x86_64/PKGBUILD (from rev 1133784, vmaf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-02-17 17:33:31 UTC (rev 1133785)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=vmaf
+pkgver=2.3.0
+pkgrel=1
+pkgdesc='Perceptual video quality assessment algorithm based on multi-method fusion'
+arch=('x86_64')
+url='https://github.com/Netflix/vmaf/'
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('meson' 'nasm' 'vim' 'doxygen')
+options=('!lto')
+source=("https://github.com/Netflix/vmaf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('d8dcc83f8e9686e6855da4c33d8c373f1735d87294edbd86ed662ba2f2f89277')
+
+build() {
+    arch-meson "${pkgname}-${pkgver}/libvmaf/build" "${pkgname}-${pkgver}/libvmaf"
+    ninja -v -C "${pkgname}-${pkgver}/libvmaf/build"
+}
+
+check() {
+    ninja -v -C "${pkgname}-${pkgver}/libvmaf/build" test
+}
+
+package() {
+    DESTDIR="$pkgdir" ninja -v -C "${pkgname}-${pkgver}/libvmaf/build" install
+    install -D -m755 "${pkgname}-${pkgver}/libvmaf/build/tools/vmafossexec" -t "${pkgdir}/usr/bin"
+    install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+    cp -dr --no-preserve='ownership' "${pkgname}-${pkgver}/model" "${pkgdir}/usr/share"
+}



More information about the arch-commits mailing list