Skip to content

Commit c153ba7

Browse files
committed
add revision info to meson.build & pkgconfig
1 parent 907170d commit c153ba7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

meson.build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ opt_build_test = get_option('build_test')
2828
pkgconfig = import('pkgconfig')
2929

3030
api = '0.2'
31+
revision = api + '.1'
3132

3233
glib = dependency('glib-2.0')
3334
gobject = dependency('gobject-2.0')
@@ -110,9 +111,9 @@ libs = oparl_lib # the library/libraries users need to link against
110111
h = ['..','pkgconfig'] # subdirectories of ${prefix}/${includedir} to add to header path
111112
pkgconfig.generate(libraries : libs,
112113
subdirs : h,
113-
version : api,
114+
version : revision,
114115
name : 'liboparl',
115-
filebase : meson.current_build_dir()+'/oparl-'+api,
116+
filebase : meson.current_build_dir()+'/oparl-' + api,
116117
subdirs : h,
117118
requires : 'glib-2.0 gobject-2.0 gio-2.0 json-glib-1.0',
118119
description : 'A library to access OParl civic information endpoints.',

0 commit comments

Comments
 (0)