summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-04-11 22:27:42 +0000
committerTim Harder <radhermit@gentoo.org>2012-04-11 22:27:42 +0000
commit47a8caa2fec9bd84925e23b4c5be513251e6c220 (patch)
tree13430347f8a0ba7313487aa31bc0518d5dbc8dfe /media-sound/csound
parentInitial import. (diff)
downloadhistorical-47a8caa2fec9bd84925e23b4c5be513251e6c220.tar.gz
historical-47a8caa2fec9bd84925e23b4c5be513251e6c220.tar.bz2
historical-47a8caa2fec9bd84925e23b4c5be513251e6c220.zip
Version bump. Switch to cmake build system and move reference manual to app-doc/csound-manual.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'media-sound/csound')
-rw-r--r--media-sound/csound/ChangeLog8
-rw-r--r--media-sound/csound/Manifest20
-rw-r--r--media-sound/csound/csound-5.17.6.ebuild176
3 files changed, 194 insertions, 10 deletions
diff --git a/media-sound/csound/ChangeLog b/media-sound/csound/ChangeLog
index 51c8533aa1f4..8081fde3605e 100644
--- a/media-sound/csound/ChangeLog
+++ b/media-sound/csound/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/csound
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.12 2012/04/04 22:11:52 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.13 2012/04/11 22:27:42 radhermit Exp $
+
+*csound-5.17.6 (11 Apr 2012)
+
+ 11 Apr 2012; Tim Harder <radhermit@gentoo.org> +csound-5.17.6.ebuild:
+ Version bump. Switch to cmake build system and move reference manual to
+ app-doc/csound-manual.
04 Apr 2012; Tim Harder <radhermit@gentoo.org> -csound-5.16.6-r2.ebuild,
-files/csound-5.16.6-scons.patch:
diff --git a/media-sound/csound/Manifest b/media-sound/csound/Manifest
index 07ed41316541..78bd7719d36b 100644
--- a/media-sound/csound/Manifest
+++ b/media-sound/csound/Manifest
@@ -5,21 +5,23 @@ AUX csound-5.16.6-install.patch 7688 RMD160 1f7da4193df6e187ff0d7bc5cf7ab55d161b
AUX csound-5.16.6-tests.patch 2356 RMD160 6b3d93e4e062d009b7776ece4cf9c39a7da7ac0c SHA1 11e2132a702565c7386c4b54b2e42d63820fd568 SHA256 0b242d94b1718671d325b20cbd3faf4bc2437738fd88d49586a73fc84e5e9dca
AUX csound-5.17.2-scons.patch 13382 RMD160 1d98fdbb0333dd405c44264b2cbf6b5e39f9dd3a SHA1 a68c0f862d94f1183cce3d1aa297df526e2642a9 SHA256 e9425100c7fd9bee73e7c8aeb1a6b17dffda4161769bda90cc9fc02c3567712b
DIST Csound5.17.2.tar.gz 8777963 RMD160 79bb854e722c049afd4a2e048b2332223c2a0f97 SHA1 717233f40fe516a955b9caf2ddad3b5c85634b36 SHA256 b46c7efc23831b2c611b0f77d2222a8d0055eee094d92ac3fb7eb1aa969003bb
+DIST Csound5.17.6.tar.gz 9132954 RMD160 8b42227b149664bb0c72713818d67018bbe428ee SHA1 ee1e999e51dc3377b9409cd43cd84ce32f3bf1c8 SHA256 d161acddb4a419fc15097e4f508b7b4e09fadb25b72906cf4f485ca9415fe6d1
DIST Csound5.17_manual-fr_html.zip 9881142 RMD160 089a4fa7bbcd194494f9a20f10166b4f05c8af59 SHA1 a170cf2f3009ac6055bcc91e9104d33146c286c2 SHA256 9c2a6639ee733329269f1474a60e0233aded2b9f11d1f183fd9602fc38d301f5
DIST Csound5.17_manual-fr_pdf.zip 6044660 RMD160 44a188bcaf70afba2e9e884460348aa6a6e50fad SHA1 2ef4ee6ce503d40ddc9f6afb9104fce66d28cc47 SHA256 03033ef48e570c89b6a2b4c70c1c29e379f5d09d0f5d98a24fe5bf1ee559164a
DIST Csound5.17_manual_html.zip 9621312 RMD160 fbd6d343dbbe6787e10b3abbc35011713db27cea SHA1 20c22f73abc5b4a72956881d5cbde1587d853a31 SHA256 cad3ee307c801c972d9d5f626a79c88dddda6872d8a4af64dd4f3edfe7c0f626
DIST Csound5.17_manual_pdf.zip 5736239 RMD160 469f7a1df1ef33b17bc3de169123c4842e30994a SHA1 e27d16ed45e7a9b40d129d8b32411775faff5e29 SHA256 72d3e416b1e2fa7d60d67f803083f86ec12a09a4af427713a5a6a10472f95ee8
EBUILD csound-5.17.2.ebuild 5978 RMD160 0bb7d35e532306e2989f615adb71529df53071ce SHA1 770179215186e71d768638b5d4fc97e798e44a48 SHA256 2c7a2bc5d14d85dd0d62a5ae3e53a7fabb17f68fc63c5e10a7aa9ab3bda69fbe
-MISC ChangeLog 2063 RMD160 54ea79dcc3078f56915e7a8e55f3d8270d0227b2 SHA1 892e0f50d5d5872e602df2f14fcbebe2a4b67b52 SHA256 d1dd198d8fa5f2019136b358e60402f7262d907e2626a3c0512ac9e5ed7ef8f3
+EBUILD csound-5.17.6.ebuild 5308 RMD160 d42507be4c8666ffe542cd03e7cdd91b384203f1 SHA1 e5bc2a31741205edd34604ed53c8e73275c1601f SHA256 7632741f856ae3c85239bf30783cc7c35703babb0d9050ca702d3fb71765a125
+MISC ChangeLog 2265 RMD160 eda4e0a6b1874a718c93533de83b9ad95bcff3d4 SHA1 3f9365692a4776da362465111e8b6ebd7e2f9307 SHA256 3bd224188e7e4c2ec744fa25293163eaf4b462e2acbf9fa7a3faf8aa98096662
MISC metadata.xml 1542 RMD160 66c42128d2804adaf637a42aee0c4893e6ed52a6 SHA1 42307af3bd5bfd5a994d828eb56a9a357b40fd31 SHA256 d889b4005dc6559b83b68ba6b19f9c4c34690e3d6ac8931da93ea00dd57340a6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCgAGBQJPfMc1AAoJEEqz6FtPBkyjVysH/2A2ddqV0A+7PmMSctZmHMuz
-CnN8wQdE2IjllEuvhFZN5tzyFBgNpfVCCfgIFL+g9EMlcYY0gYwNt9A8Ct+eP3AS
-JT2GeNM26Jh7s9PDHAsMe+W10fknfzgLbwCM+ybe908iltN5/WAxU/saMnW4Szz2
-0wU2c7z0FW+ZTF3duy1+B8p3JGOjvlAPVGOY/PnCQsukaaJUgVX/AR+UJdS6ucIe
-JOV81TLb0CcY5JtDNq58TOGruq6lRWFb+sGFOSdT5aovNQvXFj9HuR3dupFiXAhl
-of1+NtUacpOSJxxkd2d8B9gIZcV+vh+z8VvZ1y4T1Q1a7+EdfKuHXNfrqbIXwdw=
-=NNeu
+iQEcBAEBCgAGBQJPhgVkAAoJEEqz6FtPBkyjncEH/RbSNf9L0DdRHX3RhC61o3fe
+Rf8iM8QQ0SbfzmvIX54fRzPuXrZ1OgkIGPfzTIxkDcEkJZF1MzbZUyY6XE921dkt
+76rkqmIdXpaTz+Dy21jgoC+jutOUyDJND4vlAiVnizbFKH4TXxi4qbr34nICktGa
+JVjLuK3teDNdp/ig1eYZgsx0C/GI+V9ocbz+AkPv3R2FuebzdcsKgXseRdPyYYcq
+EgixcwGnZoeBf+vGeByxr9iF2Tjkzx7GubmTmeVt1kHBMIbNxO1l8KMKuTe7RzqF
+7yVqofe5tbazQdvH7nalJZq+W5zbCt4pKMVCleai49wSqT4PGZId/oNkFmsg6KI=
+=xUKZ
-----END PGP SIGNATURE-----
diff --git a/media-sound/csound/csound-5.17.6.ebuild b/media-sound/csound/csound-5.17.6.ebuild
new file mode 100644
index 000000000000..600700b23035
--- /dev/null
+++ b/media-sound/csound/csound-5.17.6.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/csound-5.17.6.ebuild,v 1.1 2012/04/11 22:27:42 radhermit Exp $
+
+EAPI="4"
+PYTHON_DEPEND="python? 2"
+
+inherit eutils multilib python java-pkg-opt-2 cmake-utils toolchain-funcs versionator
+
+MY_PN="${PN/c/C}"
+MY_P="${MY_PN}${PV}"
+
+DESCRIPTION="A sound design and signal processing system providing facilities for composition and performance"
+HOMEPAGE="http://csounds.com/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa beats chua csoundac +cxx debug double-precision dssi examples fltk +fluidsynth
++image jack java keyboard linear lua luajit nls osc openmp portaudio portmidi pulseaudio
+python samples static-libs stk tcl test +threads +utils vim-syntax vst"
+
+LANGS=" de en_GB en_US es_CO fr it ro ru"
+IUSE+="${LANGS// / linguas_}"
+
+RDEPEND=">=media-libs/libsndfile-1.0.16
+ alsa? ( media-libs/alsa-lib )
+ csoundac? ( x11-libs/fltk:1[threads?]
+ dev-libs/boost
+ =dev-lang/python-2* )
+ dssi? ( media-libs/dssi
+ media-libs/ladspa-sdk )
+ fluidsynth? ( media-sound/fluidsynth )
+ fltk? ( x11-libs/fltk:1[threads?] )
+ image? ( media-libs/libpng )
+ jack? ( media-sound/jack-audio-connection-kit )
+ java? ( >=virtual/jdk-1.5 )
+ keyboard? ( x11-libs/fltk:1[threads?] )
+ linear? ( sci-mathematics/gmm )
+ lua? (
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua )
+ )
+ osc? ( media-libs/liblo )
+ portaudio? ( media-libs/portaudio )
+ portmidi? ( media-libs/portmidi )
+ pulseaudio? ( media-sound/pulseaudio )
+ stk? ( media-libs/stk )
+ tcl? ( >=dev-lang/tcl-8.5
+ >=dev-lang/tk-8.5 )
+ utils? ( !media-sound/snd )
+ vst? ( x11-libs/fltk:1[threads?]
+ dev-libs/boost
+ =dev-lang/python-2* )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/yacc
+ chua? ( dev-libs/boost )
+ csoundac? ( dev-lang/swig )
+ nls? ( sys-devel/gettext )
+ test? ( =dev-lang/python-2* )
+ vst? ( dev-lang/swig )"
+
+REQUIRED_USE="vst? ( csoundac )
+ java? ( cxx )
+ linear? ( double-precision )
+ lua? ( cxx )
+ python? ( cxx )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-5.16.6-tests.patch
+
+ sed -i -e "s:^\(csoundExecutable =\).*:\1 \"${WORKDIR}/${P}_build/csound\":" \
+ tests/test.py || die
+
+ sed -i -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' CMakeLists.txt || die
+
+ if [[ $(get_libdir) == "lib64" ]] ; then
+ sed -i -e '/set(LIBRARY_INSTALL_DIR/s/lib/lib64/' CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local myconf
+
+ if use csoundac ; then
+ use python && myconf+=" -DBUILD_CSOUND_AC_PYTHON_INTERFACE=ON"
+ use lua && myconf+=" -DBUILD_CSOUND_AC_LUA_INTERFACE=ON"
+ fi
+
+ local mycmakeargs=(
+ -DBUILD_NEW_PARSER=ON
+ $(cmake-utils_use_use alsa ALSA) \
+ $(cmake-utils_use_build beats CSBEATS) \
+ $(cmake-utils_use_build chua CHUA_OPCODES) \
+ $(cmake-utils_use_build csoundac CSOUND_AC) \
+ $(cmake-utils_use_build cxx CXX_INTERFACE) \
+ $(cmake-utils_use debug NEW_PARSER_DEBUG) \
+ $(cmake-utils_use_use double-precision DOUBLE) \
+ $(cmake-utils_use_build dssi DSSI_OPCODES) \
+ $(cmake-utils_use_build fluidsynth FLUID_OPCODES) \
+ $(cmake-utils_use_use fltk FLTK) \
+ $(cmake-utils_use_build image IMAGE_OPCODES) \
+ $(cmake-utils_use_use jack JACK) \
+ $(cmake-utils_use_build jack JACK_OPCODES) \
+ $(cmake-utils_use_build java JAVA_INTERFACE) \
+ $(cmake-utils_use_build keyboard VIRTUAL_KEYBOARD) \
+ $(cmake-utils_use_build linear LINEAR_ALGEBRA_OPCODES) \
+ $(cmake-utils_use_build lua LUA_OPCODES) \
+ $(cmake-utils_use_build lua LUA_INTERFACE) \
+ $(cmake-utils_use_use nls GETTEXT) \
+ $(cmake-utils_use_build osc OSC_OPCODES) \
+ $(cmake-utils_use_use openmp OPEN_MP) \
+ $(cmake-utils_use_use portaudio PORTAUDIO) \
+ $(cmake-utils_use_use portmidi PORTMIDI) \
+ $(cmake-utils_use_use pulseaudio PULSEAUDIO) \
+ $(cmake-utils_use_build python PYTHON_OPCODES) \
+ $(cmake-utils_use_build python PYTHON_INTERFACE) \
+ $(cmake-utils_use_build static-libs STATIC_LIBRARY) \
+ $(cmake-utils_use_build stk STK_OPCODES) \
+ $(cmake-utils_use_build tcl TCLCSOUND) \
+ $(cmake-utils_use_build threads MULTI_CORE) \
+ $(cmake-utils_use_build utils UTILITIES) \
+ ${myconf}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ export LD_LIBRARY_PATH="${S}" OPCODEDIR="${S}" OPCODEDIR64="${S}"
+ cd tests
+ ./test.py || die "tests failed"
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dodoc AUTHORS ChangeLog readme-csound5-complete.txt
+
+ # Generate env.d file
+ if use double-precision ; then
+ echo OPCODEDIR64=/usr/$(get_libdir)/${PN}/plugins64 > "${T}"/62${PN}
+ else
+ echo OPCODEDIR=/usr/$(get_libdir)/${PN}/plugins > "${T}"/62${PN}
+ fi
+ echo "CSSTRNGS=/usr/share/locale" >> "${T}"/62${PN}
+ use stk && echo "RAWWAVE_PATH=/usr/share/csound/rawwaves" >> "${T}"/62${PN}
+ 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
+}