39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'libheif'
|
|
pkgname=libheif
|
|
version=1.12.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-option-checking"
|
|
hostmakedepends="automake autoconf pkg-config libtool"
|
|
makedepends="libjpeg-turbo-devel libpng-devel libde265-devel x265-devel
|
|
libaom-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=086145b0d990182a033b0011caadb1b642da84f39ab83aa66d005610650b3c65
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
libheif-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision} libde265-devel x265-devel libaom-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
|
|
}
|
|
}
|