2019-01-12 03:02:25 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable assembly on v5/v6
|
|
|
|
|
|
|
|
pkgname=dav1d
|
2019-12-05 00:53:47 +00:00
|
|
|
pkgver=0.5.2
|
2019-01-12 03:02:25 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='AV1 cross-platform decoder focused on speed and correctness'
|
|
|
|
url='https://code.videolan.org/videolan/dav1d/'
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('BSD')
|
2019-11-11 00:40:05 +00:00
|
|
|
depends=('glibc' 'vulkan-icd-loader')
|
2019-08-10 15:41:35 +00:00
|
|
|
makedepends=('meson' 'ninja' 'nasm' 'doxygen' 'vulkan-headers')
|
2019-01-12 03:02:25 +00:00
|
|
|
provides=('libdav1d.so')
|
2019-06-06 00:54:00 +00:00
|
|
|
source=(https://downloads.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz{,.asc})
|
2019-12-05 00:53:47 +00:00
|
|
|
sha512sums=('255e592256e47305921f8331f3ea7f9792e2c62b981f62a0ee05a342c3c1073ef4b469092252442c9d67294c0d69b03c127a49a73519aee0e37ab6d89e3000c3'
|
2019-06-06 00:54:00 +00:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release Signing Key
|
2019-01-12 03:02:25 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgbase}-${pkgver}
|
|
|
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && meson_options="-Dbuild_asm=false"
|
|
|
|
arch-meson build $meson_options
|
|
|
|
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:
|