[arch-commits] Commit in (vmaf vmaf/repos vmaf/trunk vmaf/trunk/PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Thu Oct 3 12:03:03 UTC 2019


    Date: Thursday, October 3, 2019 @ 12:03:03
  Author: dbermond
Revision: 512493

Initial commit of vmaf

Added:
  vmaf/
  vmaf/repos/
  vmaf/trunk/
  vmaf/trunk/PKGBUILD

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

Added: vmaf/trunk/PKGBUILD
===================================================================
--- vmaf/trunk/PKGBUILD	                        (rev 0)
+++ vmaf/trunk/PKGBUILD	2019-10-03 12:03:03 UTC (rev 512493)
@@ -0,0 +1,28 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=vmaf
+pkgver=1.3.15
+pkgrel=1
+pkgdesc='Perceptual video quality assessment algorithm based on multi-method fusion'
+arch=('x86_64')
+url='https://github.com/netflix/vmaf/'
+license=('Apache')
+depends=('gcc-libs')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/Netflix/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('43bbb484102c4d976da4a10d896fb9a11838c8aa809e9c017d5b3edb225b528d')
+
+build() {
+    make -C "${pkgname}-${pkgver}" all
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    
+    make DESTDIR="$pkgdir" INSTALL_PREFIX='/usr' install
+    
+    # binary executable
+    install -D -m755 wrapper/vmafossexec -t "${pkgdir}/usr/bin"
+    
+    # fix prefixes on pkgconfig file
+    sed -i 's|/usr/local|/usr|g' "${pkgdir}/usr/lib/pkgconfig/libvmaf.pc"
+}



More information about the arch-commits mailing list