biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / applications / graphics / gimp / force-enable-libheif.patch
blobde3dfb09b95e841332fe65d758059c579ae637c2
1 diff --git a/configure.ac b/configure.ac
2 index 48c3c77892..3189781817 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -1843,13 +1843,13 @@ can_export_heic=no
6 can_import_avif=no
7 can_export_avif=no
8 if test "x$have_libheif" = xyes; then
9 - can_import_heic=`$PKG_CONFIG --variable=builtin_h265_decoder libheif`
10 - can_export_heic=`$PKG_CONFIG --variable=builtin_h265_encoder libheif`
11 + can_import_heic=yes
12 + can_export_heic=yes
13 if test "x$can_import_heic" = xyes; then
14 MIME_TYPES="$MIME_TYPES;image/heif;image/heic"
16 - can_import_avif=`$PKG_CONFIG --variable=builtin_avif_decoder libheif`
17 - can_export_avif=`$PKG_CONFIG --variable=builtin_avif_encoder libheif`
18 + can_import_avif=yes
19 + can_export_avif=yes
20 if test "x$can_import_avif" = xyes; then
21 MIME_TYPES="$MIME_TYPES;image/avif"