1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Adam Fontenot <fontenot@ucla.edu>
7 pkgdesc='HEIF file format decoder and encoder'
9 url='https://github.com/strukturag/libheif'
11 makedepends=(cmake libjpeg libpng gdk-pixbuf2 svt-av1 rav1e)
12 depends=(libde265 x265 aom dav1d)
13 optdepends=('libjpeg: for heif-convert and heif-enc' 'libpng: for heif-convert and heif-enc'
14 'svt-av1: svt-av1 encoder' 'rav1e: rav1e encoder')
15 source=(https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz)
16 sha256sums=('ac15b54b6d7c315710e156d119b8a1bfc89f29621e99222b2750b1f31c9c3558')
19 cmake -B build -S $pkgname-$pkgver\
20 -DCMAKE_INSTALL_PREFIX=/usr \
26 DESTDIR="$pkgdir" cmake --install build