pidgin/themes/meson.build

Thu, 17 May 2018 22:26:19 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Thu, 17 May 2018 22:26:19 -0500
changeset 39078
bbaab5d6a8d5
parent 38522
dcdb05704f38
permissions
-rw-r--r--

win32: Simplify complicated DLL preparation

WinPidgin uses complicated DLL preparation in order to find where
GTK+ and other DLLs are located. This is broken due to names and
paths of DLLs having changed with the new build system and versions.
GTK+3 doesn't provide an installable package either. Since we need
to bundle the dependencies ourselves anyway, we can control where
they are stored and can simplify this complicated searching.

For the purpose of loading DLLs, the difference between "classic"
and "fhs" win32-dirs is that "classic" has its dependencies in a
bin/ subdirectory. Therefore, all that's really needed is to add
the bin/ subdirectory into the search path. This patch does this
using SetDllDirectory().

themetemplatedir = get_option('datadir') + '/pidgin/theme'

install_data('Template.html',
    install_dir : themetemplatedir)
install_subdir('Contents',
    install_dir : themetemplatedir)

mercurial