]> saetta.ns0.it Git - libzakutils/commitdiff
meson: added pkg-config file generation.
authorAndrea Zagli <azagli@libero.it>
Wed, 24 Aug 2016 15:39:58 +0000 (17:39 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 24 Aug 2016 15:39:58 +0000 (17:39 +0200)
meson.build

index 78f119b680fbe120c82c06775139e4428fdbeb03..ccee548b48d14007cc974ca3c8ac0cc6df997372 100644 (file)
@@ -10,4 +10,12 @@ gio_dep = dependency('gio-2.0')
 inc = include_directories('src')
 
 subdir('src')
-subdir('tests')
\ No newline at end of file
+subdir('tests')
+
+pkg_mod = import('pkgconfig')
+pkg_mod.generate(libraries: libzakutils,
+                 version: '0.0.1',
+                 name: 'libzakutils',
+                 filebase: 'libzakutils',
+                 description: 'Utility functions.',
+                 requires: ['glib-2.0 >= 2.36', 'gobject-2.0 >= 2.36', 'gio-2.0 >= 2.36'])
\ No newline at end of file