pidgin/purple-plugin-pack

Add Finch-based plugins to Meson build.
meson
2017-06-23, Elliott Sales de Andrade
a35ecaaa2454
Parents ccd38514b21c
Children f80fd48d190a
Add Finch-based plugins to Meson build.
--- a/meson.build Fri Jun 23 04:36:13 2017 -0400
+++ b/meson.build Fri Jun 23 04:43:15 2017 -0400
@@ -171,6 +171,7 @@
PP_PURPLE_BUILD = []
PP_PIDGIN_BUILD = []
+PP_FINCH_BUILD = []
#######################################################################
# Add all plugin directories:
@@ -268,9 +269,7 @@
if FINCH.found()
message('Installing finch plugins to......: ' + FINCH_LIBDIR)
message('Installing finch plugin data to..: ' + FINCH_DATADIR)
- message('Finch plugins to be built........: none - THIS IS NORMAL')
- # uncomment this when we have finch plugins
- # message(PP_FINCH_BUILD)
+ message('Finch plugins to be built........: ' + ' '.join(PP_FINCH_BUILD))
endif
message('')
--- a/smartear/meson.build Fri Jun 23 04:36:13 2017 -0400
+++ b/smartear/meson.build Fri Jun 23 04:43:15 2017 -0400
@@ -17,3 +17,13 @@
install_dir : PIDGIN_LIBDIR)
PP_PIDGIN_BUILD += 'gtksmartear'
endif
+
+if FINCH.found()
+ gntsmartear = shared_library('gntsmartear',
+ 'gntsmartear.c',
+ dependencies : [FINCH, GNT],
+ name_prefix : '',
+ install : true,
+ install_dir : FINCH_LIBDIR)
+ PP_FINCH_BUILD += 'gntsmartear'
+endif