pidgin/purple-plugin-pack
Add shortcut for purple 2 check.
--- a/enhancedhist/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/enhancedhist/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO enhancedhist = shared_module('enhancedhist',
dependencies : [PIDGIN, GTK],
--- a/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -34,8 +34,10 @@
# and also as the -3 param to plugin_pack.py
if get_option('purple-version') == '2'
PURPLE_VER = '-' + get_option('purple-version')
#######################################################################
--- a/mystatusbox/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/mystatusbox/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO mystatusbox = shared_module('mystatusbox',
dependencies : [PIDGIN, GTK],
--- a/napster/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/napster/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO napster = shared_library('napster',
dependencies : [PURPLE, GLIB],
--- a/nicksaid/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/nicksaid/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO nicksaid = shared_module('nicksaid',
dependencies : [PIDGIN, GTK],
--- a/ning/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/ning/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3') and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO and JSON_GLIB.found() and ZLIB.found() ning = shared_library('ning',
--- a/okcupid/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/okcupid/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3') and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO and JSON_GLIB.found() and ZLIB.found() okcupid = shared_library('okcupid',
--- a/omegle/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/omegle/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3') and JSON_GLIB.found() and ZLIB.found()
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO and JSON_GLIB.found() and ZLIB.found() omegle = shared_library('omegle',
--- a/snpp/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/snpp/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO snpp = shared_library('snpp',
dependencies : [PURPLE, GLIB],
--- a/timelog/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/timelog/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO timelog = shared_module('timelog',
--- a/translate/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/translate/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PURPLE.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PURPLE.found() and IS_PURPLE_TWO translate = shared_library('translate',
dependencies : [PURPLE, GLIB],
--- a/xchat-chats/meson.build Sun Jun 25 02:45:16 2017 -0400
+++ b/xchat-chats/meson.build Wed Jun 28 18:32:35 2017 -0400
@@ -1,4 +1,4 @@
-if TYPES.contains('default') and PIDGIN.found() and PURPLE.version().version_compare('<3')
+if TYPES.contains('default') and PIDGIN.found() and IS_PURPLE_TWO xchat_chats = shared_module('xchat-chats',