mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
libheif codecs can be dynamically loaded and it is not possible anymore to determine available codecs at compile time. Assume the required codecs are always available.
33 lines
1 KiB
Text
33 lines
1 KiB
Text
--- configure.orig 2024-05-03 00:36:33 UTC
|
|
+++ configure
|
|
@@ -30417,13 +30417,13 @@ if test "x$have_libheif" = xyes; then
|
|
can_import_avif=no
|
|
can_export_avif=no
|
|
if test "x$have_libheif" = xyes; then
|
|
- can_import_heic=`$PKG_CONFIG --variable=builtin_h265_decoder libheif`
|
|
- can_export_heic=`$PKG_CONFIG --variable=builtin_h265_encoder libheif`
|
|
+ can_import_heic=yes
|
|
+ can_export_heic=yes
|
|
if test "x$can_import_heic" = xyes; then
|
|
MIME_TYPES="$MIME_TYPES;image/heif;image/heic"
|
|
fi
|
|
- can_import_avif=`$PKG_CONFIG --variable=builtin_avif_decoder libheif`
|
|
- can_export_avif=`$PKG_CONFIG --variable=builtin_avif_encoder libheif`
|
|
+ can_import_avif=yes
|
|
+ can_export_avif=yes
|
|
if test "x$can_import_avif" = xyes; then
|
|
MIME_TYPES="$MIME_TYPES;image/avif"
|
|
fi
|
|
@@ -34797,9 +34797,9 @@ esac
|
|
;;
|
|
esac
|
|
|
|
-gimpdatadir="$datadir/$PACKAGE/2.0"
|
|
-gimpplugindir="$libdir/$PACKAGE/2.0"
|
|
-gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
|
|
+gimpdatadir="$datadir/$PACKAGE"
|
|
+gimpplugindir="$libexecdir/$PACKAGE/2.2"
|
|
+gimpsysconfdir="$sysconfdir/$PACKAGE/2.2"
|
|
|
|
|
|
|