pidgin/pidgin

Remove x11 from Pidgin dependencies

20 months ago, Elliott Sales de Andrade
a1b935298710
Parents b22609b393f6
Children 0c1829dae5b6
Remove x11 from Pidgin dependencies

There is no longer any use of `HAVE_X11` in it.

Testing Done:
Compiled.

Reviewed at https://reviews.imfreedom.org/r/1955/
--- a/pidgin/meson.build Sun Oct 23 18:45:11 2022 -0500
+++ b/pidgin/meson.build Sun Oct 23 18:51:05 2022 -0500
@@ -225,9 +225,6 @@
talkatu_dep,
libpurple_dep,
]
- if x11.found()
- _libpidgin_dependencies += x11
- endif
libpidgin_built_sources = [
libpidgin_enums_c,
--- a/pidgin/plugins/notify/meson.build Sun Oct 23 18:45:11 2022 -0500
+++ b/pidgin/plugins/notify/meson.build Sun Oct 23 18:51:05 2022 -0500
@@ -1,6 +1,11 @@
+notify_plugin_deps = [libpurple_dep, libpidgin_dep, glib]
+if x11.found()
+ notify_plugin_deps += x11
+endif
+
notify = library('notify', 'notify.c',
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-Notify"'],
- dependencies : [libpurple_dep, libpidgin_dep, glib],
+ dependencies : notify_plugin_deps,
name_prefix : '',
build_by_default: false,
install : false, install_dir : PIDGIN_PLUGINDIR)