diff --git a/.hgtags b/.hgtags index b8cdefb..dfbd868 100644 --- a/.hgtags +++ b/.hgtags @@ -1,2 +1,3 @@ b5784591ff8262c9d2752e2d764ca001a8ab18a8 v1.0 0e605f0b5b21ec77c9657d476d7c21856b284048 v1.1 +fc1124ee262b729ce6fee9f110ba7d7c7d11c82f v1.1.1 diff --git a/meson.build b/meson.build index 3af95f7..17e30ca 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,8 @@ project('wofi', 'c', version : 'hg', default_options : ['buildtype=release', 'warning_level=2']) cc = meson.get_compiler('c') +pkgcfg = import('pkgconfig') + inc = include_directories('inc') gtk = dependency('gtk+-3.0') threads = dependency('threads') @@ -53,4 +55,17 @@ install_man('man/wofi.1', 'man/wofi-map.3', 'man/wofi-utils.3') -executable(meson.project_name(), sources, include_directories : inc, dependencies : deps, install : true) \ No newline at end of file +subdir = 'wofi-1' + +install_headers('inc/config.h', + 'inc/map.h', + 'inc/utils.h', + 'inc/wofi_api.h', + subdir : subdir) + +pkgcfg.generate(name : meson.project_name(), + description : 'Wofi API for developing modes', + requires : wayland, + subdirs : subdir) + +executable(meson.project_name(), sources, include_directories : inc, dependencies : deps, install : true)