pidgin/pidgin

Parents a84e44c85f4f
Children f22da7f7845a
Don't include the Facebook protocol plugin's resource in its gir file

Testing Done:
Compiled the Facebook gir and verified the warnings were gone.

Reviewed at https://reviews.imfreedom.org/r/2049/
--- a/libpurple/protocols/facebook/meson.build Tue Nov 08 03:15:58 2022 -0600
+++ b/libpurple/protocols/facebook/meson.build Tue Nov 08 22:12:47 2022 -0600
@@ -18,14 +18,17 @@
'util.h'
]
+FACEBOOK_BUILT_SOURCES = []
+
if DYNAMIC_FACEBOOK
facebook_resources = gnome.compile_resources('facebookresource',
'resources/facebook.gresource.xml',
source_dir : 'resources',
c_name : 'facebook')
- FACEBOOK_SOURCES += facebook_resources
+ FACEBOOK_BUILT_SOURCES += facebook_resources
- facebook_prpl = shared_library('facebook', FACEBOOK_SOURCES,
+ facebook_prpl = shared_library('facebook',
+ FACEBOOK_SOURCES + FACEBOOK_BUILT_SOURCES,
c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Facebook"'],
dependencies : [json, libpurple_dep, libsoup, glib],
install : true, install_dir : PURPLE_PLUGINDIR)