void-packages/srcpkgs/libheif/template
2021-02-15 01:43:17 +01:00

37 lines
978 B
Bash

# Template file for 'libheif'
pkgname=libheif
version=1.11.0
revision=1
build_style=gnu-configure
configure_args="--disable-option-checking"
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=993c3320e179b8fdce983e3a7e96615af3830077be6b0ab28bfa25579df08d26
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
}
}