1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
gtk3_dep = dependency('gtk+-3.0', version: '>=3.0.0')
pangoft2_dep = dependency('pangoft2')
fontconfig_dep = dependency('fontconfig')
shared_module(
'pk-gtk-module',
'pk-gtk-module.c',
dependencies: [
packagekit_glib2_dep,
gtk3_dep,
pangoft2_dep,
fontconfig_dep,
],
install: true,
install_dir: join_paths(get_option('libdir'), 'gtk-3.0', 'modules'),
c_args: [
'-DVERSION="@0@"'.format(meson.project_version()),
]
)
install_data(
'pk-gtk-module.desktop',
install_dir: join_paths(get_option('libdir'), 'gnome-settings-daemon-3.0', 'gtk-modules')
)
|