Files
meta-openembedded/meta-networking/recipes-support
Martin Jansa 2a61bddded spice-gtk: respect gobject-introspection-data
* without gobject-introspection-data in DISTRO_FEATURES the bbclass
  correctly disables it:

  $ bitbake-getvar -r spice-gtk EXTRA_OEMESON
  #
  # $EXTRA_OEMESON [6 operations]
  #   :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/meson.bbclass:44
  #     " ${PACKAGECONFIG_CONFARGS}"
  #   :prepend[class-target] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:28
  #     "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}"
  #   :prepend[class-native] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:33
  #     "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
  #   :prepend[class-nativesdk] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:34
  #     "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
  #   set /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:49
  #     "-Dpie=true -Dvapi=enabled"
  #   :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:50
  #     " -Dcoroutine=libucontext"
  # pre-expansion value:
  #   "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}-Dpie=true -Dvapi=enabled ${PACKAGECONFIG_CONFARGS}"
  EXTRA_OEMESON="-Dintrospection=false -Dpie=true -Dvapi=enabled "

  and prevents build failure:
  http://errors.yoctoproject.org/Errors/Details/702789/
  Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig)
  ../git/meson.build:346:0: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig

* it just needs GIR_MESON_*_FLAG to be set to avoid:
  meson.build:4:0: ERROR: Value "false" (of type "string") for combo option "Check for GObject instrospection requirements" is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto".

* and enable vapi only when introspection is enabled, use PACKAGECONFIG for that to avoid:
  meson.build:358:4: ERROR: Problem encountered: VAPI support requested without introspection

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
..
2021-12-10 09:11:56 -08:00
2021-08-03 10:21:25 -07:00
2022-08-15 16:27:53 -07:00
2021-08-03 10:21:25 -07:00
2023-03-25 08:54:59 -07:00
2023-03-23 16:57:01 -07:00
2023-04-02 10:06:48 -07:00
2023-02-16 19:33:29 -08:00
2022-03-21 08:25:11 -07:00
2023-02-18 13:19:36 -08:00
2023-04-04 13:39:46 -07:00
2020-11-09 20:49:52 -08:00
2023-02-18 13:19:36 -08:00
2022-08-30 00:14:58 -07:00
2022-05-24 08:39:45 -07:00
2023-03-23 21:46:12 -07:00
2023-04-04 13:39:46 -07:00
2022-08-30 00:14:58 -07:00
2023-02-01 09:11:49 -08:00
2023-05-07 12:16:21 -04:00
2023-01-25 08:51:25 -08:00
2023-04-04 13:39:46 -07:00
2023-03-22 09:10:39 -07:00
2021-08-03 10:21:25 -07:00
2023-03-17 07:06:55 -07:00
2022-12-05 09:16:24 -08:00
2022-08-25 23:08:11 -07:00
2023-03-06 08:41:13 -08:00
2023-03-09 23:45:17 -08:00
2023-01-17 01:05:52 -08:00
2023-03-23 15:03:43 -07:00
2023-02-10 13:48:53 -08:00
2022-08-15 16:27:53 -07:00