void-packages/srcpkgs/libheif/template
newbluemoon b7e08e80a3 libheif-devel: depends on libde265-devel
libde265 is required in its .pc-file
2020-12-30 14:06:08 -03:00

36 lines
935 B
Bash

# Template file for 'libheif'
pkgname=libheif
version=1.10.0
revision=3
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config libtool"
makedepends="libjpeg-turbo-devel libpng-devel libde265-devel"
short_desc="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-3.0-or-later"
homepage="http://www.libheif.org"
distfiles="https://github.com/strukturag/libheif/archive/v${version}.tar.gz"
checksum=317a44bf157ba297638ab5a258040ef6ec4895d620cd58f52195f3f89c9eea28
pre_configure() {
./autogen.sh
}
libheif-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} libde265-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
libheif-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}