add libx265-dev as well

also needed by libheif.pc
This commit is contained in:
John Cupitt 2020-12-23 13:10:58 +00:00
parent f1aa5289a7
commit eed882c2a3
2 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,7 @@ jobs:
run:
sudo apt-get update -qq -o Acquire::Retries=3
# libaom-dev and libde265-dev are required by the libheif.pc in
# libaom-dev, libde265-dev, libx265-dev are required by the libheif.pc in
# libheif-dev in the ppa, but not listed as deps in the debian package
# see https://github.com/strukturag/libheif/issues/404
- name: Install platform dependencies
@ -51,6 +51,7 @@ jobs:
libtiff5-dev
libaom-dev
libde265-dev
libx265-dev
libheif-dev
libexpat1-dev
libcfitsio-dev

View File

@ -848,9 +848,6 @@ AC_ARG_WITH([heif],
AS_HELP_STRING([--without-heif], [build without libheif (default: test)]))
if test x"$with_heif" != x"no"; then
echo trying to detect libheif
pkg-config --exists --print-errors "libheif >= 1.3.0"
PKG_CHECK_MODULES(HEIF, libheif >= 1.3.0,
[with_heif=yes
have_h265_decoder=`$PKG_CONFIG libheif --variable builtin_h265_decoder`
@ -870,6 +867,7 @@ if test x"$with_heif" != x"no"; then
PACKAGES_USED="$PACKAGES_USED libheif"
],
[AC_MSG_WARN([libheif >= 1.3.0 not found; disabling HEIF support])
pkg-config --exists --print-errors "libheif >= 1.3.0"
with_heif=no
have_h265_decoder=
have_h265_encoder=