[arch-commits] Commit in dav1d/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 8 21:01:47 UTC 2019


    Date: Thursday, August 8, 2019 @ 21:01:47
  Author: anthraxx
Revision: 359348

archrelease: copy trunk to staging-x86_64

Added:
  dav1d/repos/staging-x86_64/
  dav1d/repos/staging-x86_64/PKGBUILD
    (from rev 359347, dav1d/trunk/PKGBUILD)

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

Copied: dav1d/repos/staging-x86_64/PKGBUILD (from rev 359347, dav1d/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-08-08 21:01:47 UTC (rev 359348)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=dav1d
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='AV1 cross-platform decoder focused on speed and correctness'
+url='https://code.videolan.org/videolan/dav1d/'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'sdl2' 'libplacebo' 'libplacebo.so' 'vulkan-icd-loader')
+makedepends=('meson' 'ninja' 'nasm' 'doxygen' 'vulkan-headers')
+provides=('libdav1d.so')
+source=(https://downloads.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz{,.asc})
+sha512sums=('8ed44b3d747f01b87b34f86fada824dfb7f86c16168af641fe754c767af5714e9fe212b6eea2bc11b5b041460184c78f755e10d4947e46bc70d95e1bd750f79d'
+            'SKIP')
+validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  arch-meson build
+  ninja -C build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}/build
+  meson test
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list