mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 14:45:33 +08:00
29 lines
876 B
Bash
29 lines
876 B
Bash
# 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}"
|
|
}
|