gplugin/gplugin

Update Meson config to match develop branch.
feature/meson
2016-12-18, Elliott Sales de Andrade
9d985f05bb79
Parents f7f4f79b40ce
Children b3d92819ddbe
Update Meson config to match develop branch.

Originally started with an outdated version, so this needs some
update to match develop after the rebase.
  • +9 -4
    meson.build
  • --- a/meson.build Mon Sep 26 20:24:29 2016 -0400
    +++ b/meson.build Sun Dec 18 02:47:39 2016 -0500
    @@ -5,9 +5,9 @@
    default_options : ['c_std=c99'])
    GPLUGIN_MAJOR_VERSION = 0
    -GPLUGIN_MINOR_VERSION = 25
    +GPLUGIN_MINOR_VERSION = 28
    GPLUGIN_MICRO_VERSION = 0
    -GPLUGIN_EXTRA_VERSION = ''
    +GPLUGIN_EXTRA_VERSION = 'dev'
    GPLUGIN_VERSION = '@0@.@1@.@2@@3@'.format(
    GPLUGIN_MAJOR_VERSION,
    @@ -38,7 +38,7 @@
    help2man = find_program('help2man')
    endif
    -GLIB = dependency('glib-2.0', version : '>=2.32.0')
    +GLIB = dependency('glib-2.0', version : '>=2.34.0')
    GOBJECT = dependency('gobject-2.0')
    # we separate gmodule out so our test aren't linked to it
    @@ -82,8 +82,13 @@
    endif
    endif
    +configure_file(
    + input : 'gplugin-version.sh.in',
    + output : 'gplugin-version.sh',
    + configuration : version_conf)
    +
    # check if we're using gcc
    -if compiler.get_id() == 'gcc'
    +if compiler.get_id() == 'gcc' or host_machine.platform() == 'darwin'
    add_global_arguments(
    '-DGPLUGIN_UNUSED=__attribute__((unused))',
    '-ggdb',