pidgin/purple-plugin-pack

Add checks for plugin types.
meson
2017-06-25, Elliott Sales de Andrade
9c58265711f3
Parents 8615fc119de6
Children efeff1984139
Add checks for plugin types.
  • +1 -1
    album/meson.build
  • +1 -1
    autoprofile/meson.build
  • +1 -1
    autoreply/meson.build
  • +1 -1
    awaynotify/meson.build
  • +1 -1
    bash/meson.build
  • +1 -1
    bit/meson.build
  • +1 -1
    blistops/meson.build
  • +1 -1
    buddytime/meson.build
  • +1 -1
    capsnot/meson.build
  • +1 -1
    chronic/meson.build
  • +1 -1
    colorize/meson.build
  • +1 -1
    convbadger/meson.build
  • +1 -1
    dewysiwygification/meson.build
  • +1 -1
    dice/meson.build
  • +1 -1
    difftopic/meson.build
  • +1 -1
    eight_ball/meson.build
  • +1 -1
    enhancedhist/meson.build
  • +1 -1
    findip/meson.build
  • +1 -1
    flip/meson.build
  • +1 -1
    gRIM/meson.build
  • +1 -1
    google/meson.build
  • +1 -1
    groupmsg/meson.build
  • +1 -1
    hideconv/meson.build
  • +1 -1
    highlight/meson.build
  • +1 -1
    icon-override/meson.build
  • +1 -1
    ignorance/meson.build
  • +1 -1
    ignore/meson.build
  • +1 -1
    infopane/meson.build
  • +1 -1
    irc-more/meson.build
  • +1 -1
    irchelper/meson.build
  • +1 -1
    irssi/meson.build
  • +1 -1
    lastseen/meson.build
  • +1 -1
    listhandler/meson.build
  • +1 -1
    listlog/meson.build
  • +11 -0
    meson.build
  • +3 -0
    meson_options.txt
  • +1 -1
    msglen/meson.build
  • +1 -1
    mystatusbox/meson.build
  • +1 -1
    napster/meson.build
  • +1 -1
    nicksaid/meson.build
  • +1 -1
    ning/meson.build
  • +1 -1
    nomobility/meson.build
  • +1 -1
    okcupid/meson.build
  • +1 -1
    oldlogger/meson.build
  • +1 -1
    omegle/meson.build
  • +1 -1
    plonkers/meson.build
  • +1 -1
    schedule/meson.build
  • +1 -1
    sepandtab/meson.build
  • +1 -1
    showoffline/meson.build
  • +1 -1
    simfix/meson.build
  • +1 -1
    slashexec/meson.build
  • +3 -3
    smartear/meson.build
  • +1 -1
    snpp/meson.build
  • +1 -1
    splitter/meson.build
  • +1 -1
    sslinfo/meson.build
  • +1 -1
    stocker/meson.build
  • +1 -1
    stress/meson.build
  • +1 -1
    switchspell/meson.build
  • +1 -1
    timelog/meson.build
  • +1 -1
    translate/meson.build
  • +1 -1
    xchat-chats/meson.build
  • +1 -1
    xmppprio/meson.build
  • --- a/album/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/album/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    album = shared_module('album',
    'album.c',
    'album-ui.c',
    --- a/autoprofile/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/autoprofile/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    autoprofile = shared_module('autoprofile',
    'autoaway.c',
    'autoprofile.c',
    --- a/autoreply/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/autoreply/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    autoreply = shared_library('autoreply',
    'autoreply.c',
    dependencies : [PURPLE, GLIB],
    --- a/awaynotify/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/awaynotify/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('incomplete') and PURPLE.found()
    awaynotify = shared_library('awaynotify',
    'awaynotify.c',
    dependencies : [PURPLE, GLIB],
    --- a/bash/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/bash/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    bash = shared_library('bash',
    'bash.c',
    dependencies : [PURPLE, GLIB],
    --- a/bit/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/bit/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    bit = shared_module('bit',
    'bit.c',
    dependencies : [PIDGIN, GTK],
    --- a/blistops/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/blistops/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    blistops = shared_module('blistops',
    'blistops.c',
    dependencies : [PIDGIN, GTK],
    --- a/buddytime/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/buddytime/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('incomplete') and PURPLE.found()
    executable('recursetest',
    'recurse.c',
    'recursetest.c')
    --- a/capsnot/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/capsnot/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    capsnot = shared_library('capsnot',
    'capsnot.c',
    dependencies : [PURPLE, GLIB],
    --- a/chronic/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/chronic/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('incomplete') and PURPLE.found()
    chronic = shared_library('chronic',
    'chronic.c',
    dependencies : [PURPLE, GLIB],
    --- a/colorize/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/colorize/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    colorize = shared_library('colorize',
    'colorize.c',
    dependencies : [PURPLE, GLIB],
    --- a/convbadger/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/convbadger/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    convbadger = shared_module('convbadger',
    'convbadger.c',
    dependencies : [PIDGIN, GTK],
    --- a/dewysiwygification/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/dewysiwygification/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    dewysiwygification = shared_library('dewysiwygification',
    'dewysiwygification.c',
    dependencies : [PURPLE, GLIB],
    --- a/dice/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/dice/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    dice = shared_library('dice',
    'dice.c',
    dependencies : [PURPLE, GLIB],
    --- a/difftopic/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/difftopic/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    difftopic = shared_module('difftopic',
    'difftopic.c',
    dependencies : [PIDGIN, GTK],
    --- a/eight_ball/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/eight_ball/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    eight_ball = shared_library('eight_ball',
    'eight_ball.c',
    dependencies : [PURPLE, GLIB],
    --- a/enhancedhist/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/enhancedhist/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    enhancedhist = shared_module('enhancedhist',
    'enhancedhist.c',
    dependencies : [PIDGIN, GTK],
    --- a/findip/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/findip/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    findip = shared_library('findip',
    'findip.c',
    dependencies : [PURPLE, GLIB],
    --- a/flip/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/flip/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    flip = shared_library('flip',
    'flip.c',
    dependencies : [PURPLE, GLIB],
    --- a/gRIM/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/gRIM/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    gRIM = shared_module('gRIM',
    'gRIM.c',
    dependencies : [PIDGIN, GTK],
    --- a/google/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/google/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    google = shared_library('google',
    'google.c',
    dependencies : [PURPLE, GLIB],
    --- a/groupmsg/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/groupmsg/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    groupmsg = shared_library('groupmsg',
    'groupmsg.c',
    dependencies : [PURPLE, GLIB],
    --- a/hideconv/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/hideconv/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    hideconv = shared_module('hideconv',
    'hideconv.c',
    dependencies : [PIDGIN, GTK],
    --- a/highlight/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/highlight/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    highlight = shared_library('highlight',
    'highlight.c',
    dependencies : [PURPLE, GLIB],
    --- a/icon-override/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/icon-override/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    icon_override = shared_module('icon-override',
    'icon_override.c',
    dependencies : [PIDGIN, GTK],
    --- a/ignorance/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/ignorance/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    ignorance_confdir = join_paths(
    get_option('prefix'),
    get_option('sysconfdir'),
    --- a/ignore/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/ignore/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    ignore = shared_library('ignore',
    'ignore.c',
    dependencies : [PURPLE, GLIB],
    --- a/infopane/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/infopane/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    infopane = shared_module('infopane',
    'infopane.c',
    dependencies : [PIDGIN, GTK],
    --- a/irc-more/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/irc-more/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    irc_more = shared_library('irc-more',
    'irc-more.c',
    dependencies : [PURPLE, GLIB],
    --- a/irchelper/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/irchelper/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    irchelper = shared_library('irchelper',
    'irchelper.c',
    dependencies : [PURPLE, GLIB],
    --- a/irssi/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/irssi/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    irssi = shared_module('irssi',
    'irssi.c',
    'datechange.c',
    --- a/lastseen/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/lastseen/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    lastseen = shared_module('lastseen',
    'lastseen.c',
    dependencies : [PIDGIN, GTK],
    --- a/listhandler/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/listhandler/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    listhandler = shared_library('listhandler',
    'listhandler.c',
    'aim_blt_files.c',
    --- a/listlog/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/listlog/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    listlog = shared_module('listlog',
    'listlog.c',
    dependencies : [PIDGIN, GTK],
    --- a/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -158,6 +158,17 @@
    #######################################################################
    # Add all plugin directories:
    #######################################################################
    +TYPES = get_option('types').split(',')
    +if TYPES.contains('all')
    + TYPES = ['default', 'abusive', 'incomplete']
    +else
    + foreach type : TYPES
    + if not ['default', 'abusive', 'incomplete'].contains(type)
    + error('"@0@" is not a supported plugin type'.format(type))
    + endif
    + endforeach
    +endif
    +
    PP_PURPLE_BUILD = []
    PP_PIDGIN_BUILD = []
    PP_FINCH_BUILD = []
    --- a/meson_options.txt Sat Jun 24 23:06:20 2017 -0400
    +++ b/meson_options.txt Sun Jun 25 00:14:43 2017 -0400
    @@ -1,6 +1,9 @@
    option('purple-version', type : 'combo', choices : ['2', '3'], default : '2',
    description : 'set to 3 to compile against libpurple3')
    +option('types', type : 'string', default : 'default',
    + description : 'comma-separated list of plugin types to build: default, abusive, incomplete, or all')
    +
    option('debug', type : 'boolean', default : false,
    description : 'compile with debugging support')
    --- a/msglen/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/msglen/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    msglen = shared_module('msglen',
    'msglen.c',
    dependencies : [PIDGIN, GTK],
    --- a/mystatusbox/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/mystatusbox/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    mystatusbox = shared_module('mystatusbox',
    'mystatusbox.c',
    dependencies : [PIDGIN, GTK],
    --- a/napster/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/napster/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    napster = shared_library('napster',
    'napster.c',
    dependencies : [PURPLE, GLIB],
    --- a/nicksaid/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/nicksaid/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    nicksaid = shared_module('nicksaid',
    'nicksaid.c',
    dependencies : [PIDGIN, GTK],
    --- a/ning/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/ning/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    +if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    ning = shared_library('ning',
    'ning.c',
    'ning_chat.c',
    --- a/nomobility/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/nomobility/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('incomplete') and PURPLE.found()
    nomobility = shared_library('nomobility',
    'nomobility.c',
    dependencies : [PURPLE, GLIB],
    --- a/okcupid/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/okcupid/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    +if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    okcupid = shared_library('okcupid',
    'okcupid.c',
    'okcupid.h',
    --- a/oldlogger/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/oldlogger/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    oldlogger = shared_library('oldlogger',
    'oldlogger.c',
    dependencies : [PURPLE, GLIB],
    --- a/omegle/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/omegle/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    +if TYPES.contains('default') and PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
    omegle = shared_library('omegle',
    'omegle.c',
    'omegle.h',
    --- a/plonkers/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/plonkers/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    plonkers = shared_module('plonkers',
    'plonkers.c',
    dependencies : [PIDGIN, GTK],
    --- a/schedule/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/schedule/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    schedule = shared_module('schedule',
    'schedule.c',
    'pidgin-schedule.c',
    --- a/sepandtab/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/sepandtab/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    sepandtab = shared_module('sepandtab',
    'sepandtab.c',
    dependencies : [PIDGIN, GTK],
    --- a/showoffline/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/showoffline/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    showoffline = shared_library('showoffline',
    'showoffline.c',
    dependencies : [PURPLE, GLIB],
    --- a/simfix/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/simfix/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    simfix = shared_library('simfix',
    'simfix.c',
    dependencies : [PURPLE, GLIB],
    --- a/slashexec/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/slashexec/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    slashexec = shared_library('slashexec',
    'slashexec.c',
    dependencies : [PURPLE, GLIB],
    --- a/smartear/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/smartear/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('incomplete') and PURPLE.found()
    smartear = shared_library('smartear',
    'smartear.c',
    dependencies : [PURPLE, GLIB],
    @@ -8,7 +8,7 @@
    PP_PURPLE_BUILD += 'smartear'
    endif
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    gtksmartear = shared_module('gtksmartear',
    'gtksmartear.c',
    dependencies : [PIDGIN, GTK],
    @@ -18,7 +18,7 @@
    PP_PIDGIN_BUILD += 'gtksmartear'
    endif
    -if FINCH.found()
    +if TYPES.contains('incomplete') and FINCH.found()
    gntsmartear = shared_library('gntsmartear',
    'gntsmartear.c',
    dependencies : [FINCH, GNT],
    --- a/snpp/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/snpp/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    snpp = shared_library('snpp',
    'snpp.c',
    dependencies : [PURPLE, GLIB],
    --- a/splitter/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/splitter/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found() and CAIRO.found() and PANGO.found()
    +if TYPES.contains('default') and PURPLE.found() and CAIRO.found() and PANGO.found()
    splitter = shared_library('splitter',
    'splitter.c',
    dependencies : [PURPLE, CAIRO, PANGO, GLIB],
    --- a/sslinfo/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/sslinfo/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    sslinfo = shared_library('sslinfo',
    'sslinfo.c',
    dependencies : [PURPLE, GLIB],
    --- a/stocker/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/stocker/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('incomplete') and PIDGIN.found()
    stocker = shared_module('stocker',
    'stocker.c',
    'stocker_prefs.c',
    --- a/stress/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/stress/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('abusive') and PURPLE.found()
    stress = shared_library('stress',
    'stress.c',
    dependencies : [PURPLE, GLIB],
    --- a/switchspell/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/switchspell/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if BUILD_SWITCH_SPELL and PIDGIN.found()
    +if TYPES.contains('default') and BUILD_SWITCH_SPELL and PIDGIN.found()
    switchspell = shared_module('switchspell',
    'switchspell.c',
    dependencies : [ASPELL, ENCHANT, GTKSPELL, PIDGIN, GTK],
    --- a/timelog/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/timelog/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    timelog = shared_module('timelog',
    'timelog.c',
    'timelog.h',
    --- a/translate/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/translate/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    translate = shared_library('translate',
    'translate.c',
    dependencies : [PURPLE, GLIB],
    --- a/xchat-chats/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/xchat-chats/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PIDGIN.found()
    +if TYPES.contains('default') and PIDGIN.found()
    xchat_chats = shared_module('xchat-chats',
    'xchat-chats.c',
    'xtext.c',
    --- a/xmppprio/meson.build Sat Jun 24 23:06:20 2017 -0400
    +++ b/xmppprio/meson.build Sun Jun 25 00:14:43 2017 -0400
    @@ -1,4 +1,4 @@
    -if PURPLE.found()
    +if TYPES.contains('default') and PURPLE.found()
    xmppprio = shared_library('xmppprio',
    'xmppprio.c',
    dependencies : [PURPLE, GLIB],