gala/lib/meson.build

66 lines
1.8 KiB
Meson
Raw Normal View History

2017-09-08 09:37:54 +03:00
gala_lib_sources = files(
'ActivatableComponent.vala',
2024-11-02 14:09:26 +03:00
'AnimationsSettings.vala',
'App.vala',
'AppCache.vala',
'AppSystem.vala',
'BackgroundManager.vala',
2024-02-24 16:40:18 +03:00
'CanvasActor.vala',
2024-02-13 20:58:50 +03:00
'CloseButton.vala',
'Constants.vala',
'DragDropAction.vala',
'Drawing/BufferSurface.vala',
'Drawing/Canvas.vala',
'Drawing/Color.vala',
2024-03-26 20:05:32 +03:00
'Drawing/StyleManager.vala',
'Drawing/Utilities.vala',
'Plugin.vala',
2023-06-13 22:25:46 +03:00
'ShadowEffect.vala',
'Utils.vala',
'WindowIcon.vala',
'WindowManager.vala',
2017-09-08 09:37:54 +03:00
)
gala_resources = gnome.compile_resources(
'gala-resources',
join_paths(meson.global_source_root(), 'data', 'gala.gresource.xml'),
source_dir: join_paths(meson.global_source_root(), 'data'),
c_name: 'gala',
2017-09-08 09:37:54 +03:00
)
gala_lib = shared_library(
'gala',
gala_lib_sources,
gala_resources,
dependencies: [gala_base_dep],
include_directories: config_inc_dir,
install: true,
install_dir: [true, join_paths(get_option('includedir'), 'gala'), true],
install_rpath: mutter_typelib_dir,
version : '0.0.0'
2017-09-08 09:37:54 +03:00
)
deps_conf = configuration_data()
deps_conf.set('MUTTER_DEP', libmutter_dep.name())
config_h = configure_file(
input: 'gala.deps.in',
output: '@BASENAME@',
configuration: deps_conf,
install_dir: join_paths(get_option('datadir'), 'vala', 'vapi')
)
2017-09-08 09:37:54 +03:00
gala_dep = declare_dependency(link_with: [gala_lib], include_directories: include_directories('.'))
pkg.generate(
gala_lib,
filebase: 'gala',
name: 'Gala',
description: 'Library to develop plugins for Gala',
subdirs: 'gala',
requires: [glib_dep, gobject_dep, gio_dep, gio_unix_dep, libmutter_dep],
variables: [
'datarootdir=${prefix}/@0@'.format(get_option('datadir')),
'pkgdatadir=${datarootdir}/gala'
]
2017-09-08 09:37:54 +03:00
)