summaryrefslogtreecommitdiffstats
path: root/subprojects/shew/src/meson.build
blob: e590a46129387611a4e30796357116ff5e8bcace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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, x11_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-4.0', 'Gtk-4.0'],
  extra_args: ['--quiet'],
  install_dir_gir: girdir,
  install_dir_typelib: typelibdir,
  install: true,
)