pidgin/pidgin

Update Meson to newer standards

2021-10-18, Elliott Sales de Andrade
1653402dd94e
Update Meson to newer standards

* Remove checks for old Meson
We require 0.56.0 now.
* Remove deprecated Meson call
* Update calls to `pkgconfig.generate`
The library to wrap should be passed as first positional argument, and we can
pass actual dependencies as the runtime requirements. We can't pass things that
might be subprojects as dependencies, which may be a Meson bug, so pass those
ones as strings.

Testing Done:
Re-configured and looked at the pkgconfig files.

Reviewed at https://reviews.imfreedom.org/r/1064/
#include <winver.h>
#include "resource.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
PRODUCTVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
FILEFLAGSMASK 0
FILEFLAGS 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "The Pidgin developer community"
VALUE "FileDescription", "Pidgin UI library"
VALUE "FileVersion", "@PURPLE_VERSION@"
VALUE "InternalName", "libpidgin"
VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)."
VALUE "OriginalFilename", "libpidgin-@PURPLE_API_VERSION@.dll"
VALUE "ProductName", "Pidgin"
VALUE "ProductVersion", "@PURPLE_VERSION@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
PIDGIN_TRAY_AVAILABLE_4BIT ICON "../pixmaps/tray/16/available_4bit.ico"
PIDGIN_TRAY_AWAY_4BIT ICON "../pixmaps/tray/16/away_4bit.ico"
PIDGIN_TRAY_BUSY_4BIT ICON "../pixmaps/tray/16/busy_4bit.ico"
PIDGIN_TRAY_XA_4BIT ICON "../pixmaps/tray/16/extended-away_4bit.ico"
PIDGIN_TRAY_OFFLINE_4BIT ICON "../pixmaps/tray/16/offline_4bit.ico"
PIDGIN_TRAY_CONNECTING_4BIT ICON "../pixmaps/tray/16/connecting_4bit.ico"
PIDGIN_TRAY_PENDING_4BIT ICON "../pixmaps/tray/16/message_4bit.ico"
PIDGIN_TRAY_INVISIBLE_4BIT ICON "../pixmaps/tray/16/invisible_4bit.ico"