pidgin/purple-plugin-pack

Parents 7c72cec5b265
Children 63ad7e4f10b4
Use the meson summary instead of manually building our summary with message

Testing Done:
Ran `ninja reconfigure` and verified the output.

```
purple-plugin-pack 2.8.1dev

libpurple
install directory: /usr/local/lib/purple-2
data directory : /usr/local/share
plugins : autoreply, bash, capsnot, colorize, dewysiwygification, dice, eight_ball, flip,
google, groupmsg, highlight, ignore, irc-more, irchelper, listhandler, ning,
oldlogger, omegle, showoffline, simfix, slashexec, snpp, splitter, sslinfo,
translate, xmppprio

pidgin
install directory: /usr/local/lib/pidgin
data directory : /usr/local/share
plugins : album, blistops, convbadger, difftopic, enhancedhist, gRIM, icon-override, irssi,
lastseen, listlog, mystatusbox, nicksaid, plonkers, schedule, sepandtab,
switchspell, timelog

finch
install directory: /usr/local/lib
data directory : /usr/local/share
plugins :

User defined options
backend : ninja
```

Reviewed at https://reviews.imfreedom.org/r/2408/
  • +15 -25
    meson.build
  • --- a/meson.build Thu Mar 30 22:53:31 2023 -0500
    +++ b/meson.build Thu Mar 30 23:45:04 2023 -0500
    @@ -209,31 +209,21 @@
    output : 'pp_config.h',
    configuration : conf)
    -message('')
    -message('@0@ @1@ Configuration complete'.format(meson.project_name(), meson.project_version()))
    -message('')
    -
    -message('Build purple plugins.............: ' + PURPLE.found().to_string())
    -if PURPLE.found()
    - message('Installing purple plugins to.....: ' + PURPLE_LIBDIR)
    - message('Installing purple plugin data to.: ' + PURPLE_DATADIR)
    - message('Purple plugins to be built.......: ' + ' '.join(PP_PURPLE_BUILD))
    -endif
    -message('')
    +summary({
    + 'install directory' : PURPLE_LIBDIR,
    + 'data directory' : PURPLE_DATADIR,
    + 'plugins' : PP_PURPLE_BUILD,
    +}, section : 'libpurple', list_sep : ', ')
    -message('Build pidgin plugins.............: ' + PIDGIN.found().to_string())
    -if PIDGIN.found()
    - message('Installing pidgin plugins to.....: ' + PIDGIN_LIBDIR)
    - message('Installing pidgin plugin data to.: ' + PIDGIN_DATADIR)
    - message('Pidgin plugins to be built.......: ' + ' '.join(PP_PIDGIN_BUILD))
    -endif
    -message('')
    +summary({
    + 'install directory' : PIDGIN_LIBDIR,
    + 'data directory' : PIDGIN_DATADIR,
    + 'plugins' : PP_PIDGIN_BUILD,
    +}, section : 'pidgin', list_sep : ', ')
    -message('Build finch plugins..............: ' + FINCH.found().to_string())
    -if FINCH.found()
    - message('Installing finch plugins to......: ' + FINCH_LIBDIR)
    - message('Installing finch plugin data to..: ' + FINCH_DATADIR)
    - message('Finch plugins to be built........: ' + ' '.join(PP_FINCH_BUILD))
    -endif
    -message('')
    +summary({
    + 'install directory' : FINCH_LIBDIR,
    + 'data directory' : FINCH_DATADIR,
    + 'plugins' : PP_FINCH_BUILD,
    +}, section : 'finch', list_sep : ', ')