libheif: split tools subpackage, fix dependencies
The heif-enc and heif-convert utilities included with libheif require libpng and libjpeg-turbo, respectively, in order to do any conversions to these common formats. These dependencies have been added, but the command-line tools have been split into a subpackage to avoid needless dependencies in the library package. The libheif shared library refuses to process HEIC files produced by iOS without libde265, so add this dependency as well.
This commit is contained in:
parent
4825ebf381
commit
2c41c653c0
2 changed files with 11 additions and 1 deletions
1
srcpkgs/libheif-tools
Symbolic link
1
srcpkgs/libheif-tools
Symbolic link
|
@ -0,0 +1 @@
|
|||
libheif
|
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'libheif'
|
||||
pkgname=libheif
|
||||
version=1.10.0
|
||||
revision=1
|
||||
revision=2
|
||||
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"
|
||||
|
@ -25,3 +26,11 @@ libheif-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
libheif-tools_package() {
|
||||
short_desc+=" - tools"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/share/man
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue