mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
lilypond: adjust doc packages
This commit is contained in:
@@ -5,7 +5,7 @@ printouts. LilyPond is free software and part of the GNU Project."
|
||||
HOMEPAGE="https://lilypond.org/"
|
||||
COPYRIGHT="1993-2024 The LilyPond development team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://lilypond.org/download/source/v${portVersion%.*}/lilypond-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e96fa03571c79f20e1979653afabdbe4ee42765a3d9fd14953f0cd9eea51781c"
|
||||
PATCHES="lilypond-$portVersion.patchset"
|
||||
@@ -45,26 +45,33 @@ REQUIRES="
|
||||
|
||||
SUMMARY_doc="${SUMMARY} (English and generic documentation)"
|
||||
|
||||
ARCHITECTURES_doc="any"
|
||||
|
||||
PROVIDES_doc="
|
||||
lilypond${secondaryArchSuffix}_doc = $portVersion
|
||||
lilypond_doc = $portVersion
|
||||
"
|
||||
REQUIRES_doc="
|
||||
lilypond$secondaryArchSuffix == $portVersion base
|
||||
cmd:lilypond == $portVersion base
|
||||
"
|
||||
REPLACES_doc="
|
||||
lilypond_x86_doc
|
||||
"
|
||||
ARCHITECTURES_doc="any"
|
||||
|
||||
languages=(ca cs de es fr hu it ja nl pt zh)
|
||||
languageNames=(Catalan Czech German Spanish French Hungarian Italian Japanese Dutch Portuguese Chinese)
|
||||
for i in "${!languages[@]}"; do
|
||||
lang=${languages[i]}
|
||||
eval "PROVIDES_doc_${lang}=\"\
|
||||
lilypond${secondaryArchSuffix}_doc_${lang} = $portVersion\
|
||||
eval "SUMMARY_doc_${lang}=\"${SUMMARY} (${languageNames[$i]} documentation)\"; \
|
||||
ARCHITECTURES_doc_${lang}=\"any\"; \
|
||||
PROVIDES_doc_${lang}=\"\
|
||||
lilypond_doc_${lang} = $portVersion\
|
||||
\"; \
|
||||
REQUIRES_doc_${lang}=\"\
|
||||
lilypond${secondaryArchSuffix}_doc == $portVersion base\
|
||||
lilypond_doc == $portVersion base\
|
||||
\"; \
|
||||
SUMMARY_doc_${lang}=\"${SUMMARY} (${languageNames[$i]} documentation)\"\
|
||||
ARCHITECTURES_doc_${lang}=\"any\""
|
||||
REPLACES_doc_${lang}=\"\
|
||||
lilypond_x86_doc_${lang}\
|
||||
\""
|
||||
done
|
||||
|
||||
BUILD_REQUIRES="
|
||||
|
||||
Reference in New Issue
Block a user