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

Daniel Bermond dbermond at archlinux.org
Tue Jun 30 23:46:42 UTC 2020


    Date: Tuesday, June 30, 2020 @ 23:46:38
  Author: dbermond
Revision: 657215

upgpkg: vmaf 1.5.2-1

Modified:
  vmaf/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-30 23:45:12 UTC (rev 657214)
+++ PKGBUILD	2020-06-30 23:46:38 UTC (rev 657215)
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Bermond <dbermond at archlinux.org>
 
 pkgname=vmaf
-pkgver=1.5.1
+pkgver=1.5.2
 pkgrel=1
 pkgdesc='Perceptual video quality assessment algorithm based on multi-method fusion'
 arch=('x86_64')
@@ -10,12 +10,8 @@
 depends=('gcc-libs')
 makedepends=('meson')
 source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/Netflix/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('9267b40223ac8d67fb6b99726ce7ed3925b9843f18ad5aa8ffbe2fe873e45cbe')
+sha256sums=('5f7785da0b0d66b2513ce11d3f81d0a9b3f79d49483c4652fde3a31c13f644da')
 
-prepare() {
-    mkdir -p "${pkgname}-${pkgver}/libvmaf/build"
-}
-
 build() {
     arch-meson "${pkgname}-${pkgver}/libvmaf/build" "${pkgname}-${pkgver}/libvmaf"
     ninja -v -C "${pkgname}-${pkgver}/libvmaf/build"
@@ -27,13 +23,6 @@
 
 package() {
     DESTDIR="$pkgdir" ninja -v -C "${pkgname}-${pkgver}/libvmaf/build" install
-    
-    local _bin
-    install -D -m755 "${pkgname}-${pkgver}/libvmaf/build/tools/vmaf" -t "${pkgdir}/usr/bin"
-    for _bin in moment ms_ssim psnr ssim
-    do
-        install -D -m755 "${pkgname}-${pkgver}/libvmaf/build/tools/${_bin}" "${pkgdir}/usr/bin/vmaf-${_bin}"
-    done
-    
+    install -D -m755 "${pkgname}-${pkgver}/libvmaf/build/tools"/vmaf_{feature,rc} -t "${pkgdir}/usr/bin"
     install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list