summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/csound/ChangeLog9
-rw-r--r--media-sound/csound/Manifest21
-rw-r--r--media-sound/csound/csound-5.17.11.ebuild181
-rw-r--r--media-sound/csound/csound-5.17.6.ebuild8
-rw-r--r--media-sound/csound/files/csound-5.17.11-cmake.patch10
-rw-r--r--media-sound/rgain/Manifest24
6 files changed, 233 insertions, 20 deletions
diff --git a/media-sound/csound/ChangeLog b/media-sound/csound/ChangeLog
index 53db8efadbee..58c2922af504 100644
--- a/media-sound/csound/ChangeLog
+++ b/media-sound/csound/ChangeLog
@@ -1,6 +1,13 @@
# 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.16 2012/05/29 11:00:58 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/ChangeLog,v 1.17 2012/05/29 12:02:15 radhermit Exp $
+
+*csound-5.17.11 (29 May 2012)
+
+ 29 May 2012; Tim Harder <radhermit@gentoo.org> csound-5.17.6.ebuild,
+ +csound-5.17.11.ebuild, +files/csound-5.17.11-cmake.patch:
+ Version bump. Drop unused vst USE flag and use proper python library install
+ location.
29 May 2012; Tim Harder <radhermit@gentoo.org> csound-5.17.6.ebuild,
+files/csound-5.17.6-porttime-in-portmidi.patch:
diff --git a/media-sound/csound/Manifest b/media-sound/csound/Manifest
index 7a018daff936..61e2231318f8 100644
--- a/media-sound/csound/Manifest
+++ b/media-sound/csound/Manifest
@@ -1,25 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
AUX csound-5.16.6-install.patch 7688 RMD160 1f7da4193df6e187ff0d7bc5cf7ab55d161b0fd3 SHA1 6a510c171c9133172fd543044ca66fbe395dc51a SHA256 95cb4f08c57aa6a6135f7c4038242678fff39af58d892cc38ba031dab120039e
AUX csound-5.16.6-tests.patch 2356 RMD160 6b3d93e4e062d009b7776ece4cf9c39a7da7ac0c SHA1 11e2132a702565c7386c4b54b2e42d63820fd568 SHA256 0b242d94b1718671d325b20cbd3faf4bc2437738fd88d49586a73fc84e5e9dca
+AUX csound-5.17.11-cmake.patch 256 RMD160 e247ddcc2c690226a70c1d2074abef77e3901b97 SHA1 ca29f48940c392fd277d8fed89ebfdfd6353695c SHA256 abcf62d9aabaa8e761d1f9ff5cf5b93c7701d7ac917e149dd62efc3be7964acd
AUX csound-5.17.2-scons.patch 13382 RMD160 1d98fdbb0333dd405c44264b2cbf6b5e39f9dd3a SHA1 a68c0f862d94f1183cce3d1aa297df526e2642a9 SHA256 e9425100c7fd9bee73e7c8aeb1a6b17dffda4161769bda90cc9fc02c3567712b
AUX csound-5.17.6-fltk.patch 343 RMD160 704ed3df1f9dabbe9720c5a35b7c01430e7a4a2a SHA1 f7b9025d03232bc457d9e0949d75b4cbcda3420d SHA256 b6d8f8df2b2f8930d4d84191e3791912ede9f068722fa82d3afa81f55c2eaf86
AUX csound-5.17.6-porttime-in-portmidi.patch 614 RMD160 61ce8520f0480879487f42b3d2a1074b830cfa9c SHA1 b5c6c5a7ee027452bde510dcbc61740479ad012c SHA256 98a9fd9a7d3b2ff5fd287aedd062763c695c50ba369748b5fecb7338a7b1b48c
+DIST Csound5.17.11.tar.gz 9152189 RMD160 d2bb317fcfcde12453ea83d1b1f54421cdb36570 SHA1 750beb4daadfec63084b476ddf1581a8c64df17b SHA256 a86595c4328b63e9b37205b40bf1441182a453451b0ea20558a7777dbc0380b7
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
+EBUILD csound-5.17.11.ebuild 5556 RMD160 5ec526560418b0074dc253653a813a1a9e1b758e SHA1 a308f1f31805eadf4358bcd3a5c0db1288ef31ee SHA256 16553479a201d1b03b4b422cd351c247c0484cc1d7d25ca5f3958f3420f371c3
EBUILD csound-5.17.2-r1.ebuild 5347 RMD160 737073bbaf5b04920b80458b3ce24d66e1343933 SHA1 f88471c6c9d02581f9370e19c896da8e39e4807b SHA256 dff64cd4aea79f89ec929214dbfc9d98b9a6206ab7c66c3af6023190cc125b4c
-EBUILD csound-5.17.6.ebuild 5400 RMD160 0a1e0450bd3aa5265ba3aa1e9ac2ca479ac95949 SHA1 e71535727729dfa476c84f69fd1905228646bfc6 SHA256 063f74545144b5077f792f3fbdfad05baabaf073fce73fa9748835516446c17d
-MISC ChangeLog 2788 RMD160 6a40c2790df88f1dca35a7dcc2af007035029ade SHA1 40a77099f50728f4942871b92021db8832d97887 SHA256 ab8e63369d93bca6b3d2c76398de030c80c10d4c899ce945f5b0977b8fe20516
+EBUILD csound-5.17.6.ebuild 5440 RMD160 65d35f1bbb6262f89f290180e425ac5b4cac270a SHA1 f335aac4cc40be91f859d266a7b6164096413963 SHA256 5dc5ce4d25253b96521efaf2d171a617d858e8546dd77f382ae3afabe46b7785
+MISC ChangeLog 3043 RMD160 1d938d39d9263a179ad3c7a175660d1faba77bfe SHA1 55a05272cab86a86852c8b945079008e7d337ff2 SHA256 3cc155b847a6c652c6ac978669399377a3ea3f1f54bbcbdcf9167ec5fe1d4f8e
MISC metadata.xml 1412 RMD160 c6e0d21b6e3be750430852d3814414fc4ce4c109 SHA1 c99d16c25cd572e31aeccf34261f36c84502cf84 SHA256 3bf65b3bc701d6e4f28b9074673e81914fa637c6b430b31b8d5cf3f191a3fb41
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQEcBAEBCgAGBQJPxKxwAAoJEEqz6FtPBkyj2DMH/2OayZxqj7c8JHNoXKPPaucG
-XWYlZbV1w+7vA8wH3lOx+kJG0TGsFNJJzs64L/dhbXM4YfNr9ZGI4gxWz7xYMO7S
-qDwaHx/rPUhbeHMC5Wpx57DeGBaWYQLGWQgt0kQwcLE+/LdlMjESt2a691Mnf1EB
-1GHnvdaxqs8FcYEk/tXFApzi4/q72FmLDMrv/YF26RGb83NtiqTXA488TbVs5Gm1
-3R7x0TH8TXdSUnswKmI+ACTzYC6+9rwFpiF+eoFitmhNXd7Lz63hHOeQDzbxfIOU
-F0bvZ9qRvlbM3m7wsxqr/HTcEUlCj31IxduUdTSxp/3wDrxdILBHGAcJbWQKvOA=
-=2A3f
------END PGP SIGNATURE-----
diff --git a/media-sound/csound/csound-5.17.11.ebuild b/media-sound/csound/csound-5.17.11.ebuild
new file mode 100644
index 000000000000..13428f7c1978
--- /dev/null
+++ b/media-sound/csound/csound-5.17.11.ebuild
@@ -0,0 +1,181 @@
+# 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.11.ebuild,v 1.1 2012/05/29 12:02:17 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"
+
+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-cpp/eigen:3
+ 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 )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/yacc
+ chua? ( dev-libs/boost )
+ csoundac? ( dev-lang/swig )
+ nls? ( sys-devel/gettext )
+ test? ( =dev-lang/python-2* )"
+
+REQUIRED_USE="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
+
+ if use python || use test ; then
+ python_set_active_version 2
+ fi
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-5.16.6-tests.patch
+ epatch "${FILESDIR}"/${PN}-5.17.6-fltk.patch
+ epatch "${FILESDIR}"/${PN}-5.17.6-porttime-in-portmidi.patch
+ epatch "${FILESDIR}"/${P}-cmake.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
+
+ if use python ; then
+ sed -i -e "/set(PYTHON_MODULE_INSTALL_DIR/s#\${LIBRARY_INSTALL_DIR}#$(python_get_sitedir)#" CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local myconf
+
+ if use csoundac ; then
+ myconf+=" -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex python ON OFF)"
+ myconf+=" -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex lua ON OFF)"
+ 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
+}
diff --git a/media-sound/csound/csound-5.17.6.ebuild b/media-sound/csound/csound-5.17.6.ebuild
index 7ec06c62587c..dccb2244652e 100644
--- a/media-sound/csound/csound-5.17.6.ebuild
+++ b/media-sound/csound/csound-5.17.6.ebuild
@@ -1,6 +1,6 @@
# 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.3 2012/05/29 11:00:58 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/csound/csound-5.17.6.ebuild,v 1.4 2012/05/29 12:02:15 radhermit Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@@ -75,8 +75,10 @@ pkg_setup() {
tc-has-openmp || die "Please switch to an openmp compatible compiler"
fi
- python_set_active_version 2
- python_pkg_setup
+ if use python || use test ; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
}
src_prepare() {
diff --git a/media-sound/csound/files/csound-5.17.11-cmake.patch b/media-sound/csound/files/csound-5.17.11-cmake.patch
new file mode 100644
index 000000000000..388a043d57cf
--- /dev/null
+++ b/media-sound/csound/files/csound-5.17.11-cmake.patch
@@ -0,0 +1,10 @@
+--- Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
++++ Csound5.17.11/frontends/CsoundAC/CMakeLists.txt
+@@ -29,7 +29,6 @@
+ allegrowr.cpp
+ Cell.cpp
+ ChordLindenmayer.cpp
+- cmake_install.cmake
+ Composition.cpp
+ Conversions.cpp
+ Counterpoint.cpp
diff --git a/media-sound/rgain/Manifest b/media-sound/rgain/Manifest
new file mode 100644
index 000000000000..475eae526354
--- /dev/null
+++ b/media-sound/rgain/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+DIST rgain-1.0.1.tar.gz 19339 RMD160 44d538f93b4d2b8319b1988fef21d17ea48ac594 SHA1 a093861bbd5c7d7d6ecfe59054dbf6409b750b82 SHA256 2201b6bbf11b6151f7575705d93499cdc7d4f5bbafda394b0bb431f93130d925
+EBUILD rgain-1.0.1.ebuild 557 RMD160 45e012254d0dd75b32763b7e874268222f3d678f SHA1 a8070d1909585f02b8fe4ecc618d2059a09fb3f8 SHA256 395c3f3b86f46e90e87f3eb2518ad3eb1d00ea537dde10ba4ca14063083dba9a
+MISC ChangeLog 378 RMD160 ddfda0533560429799f58182668f6aa9e4d54857 SHA1 5cb2c25cc3a05549c7c96f0a6a05d231f9690994 SHA256 c30953c22b588d72391932db35e9051e7e2d927fbe3d2bb58c339b96ce2f0c5e
+MISC metadata.xml 898 RMD160 7d3c62aaf7c801c6e84d9ab88d659ed4e09de9a9 SHA1 bc43cb6c5ffae9bae565283440dc3114bbe3bcfd SHA256 cf2e77585778ca096737a127f0428db1b358ffa2a19e32d4642329a62d8a7b81
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCgAGBQJPxLthAAoJELy9dS57CHJBHnsQAM+LuRpDNy2YNW1vzMUcRFd6
+vyJqW+yKlZLoLUTZjUweVla//gMWdfVcMTVe1XolvWprvT3QcR3rYT2k4xtZqmqR
+LptesDr6TPdnyyfBgk7cR9CP9S3a21krhC8h4IKhD176RraMTcliZeln2+qBKk62
+SHlrpYVH/E+3gX4XOIsYPxkN8CuSSVO1J4vpWjW8xSyB/vfIQQ+3hdSDw+09Mbo4
+2F+Fowmv9bzScIg6Qe87NEvaJINtO4r4M0QN7c1Kam3osM3rWPIfy0Nq03XHrrWr
+nePwNr6eQVTpIWfq2yAs7Q49M10cJ7+h1z3cFFC/g1J+Mjhotb4QIUl4EgSLe3qv
+iLi0yMUJ4HVXSP3SiYgx81o2rtTSeMpIMwJXFT+RPOUhEKt8eXOhKcIACIumFTNR
+0esNFgj3mNySoZxd9CH6dDAz3OV7ztT/0ssT/sCY/F7WpdUP4Q/rII0hkpQDbiF0
+7YziXtHjgNBdz5lNryKdIXjAXKLijzS1VlsxhLXcx3TrJ/O1g1Tutpln976RAx7o
+WOAfp034hBHq3a9fPSTVHfyAPIASA0M9DtUjTk0vPWIf8mZmLHhBYFQ1iYEE+lHh
+a1sA3JCoIsPFskyCeQUQlDZZgx850RPcatmFnX7iKq1rCVK+55XLlofSJbc0exZ+
+f7Ivh0GTcYbtn7xKNTav
+=hdPz
+-----END PGP SIGNATURE-----