Skip to content

Commit

Permalink
add revision info to meson.build & pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
eFrane committed Nov 17, 2016
1 parent 907170d commit c153ba7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ opt_build_test = get_option('build_test')
pkgconfig = import('pkgconfig')

api = '0.2'
revision = api + '.1'

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

0 comments on commit c153ba7

Please sign in to comment.