From d3eb6fe7532694356b4ace8ef59a0fd0fdff813d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sun, 20 Jul 2025 19:08:30 +0200 Subject: [PATCH] lilypond: adjust doc packages --- media-sound/lilypond/lilypond-2.24.4.recipe | 25 +++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/media-sound/lilypond/lilypond-2.24.4.recipe b/media-sound/lilypond/lilypond-2.24.4.recipe index e7eb3a76d..aaef651ca 100644 --- a/media-sound/lilypond/lilypond-2.24.4.recipe +++ b/media-sound/lilypond/lilypond-2.24.4.recipe @@ -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="