[Regression] good: qt6 plugin fails to build since replacing `configure_file` with `fs.copyfile`
Trying to build current HEAD (60d9cfc9) of gst-plugins-good with the qt6 plugin enabled fails with the following error for me (happens when running ninja
after successful meson setup
):
ninja: error: '/var/tmp/paludis/build/media-plugins-gst-plugins-good-scm/work/gst-plugins-good-scm/subprojects/gst-plugins-good/ext/qt6/R
GBA.frag.qsb', needed by 'ext/qt6/qt6-resources_qrc.cpp', missing and no known rule to make it
This is on Linux using meson 1.3.1:
The Meson build system
Version: 1.3.1
Source dir: /var/tmp/paludis/build/media-plugins-gst-plugins-good-scm/work/gst-plugins-good-scm/subprojects/gst-plugins-good
Build dir: /var/tmp/paludis/build/media-plugins-gst-plugins-good-scm/work/_build
[...]
Reverting the changes from commit f6f448bb makes it work again, but re-introduces the warning about using configure_file
's deprecated copy
argument.
It looks like meson uses the resources.qrc
in the source directory instead of the build directory and subsequently tries to find the compiled shader files specified in the Qt resource file in the source directory as well. But I'm not sure about that as I'm not really familiar with meson's internals