mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/libavif to 1.0.0-1
This commit is contained in:
parent
4d248c9396
commit
6128c475e6
1 changed files with 9 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
# - set -DAVIF_CODEC_SVT=OFF
|
||||
|
||||
pkgname=libavif
|
||||
pkgver=0.11.1
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Library for encoding and decoding .avif files"
|
||||
arch=(x86_64)
|
||||
|
@ -13,8 +13,14 @@ url="https://github.com/AOMediaCodec/libavif"
|
|||
license=(BSD)
|
||||
depends=(glibc aom dav1d rav1e zlib libpng libjpeg libyuv)
|
||||
makedepends=(cmake nasm pkgconf gdk-pixbuf2)
|
||||
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=('0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e')
|
||||
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
https://github.com/AOMediaCodec/libavif/commit/26224fe4.patch)
|
||||
sha256sums=('410f85cf0d13f403b41197c0774da469f5d73b89aa06d40fc726165377f215a0'
|
||||
'e94f3473b7b18a9192c8a0edc32757657e0583a5044a3bca6534d9ec2ace88e1')
|
||||
|
||||
prepare() {
|
||||
patch -d ${pkgname}-${pkgver} -p1 < 26224fe4.patch # Fix build
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S ${pkgname}-${pkgver} \
|
||||
|
|
Loading…
Reference in a new issue