mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-08 19:50:21 +00:00
build: Ensure introspection data points to the right header
We have different header files for different sections of our API, including introspection.
This commit is contained in:
parent
4904491b77
commit
3cb8a976a6
@ -916,7 +916,6 @@ libgtk_dep = declare_dependency(sources: [gtkversion, gtktypebuiltins_h],
|
|||||||
# Introspection
|
# Introspection
|
||||||
if not meson.is_cross_build()
|
if not meson.is_cross_build()
|
||||||
gir_args = [
|
gir_args = [
|
||||||
'--c-include=gtk/gtk.h',
|
|
||||||
'--quiet',
|
'--quiet',
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -930,6 +929,7 @@ if not meson.is_cross_build()
|
|||||||
includes: [ 'Gio-2.0', 'GdkPixbuf-2.0', 'Pango-1.0', 'cairo-1.0', ],
|
includes: [ 'Gio-2.0', 'GdkPixbuf-2.0', 'Pango-1.0', 'cairo-1.0', ],
|
||||||
install: true,
|
install: true,
|
||||||
extra_args: gir_args + [
|
extra_args: gir_args + [
|
||||||
|
'--c-include=gdk/gdk.h',
|
||||||
'-DGDK_COMPILATION',
|
'-DGDK_COMPILATION',
|
||||||
])
|
])
|
||||||
gdk_gir_dep = declare_dependency(sources: gdk_gir)
|
gdk_gir_dep = declare_dependency(sources: gdk_gir)
|
||||||
@ -964,6 +964,7 @@ if not meson.is_cross_build()
|
|||||||
install: true,
|
install: true,
|
||||||
dependencies: gdk_gir_dep,
|
dependencies: gdk_gir_dep,
|
||||||
extra_args: gir_args + [
|
extra_args: gir_args + [
|
||||||
|
'--c-include=gsk/gsk.h',
|
||||||
'--include-uninstalled=./gtk/Gdk-4.0.gir',
|
'--include-uninstalled=./gtk/Gdk-4.0.gir',
|
||||||
'-DGSK_COMPILATION',
|
'-DGSK_COMPILATION',
|
||||||
])
|
])
|
||||||
@ -985,6 +986,7 @@ if not meson.is_cross_build()
|
|||||||
install: true,
|
install: true,
|
||||||
dependencies: gsk_gir_dep,
|
dependencies: gsk_gir_dep,
|
||||||
extra_args: gir_args + [
|
extra_args: gir_args + [
|
||||||
|
'--c-include=gtk/gtk.h',
|
||||||
'--include-uninstalled=./gtk/Gdk-4.0.gir',
|
'--include-uninstalled=./gtk/Gdk-4.0.gir',
|
||||||
'--include-uninstalled=./gtk/Gsk-4.0.gir',
|
'--include-uninstalled=./gtk/Gsk-4.0.gir',
|
||||||
'-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API',
|
'-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API',
|
||||||
|
Loading…
Reference in New Issue
Block a user