archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libheif / repos / extra-x86_64 / PKGBUILD
blob7e30bbe835ce1a8d8a91b056fc6f6c939ed763b9
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Adam Fontenot <fontenot@ucla.edu>
4 pkgname=libheif
5 pkgver=1.12.0
6 pkgrel=2
7 pkgdesc="HEIF file format decoder and encoder"
8 arch=(x86_64)
9 url="https://github.com/strukturag/libheif"
10 license=(GPL3)
11 makedepends=(libjpeg libpng gdk-pixbuf2)
12 depends=(libde265 x265 aom)
13 optdepends=('libjpeg: for heif-convert and heif-enc' 'libpng: for heif-convert and heif-enc')
14 source=(https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz)
15 sha256sums=('e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718')
17 build() {
18   cd $pkgname-$pkgver
19   ./configure --prefix=/usr --enable-static=no
20   make
23 package() {
24   cd $pkgname-$pkgver
25   make DESTDIR="$pkgdir" install