licenses.sh: Linux MuPDF fonts are objects under resources/fonts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d84e8265b0
commit
1972bc1d49
1 file changed
+6
-1
@@ -44,10 +44,15 @@ case $slug in
|
||||
parts=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" parts)
|
||||
families=$(python3 "$root/packaging/windows/mupdf-parts.py" "$root/engines/mupdf-src" fonts)
|
||||
;;
|
||||
*)
|
||||
Darwin)
|
||||
parts=$(ls "$root/engines/mupdf-build/thirdparty")
|
||||
families=$(ls "$root/engines/mupdf-build/generated/resources/fonts")
|
||||
;;
|
||||
*)
|
||||
# Linux links the font files in as objects.
|
||||
parts=$(ls "$root/engines/mupdf-build/thirdparty")
|
||||
families=$(ls "$root/engines/mupdf-build/resources/fonts")
|
||||
;;
|
||||
esac
|
||||
for name in $parts; do
|
||||
found=$(find "$root/engines/mupdf-src/thirdparty/$name" -maxdepth 1 -type f \
|
||||
|
||||
Reference in new issue
Block a user