gnome-shell/subprojects/shew/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

28 lines
737 B
Meson

project('shew', 'c',
version: '3.36.0',
meson_version: '>= 0.47.0',
license: 'LGPLv2+',
)
assert(meson.is_subproject(), 'This project is only intended to be used as a subproject!')
gnome = import('gnome')
pkg = import('pkgconfig')
api_version = '0'
full_name = '@0@-@1@'.format(meson.project_name(), api_version)
package_version = meson.project_version()
package_name = get_option('package_name')
assert(package_name != '', 'package_name must be specified')
pkgdatadir = join_paths(get_option('datadir'), package_name)
pkglibdir = join_paths(get_option('libdir'), package_name)
girdir = join_paths(pkgdatadir, 'gir-1.0')
typelibdir = join_paths(pkglibdir, 'girepository-1.0')
gtk_dep = dependency('gtk+-3.0')
subdir('src')