summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-06-26 17:20:33 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-06-14 16:47:21 +0100
commitb7bf5f1fad26051892b0adb23936813798292583 (patch)
tree39b947f4817a1c0c39c97e85076795031ca0d790 /atk
parenta3261f93b9a79a2e3f4aa7b8f88973f46ae3cfb2 (diff)
downloadatk-b7bf5f1fad26051892b0adb23936813798292583.tar.gz
Use Meson to generate the pkgconfig file
Meson can generate a compliant pkgconfig file for us, straight from the library we just built, without using a template file.
Diffstat (limited to 'atk')
-rw-r--r--atk/meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/atk/meson.build b/atk/meson.build
index 042cd54..4760df8 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -121,7 +121,7 @@ if host_system == 'windows'
atk_sources += atk_win_res
endif
-libatk = library('atk-@0@'.format(atk_api_version),
+libatk = library(atk_api_name,
sources: atk_sources + atk_enums + atk_marshals,
soversion: atk_soversion,
version: atk_libversion,
@@ -157,3 +157,10 @@ libatk_dep = declare_dependency(link_with: libatk,
dependencies: glib_dep,
sources: atk_sources_dep,
)
+
+pkgconfig.generate(libatk,
+ name: 'Atk',
+ description: 'Accessibility Toolkit',
+ subdirs: atk_api_name,
+ filebase: 'atk',
+)