pidgin/purple-plugin-pack

Add libpurple + json-glib plugins to Meson.
meson
2017-06-23, Elliott Sales de Andrade
ac0961eff0af
Parents 72f77dafb255
Children 55f2f223cdce
Add libpurple + json-glib plugins to Meson.

These also seem to have an undeclared dependency on zlib.
--- a/meson.build Fri Jun 23 03:37:31 2017 -0400
+++ b/meson.build Fri Jun 23 03:38:32 2017 -0400
@@ -119,6 +119,11 @@
JSON_GLIB = dependency('json-glib-1.0', required : false)
#######################################################################
+# Check for ZLib
+#######################################################################
+ZLIB = dependency('zlib', required : false)
+
+#######################################################################
# Check for switchspell
#######################################################################
GTKSPELL = dependency('gtkspell-2.0', version : '>= 2.0.2', required : false)
@@ -188,8 +193,11 @@
subdir('irc-more')
subdir('listhandler')
subdir('napster')
+subdir('ning')
subdir('nomobility')
+subdir('okcupid')
subdir('oldlogger')
+subdir('omegle')
subdir('showoffline')
subdir('simfix')
subdir('slashexec')
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ning/meson.build Fri Jun 23 03:38:32 2017 -0400
@@ -0,0 +1,11 @@
+if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+ ning = shared_library('ning',
+ 'ning.c',
+ 'ning_chat.c',
+ 'ning_connection.c',
+ dependencies : [PURPLE, JSON_GLIB, GLIB, ZLIB],
+ name_prefix : '',
+ install : true,
+ install_dir : PURPLE_LIBDIR)
+ PP_PURPLE_BUILD += 'ning'
+endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/okcupid/meson.build Fri Jun 23 03:38:32 2017 -0400
@@ -0,0 +1,16 @@
+if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+ okcupid = shared_library('okcupid',
+ 'okcupid.c',
+ 'okcupid.h',
+ 'okc_blist.c',
+ 'okc_blist.h',
+ 'okc_connection.c',
+ 'okc_connection.h',
+ 'okc_messages.c',
+ 'okc_messages.h',
+ dependencies : [PURPLE, JSON_GLIB, GLIB, ZLIB],
+ name_prefix : '',
+ install : true,
+ install_dir : PURPLE_LIBDIR)
+ PP_PURPLE_BUILD += 'okcupid'
+endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/omegle/meson.build Fri Jun 23 03:38:32 2017 -0400
@@ -0,0 +1,12 @@
+if PURPLE.found() and JSON_GLIB.found() and ZLIB.found()
+ omegle = shared_library('omegle',
+ 'omegle.c',
+ 'omegle.h',
+ 'om_connection.c',
+ 'om_connection.h',
+ dependencies : [PURPLE, JSON_GLIB, GLIB, ZLIB],
+ name_prefix : '',
+ install : true,
+ install_dir : PURPLE_LIBDIR)
+ PP_PURPLE_BUILD += 'omegle'
+endif