From d654973383d2741e4f707b88d820eb5efb410d9c Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 12 Nov 2023 12:35:52 +0100 Subject: [PATCH] gimp: add ghostscript support; fix api-documentation --- recipes-gtk/gimp/gimp_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recipes-gtk/gimp/gimp_git.bb b/recipes-gtk/gimp/gimp_git.bb index d56394a..edae987 100644 --- a/recipes-gtk/gimp/gimp_git.bb +++ b/recipes-gtk/gimp/gimp_git.bb @@ -38,11 +38,14 @@ DEPENDS = " \ DEPENDS:append:libc-musl = " libexecinfo" RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking" -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext features_check gobject-introspection vala +inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gi-docgen features_check gobject-introspection vala GIR_MESON_OPTION = '' VALA_MESON_OPTION = "vala" VALA_MESON_ENABLE_FLAG = "enabled" VALA_MESON_DISABLE_FLAG = "disabled" +GIDOCGEN_MESON_OPTION = "gi-docgen" +GIDOCGEN_MESON_ENABLE_FLAG = "enabled" +GIDOCGEN_MESON_DISABLE_FLAG = "disabled" SRC_URI = " \ git://github.com/GNOME/gimp.git;protocol=https;branch=master \ @@ -59,8 +62,7 @@ PACKAGECONFIG[bzip2] = ",,bzip2" PACKAGECONFIG[cairo-pdf] = "-Dcairo-pdf=enabled,-Dcairo-pdf=disabled" PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no" PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false" -PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript" -PACKAGECONFIG[gi-docgen] = "-Dgi-docgen=enabled,-Dgi-docgen=disabled,gi-docgen-native" +PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript,ghostscript" PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev" PACKAGECONFIG[iso-codes] = ",,iso-codes" PACKAGECONFIG[javascript] = "-Djavascript=enabled,-Djavascript=disabled,gjs" @@ -87,6 +89,7 @@ PACKAGECONFIG ?= " \ alsa \ bzip2 \ cairo-pdf \ + ghostscript \ gudev \ jpeg \ jpeg2000 \ @@ -109,4 +112,3 @@ EXTRA_OEMESON += " \ -Dcan-crosscompile-gir=true \ --buildtype release \ " -