2020-04-07 15:46:12 +00:00
|
|
|
# A list of sources that contain public API; these are the sources that
|
|
|
|
# will be introspected for the GdkX11 namespace.
|
|
|
|
#
|
2017-03-19 19:54:29 +00:00
|
|
|
# Note: gdksettings.c gets included from xsettings-client.c, do not add here
|
2020-04-07 15:46:12 +00:00
|
|
|
gdk_x11_public_sources = files([
|
2017-03-19 19:54:29 +00:00
|
|
|
'gdkcursor-x11.c',
|
|
|
|
'gdkdevice-xi2.c',
|
|
|
|
'gdkdevicemanager-x11.c',
|
|
|
|
'gdkdevicemanager-xi2.c',
|
|
|
|
'gdkdisplay-x11.c',
|
|
|
|
'gdkglcontext-x11.c',
|
|
|
|
'gdkkeys-x11.c',
|
|
|
|
'gdkmonitor-x11.c',
|
|
|
|
'gdkproperty-x11.c',
|
|
|
|
'gdkscreen-x11.c',
|
|
|
|
'gdkselection-x11.c',
|
|
|
|
'gdkvisual-x11.c',
|
2018-03-20 10:46:11 +00:00
|
|
|
'gdksurface-x11.c',
|
2017-03-19 19:54:29 +00:00
|
|
|
'gdkxid.c',
|
|
|
|
'xsettings-client.c',
|
|
|
|
])
|
|
|
|
|
2020-04-07 15:46:12 +00:00
|
|
|
# All sources
|
|
|
|
gdk_x11_sources = gdk_x11_public_sources + [
|
|
|
|
'gdkapplaunchcontext-x11.c',
|
|
|
|
'gdkasync.c',
|
|
|
|
'gdkcairocontext-x11.c',
|
|
|
|
'gdkclipboard-x11.c',
|
|
|
|
'gdkdrag-x11.c',
|
|
|
|
'gdkdrop-x11.c',
|
|
|
|
'gdkeventsource.c',
|
|
|
|
'gdkeventtranslator.c',
|
|
|
|
'gdkmain-x11.c',
|
|
|
|
'gdkselectioninputstream-x11.c',
|
|
|
|
'gdkselectionoutputstream-x11.c',
|
|
|
|
'gdktextlistconverter-x11.c',
|
|
|
|
'gdkvulkancontext-x11.c',
|
|
|
|
'gdkxftdefaults.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Public headers; will be installed and introspected
|
2017-03-19 19:54:29 +00:00
|
|
|
gdk_x11_public_headers = files([
|
|
|
|
'gdkx-autocleanups.h',
|
|
|
|
'gdkx11applaunchcontext.h',
|
|
|
|
'gdkx11device-xi2.h',
|
|
|
|
'gdkx11device.h',
|
|
|
|
'gdkx11devicemanager-xi2.h',
|
|
|
|
'gdkx11devicemanager.h',
|
|
|
|
'gdkx11display.h',
|
|
|
|
'gdkx11dnd.h',
|
|
|
|
'gdkx11glcontext.h',
|
|
|
|
'gdkx11monitor.h',
|
|
|
|
'gdkx11property.h',
|
|
|
|
'gdkx11screen.h',
|
|
|
|
'gdkx11selection.h',
|
|
|
|
'gdkx11utils.h',
|
2018-03-20 10:46:11 +00:00
|
|
|
'gdkx11surface.h',
|
2017-03-19 19:54:29 +00:00
|
|
|
])
|
|
|
|
|
2019-05-06 18:09:03 +00:00
|
|
|
install_headers(gdk_x11_public_headers, 'gdkx.h', subdir: 'gtk-4.0/gdk/x11/')
|
2017-03-19 19:54:29 +00:00
|
|
|
|
|
|
|
gdk_x11_deps = [
|
|
|
|
xrender_dep,
|
|
|
|
xi_dep,
|
|
|
|
xext_dep,
|
|
|
|
x11_dep,
|
|
|
|
xcursor_dep,
|
2020-05-27 18:53:10 +00:00
|
|
|
xdamage_dep,
|
2017-03-19 19:54:29 +00:00
|
|
|
xfixes_dep,
|
|
|
|
xcomposite_dep,
|
|
|
|
xrandr_dep,
|
2017-03-24 11:34:49 +00:00
|
|
|
xinerama_dep,
|
2017-03-19 19:54:29 +00:00
|
|
|
]
|
2017-03-20 00:37:09 +00:00
|
|
|
|
2018-07-23 11:49:31 +00:00
|
|
|
libgdk_x11 = static_library('gdk-x11', gdkmarshal_h,
|
2017-04-26 16:04:20 +00:00
|
|
|
gdk_x11_sources, gdkconfig, gdkenum_h,
|
|
|
|
include_directories: [ confinc, gdkinc, ],
|
|
|
|
c_args: [
|
2019-11-27 13:33:43 +00:00
|
|
|
'-DGTK_COMPILATION',
|
2017-04-26 16:04:20 +00:00
|
|
|
'-DG_LOG_DOMAIN="Gdk"',
|
2017-04-28 21:26:32 +00:00
|
|
|
] + common_cflags,
|
2017-04-26 16:04:20 +00:00
|
|
|
dependencies: [ gdk_deps, gdk_x11_deps, ])
|