Source: wstroke Version: 2.2.1-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
wstroke fails to cross build from source, because meson.build hard codes the build architecture pkg-config. It does so for inspecting the wlroots requirement and unfortunately, meson does not provide a more sensible way to do this. However, we may at least look up the right pkg-config executable. I'm attaching a patch for your convenience. Helmut
--- wstroke-2.2.1.orig/meson.build +++ wstroke-2.2.1/meson.build @@ -23,7 +23,8 @@ # dependencies for loadable plugin boost = dependency('boost', modules: ['serialization'], static: false) wayfire = dependency('wayfire', version: '>=0.8.0') -wayfire_deps_cmd = run_command('pkg-config', '--print-requires', 'wayfire', check: true) +pkg_config = find_program('pkg-config') +wayfire_deps_cmd = run_command(pkg_config, '--print-requires', 'wayfire', check: true) wayfire_deps = wayfire_deps_cmd.stdout().split('\n') if 'wlroots' in wayfire_deps message('Using wlroots version < 0.18')