34 lines
969 B
Bash
34 lines
969 B
Bash
# Template file for 'libheif'
|
|
pkgname=libheif
|
|
version=1.16.2
|
|
revision=2
|
|
build_style=cmake
|
|
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="https://github.com/strukturag/libheif"
|
|
changelog="https://github.com/strukturag/libheif/releases"
|
|
distfiles="https://github.com/strukturag/libheif/archive/v${version}.tar.gz"
|
|
checksum=d207f2ff5c86e6af3621c237f186130b985b7a9ff657875944b58ac5d27ba71c
|
|
|
|
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/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libheif-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man
|
|
vmove usr/share/thumbnailers
|
|
}
|
|
}
|