Skip to content

Commit

Permalink
app-doc/csound-manual: bump to 6.16
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
fordfrog committed Jun 13, 2021
1 parent 5b02b6a commit 5e2a5a3
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-doc/csound-manual/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ DIST Csound6.15.0_manual-fr_html.zip 20968371 BLAKE2B aed67cf5dc09032839fd3c56c0
DIST Csound6.15.0_manual-fr_pdf.zip 9761787 BLAKE2B 671d94bebbabbead16ff251c88a99f3cf278cd0b0f746ce8239fbfe481db1a2c3b747c48026b82b8a54b72d5f7ac83b8c095aedc19088c3f070e773c46981bf6 SHA512 3db587fb5f15febbd39c8d090df46b71ed590c8eaaaeda8c53b9218283cc7375673f1711755e47cd80048934252bfe97e92ff699e3bae0e86942ffd99597f8c6
DIST Csound6.15.0_manual_html.zip 20674415 BLAKE2B b15b3381f13c7877130dfec60803ba1cdd12e5d2d92e5ea02c4d0dd5c1c70cc2bbec5f76634b385a0ffd20e7397d6c33bbe374128f01345999f34e2e2a0b7dd1 SHA512 cf7df42f3b6d869a5e9f531c64a50287f9385927b26c48ff3c334b2ed95d17334be85a3ef671008504d1a365b1412e2715dcff61a41e3c83b60621df25d67946
DIST Csound6.15.0_manual_pdf.zip 9360598 BLAKE2B 898da87eb8b10a75f3f6256eeade7aa180ff5e6dd93de8d2bf462d01d1d1cf5f4c5d7c4ed73402aa019674d597ff3fd1b7ac436059d9df39e0d77a15365d529e SHA512 0eca00951708d7064d789bdd0d98534e815ecc275e09b3020cce89d6f6b1009c0347e7d5fd400ed321bd7e05c89d79644f64c18f47b46013bb6b49c88e42fca0
DIST Csound6.16.0_manual-fr_html.zip 25060442 BLAKE2B a08a5b22a9c5797ce98e523392f0023a9a15c7bae8166285b0dde93f3f1b557a10e6668b90e47f888189a49ba49860bb4405a87179c3b63b82339b21b4477e5f SHA512 a552e4cbc997ca59fd809e5200edf9ae219eed1e16d25d33ba7804a7e9ed82b689391fbae4d6d8f7c449f4a178a1fa17062fd9d9b0bae2504c2a29ec9f713004
DIST Csound6.16.0_manual-fr_pdf.zip 10042266 BLAKE2B 9bab455552487a476aebb26de07f88d31fb3526fc880635a831e553812ad68696480aca0b7feca4c4fcec0c1d79058bd73d796c409d845ecf2c00eb36446ce68 SHA512 61d0d19d5eab8fe9c9ff3880cdcd03fe8f4a06875f7ea03bb9957c88222485a561469c810e3edc8edefe14a0fdfb18c802525bfaaed970fe017e99d4c13651c6
DIST Csound6.16.0_manual_html.zip 24765630 BLAKE2B 3bf6e2202a42dfa826d39ef41282e1942f26cc3f6a3358e0de3a006f102b686342b4e1824a1c3a48ac37ffed31d9353e6946d948751dcc059819da649d63d9cb SHA512 e550a832e365ab186533045d110259699039d08a85ec2f53d4fe36aa31004725b1dc6732f71d9895fa19b3df5f4ec720af1b4f80856a14b0ffbd844c4ab2dbe3
DIST Csound6.16.0_manual_pdf.zip 9640644 BLAKE2B 7bb35f806568a80abbd84a4f4988217bea09f3174881d802f6d61505f044c8a26b59036dcb61ead5315e756a4512eb1fb56b2824f27f09899a8fe1664a386754 SHA512 18347ce7080ca7997e98f8addffcc492c7ec5d8e037e71a33bb46fdbc5b58ec26ee42f370689fc228d4150bd9dedc31c7824ec4c19f3243d512977f4380f9490
79 changes: 79 additions & 0 deletions app-doc/csound-manual/csound-manual-6.16.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_P=Csound${PV}.0

DESCRIPTION="The Csound reference manual"
HOMEPAGE="http://csounds.com/"
SRC_URI="
https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_pdf.zip
l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_pdf.zip )
html? (
https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_html.zip
l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_html.zip )
)"

LICENSE="FDL-1.2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="html"

LANGS=" fr"
IUSE+="${LANGS// / l10n_}"

BDEPEND="
app-arch/unzip
media-libs/libpng:0
"

S=${WORKDIR}

src_unpack() {
unpack ${MY_P}_manual_pdf.zip

if use html ; then
unpack ${MY_P}_manual_html.zip
mv html html-en
fi

local lang
for lang in ${LANGS} ; do
use l10n_${lang} || continue
unpack ${MY_P}_manual-${lang}_pdf.zip
if use html ; then
unpack ${MY_P}_manual-${lang}_html.zip
mv html html-${lang}
fi
done
}

src_prepare() {
default

# Fix broken png file, bug 737130
if use html; then
local png=html-en/images/delayk.png
pngfix -q --out=${png/.png/fixed.png} ${png} # see pngfix help for exit codes
[[ $? -gt 15 ]] && die "Failed to fix ${png}"
mv -f ${png/.png/fixed.png} ${png} || die
fi
}

src_install() {
dodoc *.pdf

if use html ; then
docinto html
dodoc -r html-en/*

local lang
for lang in ${LANGS} ; do
use l10n_${lang} || continue
docinto html-${lang}
dodoc -r html-${lang}/*
done
fi
}

0 comments on commit 5e2a5a3

Please sign in to comment.