void-packages/srcpkgs/libheif/template

37 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
}
}