summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-07-30 11:14:48 +0200
committerPacho Ramos <pacho@gentoo.org>2024-07-30 11:18:17 +0200
commit35b405f2f6cbab868314203d2cf19cc30bed93e2 (patch)
treee7ef09d2ba1d03bd4f0c48248928f278c69369f1 /media-sound/csound/csound-9999.ebuild
parentmedia-sound/csound: enable py3.12 (diff)
downloadgentoo-35b405f2f6cbab868314203d2cf19cc30bed93e2.tar.gz
gentoo-35b405f2f6cbab868314203d2cf19cc30bed93e2.tar.bz2
gentoo-35b405f2f6cbab868314203d2cf19cc30bed93e2.zip
media-sound/csound: sync live ebuild
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-sound/csound/csound-9999.ebuild')
-rw-r--r--media-sound/csound/csound-9999.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/media-sound/csound/csound-9999.ebuild b/media-sound/csound/csound-9999.ebuild
index 2f6048b164b7..284dbe3715ef 100644
--- a/media-sound/csound/csound-9999.ebuild
+++ b/media-sound/csound/csound-9999.ebuild
@@ -8,7 +8,7 @@
EAPI=8
LUA_COMPAT=( lua5-1 luajit )
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake lua-single python-single-r1
@@ -22,7 +22,7 @@ else
https://github.com/csound/csound/releases/download/${PV}/${DOC_P}_manual_pdf.zip
https://github.com/csound/csound/releases/download/${PV}/${DOC_P}_manual_html.zip
)"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 x86"
fi
DESCRIPTION="Sound design and signal processing system for composition and performance"
@@ -69,7 +69,7 @@ CDEPEND="
osc? ( media-libs/liblo )
portaudio? ( media-libs/portaudio )
portmidi? ( media-libs/portmidi )
- pulseaudio? ( media-libs/libpulse )
+ pulseaudio? ( media-sound/pulseaudio )
utils? ( !media-sound/snd )
vim-syntax? ( !app-vim/csound-syntax )
"
@@ -105,6 +105,13 @@ src_prepare() {
sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \
-e '/-O3/d' \
-i CMakeLists.txt || die
+
+ if use doc; then
+ local png="${WORKDIR}/html/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_configure() {