[gimp] plug-ins: fix plugin-defs for file-heif.



commit 07a3734db54687ba6e26356dafd65e9bf7a04882
Author: Jehan <jehan girinstud io>
Date:   Sun Jan 17 19:06:33 2021 +0100

    plug-ins: fix plugin-defs for file-heif.
    
    Commit 01e1587ec1 had directly edited the Makefile.am, which was wrong.
    This file is generated by plugin-defs.pl. Add the proper dependencies
    for file-heif and regenerate the Makefile.am.

 plug-ins/common/Makefile.am    | 4 ++--
 plug-ins/common/plugin-defs.pl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index d5035e2766..d9d30be9ca 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -774,12 +774,12 @@ file_heif_LDADD = \
        $(libgimpcolor)         \
        $(libgimpbase)          \
        $(GTK_LIBS)             \
-       $(GEXIV2_LIBS)          \
        $(GEGL_LIBS)            \
        $(LIBHEIF_LIBS)         \
+       $(LCMS_LIBS)            \
+       $(GEXIV2_LIBS)          \
        $(RT_LIBS)              \
        $(INTLLIBS)             \
-       $(LCMS_LIBS)            \
        $(file_heif_RC)
 
 file_html_table_SOURCES = \
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index e6f94316b9..49fbc8824c 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -29,7 +29,7 @@
     'file-gih' => { ui => 1, gegl => 1 },
     'file-glob' => {},
     'file-header' => { ui => 1, gegl => 1 },
-    'file-heif' => { ui => 1, optional => 1, gegl => 1, libs => 'LIBHEIF_LIBS', cflags => 'LIBHEIF_CFLAGS' },
+    'file-heif' => { ui => 1, optional => 1, gegl => 1, libdep => 'GEXIV2:LCMS', libs => 'LIBHEIF_LIBS', 
cflags => 'LIBHEIF_CFLAGS' },
     'file-html-table' => { ui => 1, gegl => 1 },
     'file-jp2-load' => { ui => 1, optional => 1, gegl => 1, libs => 'OPENJPEG_LIBS', cflags => 
'OPENJPEG_CFLAGS' },
     'file-mng' => { ui => 1, gegl => 1, optional => 1, libs => 'MNG_LIBS', cflags => 'MNG_CFLAGS' },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]