Skip to content

Commit eed882c

Browse files
committed
add libx265-dev as well
also needed by libheif.pc
1 parent f1aa528 commit eed882c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run:
3131
sudo apt-get update -qq -o Acquire::Retries=3
3232

33-
# libaom-dev and libde265-dev are required by the libheif.pc in
33+
# libaom-dev, libde265-dev, libx265-dev are required by the libheif.pc in
3434
# libheif-dev in the ppa, but not listed as deps in the debian package
3535
# see https://github.com/strukturag/libheif/issues/404
3636
- name: Install platform dependencies
@@ -51,6 +51,7 @@ jobs:
5151
libtiff5-dev
5252
libaom-dev
5353
libde265-dev
54+
libx265-dev
5455
libheif-dev
5556
libexpat1-dev
5657
libcfitsio-dev

configure.ac

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,6 @@ AC_ARG_WITH([heif],
848848
AS_HELP_STRING([--without-heif], [build without libheif (default: test)]))
849849

850850
if test x"$with_heif" != x"no"; then
851-
echo trying to detect libheif
852-
pkg-config --exists --print-errors "libheif >= 1.3.0"
853-
854851
PKG_CHECK_MODULES(HEIF, libheif >= 1.3.0,
855852
[with_heif=yes
856853
have_h265_decoder=`$PKG_CONFIG libheif --variable builtin_h265_decoder`
@@ -870,6 +867,7 @@ if test x"$with_heif" != x"no"; then
870867
PACKAGES_USED="$PACKAGES_USED libheif"
871868
],
872869
[AC_MSG_WARN([libheif >= 1.3.0 not found; disabling HEIF support])
870+
pkg-config --exists --print-errors "libheif >= 1.3.0"
873871
with_heif=no
874872
have_h265_decoder=
875873
have_h265_encoder=

0 commit comments

Comments
 (0)