extra/libheif to 1.18.0-1

This commit is contained in:
David Beauchamp 2024-07-11 08:41:34 -04:00
parent fc04f976e1
commit 34c28737cf
3 changed files with 10 additions and 16 deletions

View file

@ -1,7 +1,7 @@
pkgbase = libheif
pkgdesc = An HEIF and AVIF file format decoder and encoder
pkgver = 1.17.6
pkgrel = 6
pkgver = 1.18.0
pkgrel = 1
url = https://github.com/strukturag/libheif
arch = x86_64
license = GPL3
@ -25,9 +25,8 @@ pkgbase = libheif
optdepends = ffmpeg: hardware decode
optdepends = rav1e: rav1e encoder
optdepends = svt-av1: svt-av1 encoder
source = https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz
source = https://github.com/strukturag/libheif/commit/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch
sha256sums = 8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee
sha256sums = 53a7eeb0f0f1c9fb076a6f56c6753abf8e30cf625355c54e720cc028ae9c1ce9
provides = libheif.so
source = https://github.com/strukturag/libheif/releases/download/v1.18.0/libheif-1.18.0.tar.gz
sha256sums = 3f25f516d84401d7c22a24ef313ae478781b95f235c250b06152701c401055c3
pkgname = libheif

View file

@ -3,3 +3,4 @@ source = 'github'
github = 'strukturag/libheif'
use_max_tag = true
prefix = 'v'
exclude_regex= '.*(beta|rc).*'

View file

@ -5,12 +5,13 @@
# - remove make/opt depends on svt-av1, -DWITH_SvtEnc=OFF
pkgname=libheif
pkgver=1.17.6
pkgrel=6
pkgver=1.18.0
pkgrel=1
pkgdesc='An HEIF and AVIF file format decoder and encoder'
arch=(x86_64)
url='https://github.com/strukturag/libheif'
license=(GPL3)
provides=('libheif.so')
makedepends=(cmake
dav1d
ffmpeg
@ -31,15 +32,8 @@ optdepends=('libjpeg: for heif-convert and heif-enc'
'rav1e: rav1e encoder')
source=(
https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz
https://github.com/strukturag/libheif/commit/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch
)
sha256sums=('8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee'
'53a7eeb0f0f1c9fb076a6f56c6753abf8e30cf625355c54e720cc028ae9c1ce9')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch # fix build against svt-av1 2.0.0
}
sha256sums=('3f25f516d84401d7c22a24ef313ae478781b95f235c250b06152701c401055c3')
build() {
cmake -B build -S $pkgname-$pkgver \