From 2c41c653c09761aa1820a8168354d15375313663 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 28 Dec 2020 01:25:50 -0500 Subject: [PATCH] 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. --- srcpkgs/libheif-tools | 1 + srcpkgs/libheif/template | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/libheif-tools diff --git a/srcpkgs/libheif-tools b/srcpkgs/libheif-tools new file mode 120000 index 0000000000..0dc6e8f9d4 --- /dev/null +++ b/srcpkgs/libheif-tools @@ -0,0 +1 @@ +libheif \ No newline at end of file diff --git a/srcpkgs/libheif/template b/srcpkgs/libheif/template index b8328e20c5..a69cd71a8a 100644 --- a/srcpkgs/libheif/template +++ b/srcpkgs/libheif/template @@ -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 " 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 + } +}