meson.build 1.29 KB
Newer Older
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 30 31 32
defs_conf = configuration_data()
defs_conf.set('DATADIR', datadir)
defs_conf.set('GSETTINGSSCHEMADIR', schemadir)
defs_conf.set('LIBEXECDIR', libexecdir)
defs_conf.set('LOCALEDIR', localedir)
defs_conf.set('PKGDATADIR', pkgdatadir)
defs_conf.set('TWEAKDIR', join_paths(gtweakdir, 'tweaks'))
defs_conf.set('VERSION', meson.project_version())

configure_file(
  input: 'defs.py.in',
  output: 'defs.py',
  configuration: defs_conf,
  install: true,
  install_dir: gtweakdir
)

shell_sources = [
  'app.py',
  'egowrapper.py',
  'gsettings.py',
  'gshellwrapper.py',
  'gtksettings.py',
  '__init__.py',
  'tweakmodel.py',
  'tweakview.py',
  'utils.py',
  'widgets.py'
]

tweak_sources = [
  'tweaks/__init__.py',
33
  'tweaks/tweak_group_appearance.py',
34
  'tweaks/tweak_group_desktop.py',
35
  'tweaks/tweak_group_font.py',
36
  'tweaks/tweak_group_general.py',
37 38 39 40
  'tweaks/tweak_group_keymouse.py',
  'tweaks/tweak_group_shell_extensions.py',
  'tweaks/tweak_group_startup.py',
  'tweaks/tweak_group_test.py',
41
  'tweaks/tweak_group_title_bar.py',
42 43 44 45
  'tweaks/tweak_group_top_bar.py',
  'tweaks/tweak_group_windows.py',
  'tweaks/tweak_group_workspaces.py',
  'tweaks/tweak_group_xkb.py',
46
  'tweaks/tweak_wacom.py',
47 48 49 50
]

install_data(shell_sources, install_dir: gtweakdir)
install_data(tweak_sources, install_dir: gtweakdir + '/tweaks')