Fixed the macOS bundle spec to remove the invalid mid-path wildcard that caused gtk-mac-bundler to throw ValueError: Can't have wildcards except in the last path component. Specifically, I replaced .../lib/enchant*/libenchant_*.so with explicit entries for both supported enchant module layouts.

Added two explicit plugin paths so both directory variants are bundled correctly:

${prefix:enchant}/lib/enchant/libenchant_*.so

${prefix:enchant}/lib/enchant-2/libenchant_*.so
This commit is contained in:
2026-02-18 14:39:52 -07:00
parent 858f9daf64
commit ff77f32033

View File

@@ -28,7 +28,10 @@
${prefix:enchant}/lib/libenchant*.dylib
</binary>
<binary>
${prefix:enchant}/lib/enchant*/libenchant_*.so
${prefix:enchant}/lib/enchant/libenchant_*.so
</binary>
<binary>
${prefix:enchant}/lib/enchant-2/libenchant_*.so
</binary>
<!-- GTK3 runtime modules: ${prefix}/lib/${gtkdir} -->