gnome-shell/subprojects/shew/src/meson.build
Florian Müllner 6baf490aab shew: Add small library for dealing with external windows
In order to support OpenExtensionPrefs()'s parentWindow parameter,
we will need the ability to make a window transient to an external
window identified by a string handle.

This takes the corresponding code from xdg-desktop-portal-gtk and
brings it into an introspectable form, likewise the counterpart in
libportal to export a string handle for a GtkWindow.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1087
2020-03-26 18:32:30 +01:00

30 lines
639 B
Meson

shew_public_headers = files(
'shew-external-window.h',
'shew-window-exporter.h',
)
shew_sources = [
'shew-external-window-wayland.c',
'shew-external-window-x11.c',
'shew-external-window.c',
'shew-window-exporter.c',
]
libshew = library(full_name,
sources: shew_sources,
dependencies: [gtk_dep],
install_dir: pkglibdir,
install: true,
)
libshew_gir = gnome.generate_gir(libshew,
sources: shew_sources + shew_public_headers,
nsversion: api_version,
namespace: 'Shew',
includes: ['Gdk-3.0', 'Gtk-3.0'],
extra_args: ['--quiet'],
install_dir_gir: girdir,
install_dir_typelib: typelibdir,
install: true,
)