talkatu/talkatu

Modernize and simplify Meson files

18 months ago, Elliott Sales de Andrade
ad000db4fe9a
Modernize and simplify Meson files

Use f-strings and some better loops.

Remove `TALKATU_UNUSED` which duplicated `G_GNUC_UNUSED`, and is also unused.

Also remove checks for old Meson which I thought I looked for before, but didn't find.

Testing Done:
Compiled and ran `ninja test`

Reviewed at https://reviews.imfreedom.org/r/2038/
###############################################################################
# Options
###############################################################################
option(
'nls',
type : 'boolean', value : true,
description : 'Install translation files'
)
option(
'doc',
type : 'boolean', value : true, yield : true,
description : 'build documentation with gtk-doc'
)
option(
'help2man',
type : 'boolean', value : true,
description : 'Whether or not to build man pages from --help output'
)
option(
'install-demo',
type : 'boolean', value : true,
description : 'Whether or not to install demo application'
)
option(
'introspection',
type : 'boolean', value : true, yield : true,
description : 'build gobject-introspection support'
)
option(
'tests',
type : 'boolean', value : true,
description : 'run unit tests'
)
option(
'vapi',
type : 'boolean', value : true,
description : 'Whether or not to build vapi files for gplugin'
)