build/macos: Bundle libthai files from MacPorts

See: https://github.com/macports/macports-ports/pull/30702
This commit is contained in:
Bruno Lopes 2026-01-14 10:02:08 -03:00
parent fce749f63c
commit 0cf15a4fac
2 changed files with 4 additions and 4 deletions

View file

@ -216,9 +216,9 @@ new_text = text.replace(
f"~/Library/Application Support/GIMP/{os.getenv('GIMP_APP_VERSION')}"
)
fonts_conf.write_text(new_text)
### FIXME: Needed for 'th' word breaking in Text tool etc (https://github.com/macports/macports-ports/pull/30702 e https://github.com/Homebrew/homebrew-core/pull/262071)
#if os.path.exists(OPT_PREFIX / "bin/port"):
#bundle(OPT_PREFIX, "share/libthai")
### FIXME: Needed for 'th' word breaking in Text tool etc (https://github.com/Homebrew/homebrew-core/pull/262071)
if os.path.exists(OPT_PREFIX / "bin/port"):
bundle(OPT_PREFIX, "share/libthai")
### Needed for full CJK and Cyrillic support in file-pdf
bundle(OPT_PREFIX, "share/poppler")
#### Needed for signature support in file-pdf lib

View file

@ -40,7 +40,7 @@ libwmf -x11|homebrew:libwmf \
mypaint-brushes|homebrew:mypaint-brushes \
openexr \
openjpeg \
pango +quartz -x11 \
pango +thai +quartz -x11 \
poppler|homebrew:poppler \
poppler-data \
python313|homebrew:python \ py313-certifi|homebrew:certifi