lilypond: fix build

* texlive 2025 requires also the arabic hyphenation patterns (see #7828)
 * add paperspecs config file for BUILD() and TEST()
 * add version to cmd:lilypond which is now used in lilypond doc packages
This commit is contained in:
Joachim Mairböck
2025-08-02 16:39:58 +02:00
parent a625e7b95d
commit 510aac94b8

View File

@@ -19,7 +19,7 @@ PROVIDES="
cmd:convert_ly cmd:convert_ly
cmd:etf2ly cmd:etf2ly
cmd:lilymidi cmd:lilymidi
cmd:lilypond cmd:lilypond = $portVersion
cmd:lilypond_book cmd:lilypond_book
cmd:lilypond_invoke_editor cmd:lilypond_invoke_editor
cmd:lilysong cmd:lilysong
@@ -96,15 +96,16 @@ BUILD_REQUIRES="
# The following TeX packages are needed for creating tex formats: # The following TeX packages are needed for creating tex formats:
# (because of texlive packaging, all hyphenation patterns are needed, # (because of texlive packaging, all hyphenation patterns are needed,
# the list contains one package from each collection) # the list contains one package from each collection)
tex:dehyph_exptl
tex:hyphen_afrikaans tex:hyphen_afrikaans
tex:hyphen_ancientgreek tex:hyphen_ancientgreek
tex:hyphen_arabic
tex:hyphen_basque tex:hyphen_basque
tex:hyphen_catalan tex:hyphen_catalan
tex:hyphen_chinese tex:hyphen_chinese
tex:hyphen_croatian tex:hyphen_croatian
tex:hyphen_czech tex:hyphen_czech
tex:hyphen_english tex:hyphen_english
tex:hyphen_german
tex:hyphen_italian tex:hyphen_italian
tex:hyphen_polish tex:hyphen_polish
tex:hyphen_portuguese tex:hyphen_portuguese
@@ -156,6 +157,9 @@ PATCH()
BUILD() BUILD()
{ {
# workaround for missing paperspecs config file in haikuporter chroot
echo A4,210,297,mm > $(finddir B_SYSTEM_SETTINGS_DIRECTORY)/paperspecs
mkdir -p build mkdir -p build
cd build cd build
@@ -199,6 +203,9 @@ TEST()
# update the fontconfig cache to make sure it knows of all installed fonts (needed by xetex) # update the fontconfig cache to make sure it knows of all installed fonts (needed by xetex)
fc-cache -f fc-cache -f
# workaround for missing paperspecs config file in haikuporter chroot
echo A4,210,297,mm > $(finddir B_SYSTEM_SETTINGS_DIRECTORY)/paperspecs
cd build cd build
make $jobArgs test make $jobArgs test
} }