Commit 1486d234 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] dav1d: import as vlc new optdeps

parent 174e2a3b
Pipeline #2241 skipped
# Contributions from Arch:
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgname=dav1d
pkgver=0.1.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')
makedepends=('meson' 'ninja' 'nasm' 'doxygen')
provides=('libdav1d.so')
source=(${pkgname}-${pkgver}.tar.bz2::https://code.videolan.org/videolan/dav1d/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('923f78d17aed08252608790eaed06a3d530763168fd6a8fc74e3306d7e01e6a5')
build() {
cd ${pkgbase}-${pkgver}
chakra-meson build
ninja -C build
}
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}"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment