void-packages/srcpkgs/libheif/template

28 lines
746 B
Bash
Raw Normal View History

2019-07-22 16:58:14 +02:00
# Template file for 'libheif'
pkgname=libheif
2019-08-26 21:20:29 +02:00
version=1.5.0
2019-07-22 16:58:14 +02:00
revision=1
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config libtool"
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"
2019-08-26 21:20:29 +02:00
checksum=0c1e0d8aee04f9b41550eb3fb013a649dcbaf52603fa18bc9b212e5d811fd91a
2019-07-22 16:58:14 +02:00
pre_configure() {
./autogen.sh
}
libheif-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}