diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /media-sound/csound | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'media-sound/csound')
-rw-r--r-- | media-sound/csound/Manifest | 5 | ||||
-rw-r--r-- | media-sound/csound/csound-6.15.0-r100.ebuild | 1 | ||||
-rw-r--r-- | media-sound/csound/csound-6.15.0.ebuild | 276 | ||||
-rw-r--r-- | media-sound/csound/csound-9999.ebuild | 3 |
4 files changed, 5 insertions, 280 deletions
diff --git a/media-sound/csound/Manifest b/media-sound/csound/Manifest index 838cf9f0bd76..6fabdad942f1 100644 --- a/media-sound/csound/Manifest +++ b/media-sound/csound/Manifest @@ -4,7 +4,6 @@ AUX repackage.sh 738 BLAKE2B 4e091a526c4402354be54ca4e161eef4ec74adf8e0d21898542 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 csound-6.15.0-distributable.tar.xz 25156784 BLAKE2B f944385256b423d95da2df8da7dc2bcf164ffc469f55650396827bc9da49ef1778039772e149bcbde77c71a363e8ea253ec3103c753cc3916d63d450f571c2a8 SHA512 a0a65805507ac7afd6bcb0fe988cb1bdba0a95a591ac6837a2c31cf3a7aeef56fee44eed7bca14409ccf600412782098a8c2ffb1aecb5eefd703bc270a0ee308 -EBUILD csound-6.15.0-r100.ebuild 7223 BLAKE2B 73f3fd6164233067b25e6f723bfb333cab897c9d69bc91e442c961af6e823f63a5523075a79fe197c7955a6589263d616ef00719b16cc238ad64554a28c1e5f7 SHA512 7eab8a8d937626d6c48f204dce0ef8a2ac0717be7cfea262a4201769f6d66823ec5e78974bd0b9b93253a3991a4bfe0cf3cbc4498f79d938cf2d9621d907f893 -EBUILD csound-6.15.0.ebuild 7352 BLAKE2B 6731504a6c40609f936d3929d2b666f7d49dfcc1921bb2d3630c68b19ebd2bbe35236d0c76e80d00dae0280ef796635e8ea88bec0e9002fce526468cd50f5087 SHA512 ea37acd1a5ce19f684a3676453431e3a24ab2950571749269c0c42456709a067ae4d806ce140ad3e915d5f5ae07c0ac55c66495f58eef0e30b82003271a6922a -EBUILD csound-9999.ebuild 7225 BLAKE2B 7e220d4b31eeaa00ea2734baee46b94a522d0f5b8b440d246f2f4c3548f52cfeb19b0db969762c6d229dcd1659daaf50526ccfe45f3c024a4bf0f9410bb92783 SHA512 33a6d52ca2de5ee307455ce01def4f05a6c4839a5829a4d1027f056693d64ff949dd703ddb3f07e68e15346549b1277b3b4bf923e1f04af2960cf91c6762d624 +EBUILD csound-6.15.0-r100.ebuild 7242 BLAKE2B 1bd143e32a403c31a56a60418a081494538ffe642ec17674ecac1f0f9bc88bf21152a1c37e2072cbe658b0e7797e9d4bc2c7ed07c40b69b2b10b9345543cafcd SHA512 fc4835b16a97ba2a78666389361322cfb8b494fd6b992824a6a5e7ca6450ce9ea0a3d56c4460c29831b574689e67eacb5c070dd07667cc180faeddf9aabf2eb9 +EBUILD csound-9999.ebuild 7244 BLAKE2B 0166d4d0ebba238eb91f286970bae7630cd9c4c6fa232620fdbc1f832ab1ffb7f3e39a1b3e6f819cf4c933a7201bbe0188453a3e681d94834bdb67eaa03f8810 SHA512 1f2551193a6947be3cec77452e60db47349c35b4ccc6763925e181f5ac8e9b20f71abd37aadab358909206f8ecd8eb880d982fdbf945916aef07ccf2180d6d41 MISC metadata.xml 1295 BLAKE2B 9bfc19eeb1c250b89c6b9d452f5de8a9b0b1283e25bb01ce46c75ef4372844a0605c2384ff17f026e31e10f5670067f8568fe3b3a63675408ac380276d76c65a SHA512 75bfb3c156aaf5b59c6e0291bb4b89f605d9ea6c812eaae2fab6638c74220685835c1b91d436f8f2dfdb90ba625327c4c4e274d7e9dfee6b8fdd6bc3e1679a52 diff --git a/media-sound/csound/csound-6.15.0-r100.ebuild b/media-sound/csound/csound-6.15.0-r100.ebuild index b25982383b31..99d7b30062ac 100644 --- a/media-sound/csound/csound-6.15.0-r100.ebuild +++ b/media-sound/csound/csound-6.15.0-r100.ebuild @@ -37,6 +37,7 @@ portaudio portmidi pulseaudio python samples static-libs stk test +threads +util vim-syntax websocket" REQUIRED_USE=" + alsa? ( threads ) linear? ( double-precision ) lua? ( ${LUA_REQUIRED_USE} cxx ) python? ( ${PYTHON_REQUIRED_USE} cxx ) diff --git a/media-sound/csound/csound-6.15.0.ebuild b/media-sound/csound/csound-6.15.0.ebuild deleted file mode 100644 index 65e4c105afb3..000000000000 --- a/media-sound/csound/csound-6.15.0.ebuild +++ /dev/null @@ -1,276 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# As upstream (and we aswell) are not allowed to redistribute scansyn, -# we have to repackage the tarball. For that purpose use `bash files/repackage.sh version` -# Reference: https://github.com/csound/csound/issues/1148 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit cmake python-single-r1 toolchain-funcs - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/csound/csound.git" - inherit git-r3 -else - DOC_P="Csound${PV}" - SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/${P}-distributable.tar.xz - doc? ( - 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" -fi - -DESCRIPTION="Sound design and signal processing system for composition and performance" -HOMEPAGE="https://csound.github.io/" - -LICENSE="LGPL-2.1 doc? ( FDL-1.2+ )" -SLOT="0" -# java doesn't work atm as it needs to have some variables specified to work, see src_configure -IUSE="+alsa beats chua curl +cxx debug doc double-precision dssi examples -fltk +fluidsynth hdf5 +image jack keyboard linear lua luajit mp3 nls osc portaudio -portaudio portmidi pulseaudio python samples static-libs stk test +threads +utils -vim-syntax websocket" - -REQUIRED_USE=" - linear? ( double-precision ) - lua? ( cxx ) - python? ( ${PYTHON_REQUIRED_USE} cxx ) -" -# java? ( cxx ) - -BDEPEND=" - sys-devel/flex - virtual/yacc - chua? ( dev-libs/boost ) - python? ( dev-lang/swig ) - nls? ( sys-devel/gettext ) - test? ( - dev-util/cunit - ${PYTHON_DEPS} - ) -" -# linear currently works only with sci-mathematics-gmm-5.1 -# https://github.com/csound/csound/issues/920 -# currently not used deps due to some issues -# java? ( virtual/jdk:* ) -CDEPEND=" - dev-cpp/eigen:3 - >=media-libs/libsndfile-1.0.16 - media-libs/libsamplerate - sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - curl? ( net-misc/curl ) - dssi? ( - media-libs/dssi - media-libs/ladspa-sdk - ) - fluidsynth? ( media-sound/fluidsynth:= ) - fltk? ( x11-libs/fltk:1[threads?] ) - hdf5? ( sci-libs/hdf5 ) - image? ( media-libs/libpng:0= ) - jack? ( virtual/jack ) - keyboard? ( x11-libs/fltk:1[threads?] ) - linear? ( =sci-mathematics/gmm-5.1* ) - lua? ( - luajit? ( dev-lang/luajit:2 ) - !luajit? ( dev-lang/lua:0 ) - ) - mp3? ( >=media-sound/lame-3.100-r3 ) - osc? ( media-libs/liblo ) - portaudio? ( media-libs/portaudio ) - portmidi? ( media-libs/portmidi ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( ${PYTHON_DEPS} ) - stk? ( media-libs/stk ) - utils? ( !media-sound/snd ) - websocket? ( net-libs/libwebsockets:= ) -" -RDEPEND="${CDEPEND}" -DEPEND=" - ${CDEPEND} - dev-libs/boost -" - -if [[ ${PV} != "9999" ]]; then - DEPEND+="doc? ( app-arch/unzip )" -fi - -# requires specific alsa settings -RESTRICT="test" - -PATCHES=( - "${FILESDIR}/${PN}-6.13.0-xdg-open.patch" - "${FILESDIR}/${PN}-6.15.0-lame.patch" -) - -pkg_setup() { - if use python || use test ; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - cmake_src_prepare - - sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \ - -e '/-O3/d' \ - -i CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_BELA=OFF - -DBUILD_BUCHLA_OPCODES=ON - -DBUILD_CHUA_OPCODES=$(usex chua) - -DBUILD_COUNTER_OPCODES=ON - -DBUILD_CSBEATS=$(usex beats) - -DBUILD_CUDA_OPCODES=OFF - -DBUILD_CXX_INTERFACE=$(usex cxx) - -DBUILD_DSSI_OPCODES=$(usex dssi) - -DBUILD_EMUGENS_OPCODES=ON - -DBUILD_EXCITER_OPCODES=ON - -DBUILD_FAUST_OPCODES=OFF - -DBUILD_FLUID_OPCODES=$(usex fluidsynth) - -DBUILD_FRAMEBUFFER_OPCODES=ON - -DBUILD_HDF5_OPCODES=$(usex hdf5) - -DBUILD_IMAGE_OPCODES=$(usex image) - -DBUILD_INSTALLER=OFF - -DBUILD_JACK_OPCODES=$(usex jack) - -DBUILD_JAVA_INTERFACE=OFF - -DBUILD_LINEAR_ALGEBRA_OPCODES=$(usex linear) - -DBUILD_LUA_INTERFACE=$(usex lua) - -DBUILD_MP3OUT_OPCODE=$(usex mp3) - -DBUILD_MULTI_CORE=$(usex threads) - -DBUILD_OPENCL_OPCODES=OFF - -DBUILD_OSC_OPCODES=$(usex osc) - -DBUILD_P5GLOVE_OPCODES=OFF - -DBUILD_PADSYNTH_OPCODES=ON - -DBUILD_PLATEREV_OPCODES=ON - -DBUILD_PVSGENDY_OPCODE=OFF - -DBUILD_PYTHON_INTERFACE=$(usex python) - -DBUILD_PYTHON_OPCODES=$(usex python) - -DBUILD_RELEASE=ON - -DBUILD_SCANSYN_OPCODES=OFF # this is not allowed to be redistributed: https://github.com/csound/csound/issues/1148 - -DBUILD_SELECT_OPCODE=ON - -DBUILD_SERIAL_OPCODES=ON - -DBUILD_SHARED_LIBS=ON - -DBUILD_STACK_OPCODES=ON - -DBUILD_STATIC_LIBRARY=$(usex static-libs "ON" $(usex test)) - -DBUILD_STK_OPCODES=$(usex stk) - -DBUILD_TESTS=$(usex test) - -DBUILD_UTILITIES=$(usex utils) - -DBUILD_VIRTUAL_KEYBOARD=$(usex keyboard) - -DBUILD_VST4CS_OPCODES=OFF - -DBUILD_WEBSOCKET_OPCODE=$(usex websocket) - -DBUILD_WIIMOTE_OPCODES=OFF - -DBUILD_WINSOUND=OFF - - -DFAIL_MISSING=ON - -DNEW_PARSER_DEBUG=$(usex debug) - -DREQUIRE_PTHREADS=$(usex threads) - - -DUSE_ALSA=$(usex alsa) - -DUSE_ATOMIC_BUILTIN=ON - -DUSE_AUDIOUNIT=OFF # Apple specific - -DUSE_COMPILER_OPTIMIZATIONS=ON - -DUSE_COREMIDI=OFF # Apple specific - -DUSE_CURL=$(usex curl) - -DUSE_DOUBLE=$(usex double-precision) - -DUSE_FLTK=$(usex fltk) - -DUSE_GETTEXT=$(usex nls) - -DUSE_GIT_COMMIT=ON - -DUSE_IPMIDI=ON - -DUSE_JACK=$(usex jack) - -DUSE_LIB64=$([[ $(get_libdir) == "lib64" ]] && echo "ON" || echo "OFF") - -DUSE_LRINT=ON - -DUSE_PORTAUDIO=$(usex portaudio) - -DUSE_PORTMIDI=$(usex portmidi) - -DUSE_PULSEAUDIO=$(usex pulseaudio) - - ) - - #use java && mycmakeargs+=( - #-DJAVA_INCLUDE_PATH="${JAVA_HOME}/include" - #-DJAVA_AWT_LIBRARY="?" - #-DJAVA_JVM_LIBRARY="?" - #-DJAVA_INCLUDE_PATH2="?" - #-DJAVA_AWT_INCLUDE_PATH="?" - #) - - # set the library that we want to use - if use lua ; then - local libdir - local libname - - if use luajit ; then - libdir=$(pkg-config --variable=libdir luajit) - libname=$(pkg-config --variable=libname luajit) - else - libdir=$(pkg-config --variable=libdir lua) - libname=$(pkg-config --variable=libname lua) - [[ -z "${libname}" ]] && libname="lua" - fi - - mycmakeargs+=( - -DLUA_LIBRARY="${libdir}/lib${libname}.so" - ) - fi - - use python && mycmakeargs+=( - -DPYTHON_MODULE_INSTALL_DIR="$(python_get_sitedir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - dodoc -r Release_Notes/. - - # generate env.d file - cat > "${T}"/62${PN} <<-_EOF_ || die - OPCODEDIR$(usex double-precision 64 '')="${EPREFIX}/usr/$(get_libdir)/${PN}/plugins$(usex double-precision 64 '')" - CSSTRNGS="${EPREFIX}/usr/share/locale" - _EOF_ - if use stk ; then - echo RAWWAVE_PATH=\"${EPREFIX}/usr/share/csound/rawwaves\" >> "${T}"/62${PN} || die - fi - doenvd "${T}"/62${PN} - - if use examples ; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - use samples && dodoc -r samples - - if use vim-syntax ; then - insinto /usr/share/vim/vimfiles/syntax - doins installer/misc/vim/csound_{csd,orc,sco}.vim - insinto /usr/share/vim/vimfiles/plugin - doins installer/misc/vim/csound.vim - fi - - # rename extract to csound_extract (bug #247394) - mv "${ED}"/usr/bin/{,csound_}extract || die - - use python && python_optimize - - # install docs - if [[ ${PV} != "9999" ]] && use doc ; then - dodoc "${WORKDIR}"/*.pdf - dodoc -r "${WORKDIR}"/html - fi -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog - elog "The extract tool is now installed as csound_extract" - elog "due to collisions with many other packages (bug #247394)." - elog - fi -} diff --git a/media-sound/csound/csound-9999.ebuild b/media-sound/csound/csound-9999.ebuild index 4eca61bfb21c..bb0ad26e45fb 100644 --- a/media-sound/csound/csound-9999.ebuild +++ b/media-sound/csound/csound-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # As upstream (and we aswell) are not allowed to redistribute scansyn, @@ -37,6 +37,7 @@ portaudio portmidi pulseaudio python samples static-libs stk test +threads +util vim-syntax websocket" REQUIRED_USE=" + alsa? ( threads ) linear? ( double-precision ) lua? ( ${LUA_REQUIRED_USE} cxx ) python? ( ${PYTHON_REQUIRED_USE} cxx ) |