diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /app-doc/csound-manual | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'app-doc/csound-manual')
-rw-r--r-- | app-doc/csound-manual/Manifest | 5 | ||||
-rw-r--r-- | app-doc/csound-manual/csound-manual-6.16.ebuild | 79 |
2 files changed, 84 insertions, 0 deletions
diff --git a/app-doc/csound-manual/Manifest b/app-doc/csound-manual/Manifest index 7d04b7e22bf8..01a77ea213ec 100644 --- a/app-doc/csound-manual/Manifest +++ b/app-doc/csound-manual/Manifest @@ -2,5 +2,10 @@ 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 EBUILD csound-manual-6.15-r1.ebuild 1620 BLAKE2B 18bb3ea7398c88a0efe2dbffc56a9c805efb742324e6a3e6c72e5d2248f63a8aa6c056774f7e989be691853ae2a825b2ead4b391e1e86abc56ddbeaae8af27f9 SHA512 7a80bc861002c97fd64611f5faaac62a97f6469014326c6b45d0cfe0ee4333b986e132f8eb12f67101c37b1eb175886aad63bbc46254552bebe697519a0684c0 +EBUILD csound-manual-6.16.ebuild 1622 BLAKE2B 45ad300bd8a0a21fe7d8a1e6081a5e06576a599f8bd0f49a6574299b674554dafa938f495031d7890b6c476f39d890da94c296eb24fb27486f5ad3c8d6da291d SHA512 6941c23359c7eb383af6625a0c35d794ecc733ac964b3e49b2a469f6849365eb42d7469cc9154b46a69288117779dc9c30d98eabfc7a9a5e37233558f7a2dae3 MISC metadata.xml 457 BLAKE2B e435f21c93a42188d38ceedb4ed2dda795021393c4a03c5d5ef020f31b853a45117e5ae2e9080013cff833b3648f8992fbf44b162d84856286a5d057a91fd334 SHA512 d6cb43f4d0d9485ca457ea2463adfe1ab6f480e3065b986e0c6959c9d29d4fb57122116532118a9e98b4189f1fbd3fef5df5b035e1f7050b3992d98613027908 diff --git a/app-doc/csound-manual/csound-manual-6.16.ebuild b/app-doc/csound-manual/csound-manual-6.16.ebuild new file mode 100644 index 000000000000..987fffe48dd0 --- /dev/null +++ b/app-doc/csound-manual/csound-manual-6.16.ebuild @@ -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 +} |