[proaudio] [1993] csound-5.12.1-r3: added html doc through conditional depend

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1993
Author:   dominique
Date:     2011-06-04 22:15:20 +0200 (Sat, 04 Jun 2011)
Log Message:
-----------
csound-5.12.1-r3: added html doc through conditional depend

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/csound/ChangeLog
    trunk/overlays/proaudio/media-sound/csound/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/app-doc/
    trunk/overlays/proaudio/app-doc/csound-htmldoc-en/
    trunk/overlays/proaudio/app-doc/csound-htmldoc-en/ChangeLog
    trunk/overlays/proaudio/app-doc/csound-htmldoc-en/Manifest
    trunk/overlays/proaudio/app-doc/csound-htmldoc-en/csound-htmldoc-en-5.12.ebuild
    trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/
    trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/ChangeLog
    trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/Manifest
    trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/csound-htmldoc-fr-5.12.ebuild
    trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/
    trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/ChangeLog
    trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/Manifest
    trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/csound-htmldoc-meta-5.12.ebuild
    trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r3.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r2.ebuild

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-en/ChangeLog
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-en/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-en/ChangeLog	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,6 @@
+# ChangeLog for app-doc/csound-htmldoc-en
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  04 Jun 2011; Dominique Michel dominique@xxxxxxxxxxxxx>
+  + Initial csound-htmldoc-en-5.12.ebuild

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-en/Manifest
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-en/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-en/Manifest	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,3 @@
+DIST Csound5.12_manual_html.zip 5495041 RMD160 c20cdf9497e3ebc95a95de1ec364f5071fd76d96 SHA1 4b04e00033e9a5ec50f3abb712de63b19d786cff SHA256 27f3f92e6634db4ce5cd3a311cce33aecd003f12f0fc6e08cabe86aa8cb3d6c6
+EBUILD csound-htmldoc-en-5.12.ebuild 625 RMD160 a41234704011defe8f2cebf3d48f843374d80847 SHA1 dd22768317124f71159346386f10e04e131dedbc SHA256 38c037291a284d024d8109310d8d0fd892f7d92ad030e2c92035c92ce13a460e
+MISC ChangeLog 225 RMD160 54d1b58c7b3d14f4751b4b503f56a4394803b99b SHA1 ea0e36d42a867465855338ab760c926a35222b91 SHA256 21bab0ec93fc08ce79fb6c24c53b58873249b7f20e6893de01263c52f7095b4d

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-en/csound-htmldoc-en-5.12.ebuild
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-en/csound-htmldoc-en-5.12.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-en/csound-htmldoc-en-5.12.ebuild	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.6.1.ebuild,v 1.1 2011/02/01 06:46:03 pva Exp $
+
+EAPI="4"
+inherit eutils
+
+DESCRIPTION="GNU Image Manipulation Program help files"
+HOMEPAGE="http://docs.gimp.org/";
+
+LICENSE="FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+SRC_URI="mirror://sourceforge/csound/Csound${PV}_manual_html.zip"
+
+DEPEND=""
+RDEPEND=">=media-sound/csound-5.12"
+
+S=${WORKDIR}/html/
+
+src_compile() { :; }
+
+src_install() {
+	insinto /usr/share/doc/csound-${PV}/html/en
+	doins -r *
+}

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/ChangeLog
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/ChangeLog	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,6 @@
+# ChangeLog for app-doc/csound-htmldoc-fr
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  04 Jun 2011; Dominique Michel dominique@xxxxxxxxxxxxx>
+  + Initial csound-htmldoc-fr.5.12.ebuild

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/Manifest
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/Manifest	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,3 @@
+DIST Csound5.12_manual-fr_html.zip 5675483 RMD160 14c208caa788d7f7b94d84a8894d7fa99d39f082 SHA1 9825d9df33873361c1c4837d54b1206f7079724e SHA256 b9396dabff8e10a29dfc8917c1eb02d38693750be0111f057544d403c48a49c2
+EBUILD csound-htmldoc-fr-5.12.ebuild 831 RMD160 03141a5d33f974b5f8cb264855d83eb58baee035 SHA1 549d1e3453b41f121e175f0e9d4570ffcf9e359c SHA256 53b4931b4a7bf750a431b403c548f47fece8f606d2ada6479a734c429053b67e
+MISC ChangeLog 225 RMD160 25718be360b3bc4da437f662585cf913e3dce1c7 SHA1 93ce15019dbb3586830b3f3c89277f39e147f5d5 SHA256 5ec79e5958d75a86353ab5299c5105d24c195e297251046904b75baa31944f7c

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/csound-htmldoc-fr-5.12.ebuild
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/csound-htmldoc-fr-5.12.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-fr/csound-htmldoc-fr-5.12.ebuild	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.6.1.ebuild,v 1.1 2011/02/01 06:46:03 pva Exp $
+
+EAPI="4"
+inherit eutils
+
+DESCRIPTION="GNU Image Manipulation Program help files"
+HOMEPAGE="http://docs.gimp.org/";
+
+LICENSE="FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+# Only *not* outdated translations (see, configure.ac) are listed.
+# On update do not forgive to check quickreference/Makefile.am for
+# QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too.
+
+SRC_URI="mirror://sourceforge/csound/Csound${PV}_manual-fr_html.zip"
+
+DEPEND=""
+RDEPEND=">=media-sound/csound-5.12"
+
+S=${WORKDIR}/html/
+
+src_compile() { :; }
+
+src_install() {
+	insinto /usr/share/doc/csound-${PV}/html/fr
+	doins -r *
+}

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/ChangeLog
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/ChangeLog	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,6 @@
+# ChangeLog for app-doc/csound-htmldoc-meta
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  04 Jun 2011; Dominique Michel dominique@xxxxxxxxxxxxx>
+  + Initial csound-htmldoc-meta-5.12.ebuild

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/Manifest
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/Manifest	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,2 @@
+EBUILD csound-htmldoc-meta-5.12.ebuild 516 RMD160 a0fdc5a47b48f2ec318a8eb1df3e4010b0021325 SHA1 0ea2c51cedee65f932554631d02a181c3a6a6cab SHA256 2e06456f3120667cf4dfcd059d495f4de2d902b35e944862224abe0f1949419d
+MISC ChangeLog 229 RMD160 3aba9cc74e1d86efb05d6191d675d65be87665d8 SHA1 5b2ceb6d009aeec1de5591e50ba955ecfb67e464 SHA256 c7539979a181b6e3f9ba9c8d235a956b59bcb7d1cfae8f8e5b330c3512a619d9

Added: trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/csound-htmldoc-meta-5.12.ebuild
===================================================================
--- trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/csound-htmldoc-meta-5.12.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/app-doc/csound-htmldoc-meta/csound-htmldoc-meta-5.12.ebuild	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,21 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.6.1.ebuild,v 1.1 2011/02/01 06:46:03 pva Exp $
+
+EAPI="3"
+#inherit eutils
+
+DESCRIPTION="GNU Image Manipulation Program help files"
+HOMEPAGE="http://docs.gimp.org/";
+
+LICENSE="FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="en fr"
+
+SRC_URI=""
+
+DEPEND="en? ( =app-doc/csound-htmldoc-fr-${PV} )
+	fr? ( =app-doc/csound-htmldoc-en-${PV} )"
+RDEPEND=""

Modified: trunk/overlays/proaudio/media-sound/csound/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/csound/ChangeLog	2011-06-04 16:14:20 UTC (rev 1992)
+++ trunk/overlays/proaudio/media-sound/csound/ChangeLog	2011-06-04 20:15:20 UTC (rev 1993)
@@ -6,9 +6,11 @@
   csound-5.12.1-r1.ebuild:
   * removed commented line that prevented csound to configure correctly
   * USE csoundac depend on USE lua
-  * custom.py-5.12.1.patch fix the fltk PATH
-  csound-5.12.1-r2.ebuild:
+  + custom.py-5.12.1.patch fix the fltk PATH
+  + csound-5.12.1-r2.ebuild:
   * media-libs/loris depend on conditional use flag
+  + csound-5.12.1-r3.ebuild:
+  * install htmldoc with use htmldoc
 
   25 Mar 2011; Hakan Demiralp <keenblade@xxxxxxxxxxxxx>
   csound-5.12.1-r1.ebuild:

Modified: trunk/overlays/proaudio/media-sound/csound/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/csound/Manifest	2011-06-04 16:14:20 UTC (rev 1992)
+++ trunk/overlays/proaudio/media-sound/csound/Manifest	2011-06-04 20:15:20 UTC (rev 1993)
@@ -22,7 +22,7 @@
 EBUILD csound-5.07.0.ebuild 2940 RMD160 d3dbbebea4a89d549e7e1ebef7ff2e82acb2e10d SHA1 da2d8d8fd4f9802845fbe5dbf163d9c062429986 SHA256 b8914f6cb6b6db40ba1f0f78f807969c4b91a27fc7f2aa3e9a1d2a5820bf257f
 EBUILD csound-5.08.0.ebuild 2941 RMD160 9749d3b3131ecac73660929a841d1ded1e9b11a4 SHA1 744c6b8f126e9143e424ecf5a2c924746e4be38d SHA256 f5ae6f6e666be6929f87a337cdf4c33a7e7e1f8594c797e3a5c24f2d66eb3c7e
 EBUILD csound-5.09.0-r1.ebuild 3042 RMD160 8f7b11517e7f5bc3cccf1e03544c98750422b6d0 SHA1 76d56ef6bf1e4830dcb221dd402e6833fa235dc7 SHA256 a7679d519ee4347d4fa8a5986acd8230466ace1761f3a0eaf4e95d204534e576
-EBUILD csound-5.12.1-r2.ebuild 7186 RMD160 ef0dfe925676b8cc452ae23dee58660304dcbe3a SHA1 5d438d87303748ccd332334856b60d26df2cbb71 SHA256 b746e63fd712a0c01d5af1070d76ccea1d6cf9b78bc1cde611f933e0e1530ad9
+EBUILD csound-5.12.1-r3.ebuild 7242 RMD160 204f1f49c9a30c5bee07c966e6737791214d2265 SHA1 6e8abe4e189bb1cfe36afad598c43e1fa0316df3 SHA256 444add293b612e99b3f62a34840e2a91a179372e14f0c32075c2072b1c7d5e71
 EBUILD csound-5.12.1.ebuild 3043 RMD160 ca18bb046d0505e20a2fa03508c3b24ebe502cc2 SHA1 c42a18d4cf126462a6afb3dcc20bec3536318193 SHA256 93c50d7073586ddb49672ae1d1e4d0b4a62db4ef80f65b29dd1d84c39c30a4df
-MISC ChangeLog 1467 RMD160 2385b554c98d995a979f49f15a5fa9aa2d62023b SHA1 52255fd1d41d679f32609e1fa339cfade92c1a41 SHA256 6df1cfb3da18537696bc9c1efe31c3c0f47267bc46460e2304e39bc55ea6867f
+MISC ChangeLog 1535 RMD160 f2fd9dece2ae24e5be7d582bd44eba2cb8b25685 SHA1 5601a950a261988649099d2f70e1230b10ae3b5f SHA256 17007132a11a71e1959055c6d3c362c5a281086bc8d016a3d1cc238a8bb8cfcc
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Deleted: trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r2.ebuild	2011-06-04 16:14:20 UTC (rev 1992)
+++ trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r2.ebuild	2011-06-04 20:15:20 UTC (rev 1993)
@@ -1,225 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-PYTHON_DEPEND="2"
-EAPI="2"
-
-inherit exteutils python eutils toolchain-funcs
-
-MY_P=${P/csound-/Csound}
-MY_PV=${PV/12.1/12}
-STK_VERSION="4.4.2"
-
-DESCRIPTION="Csound is a sound and music synthesis system, providing facilities for composition and performance"
-HOMEPAGE="http://csound.sourceforge.net";
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
-doc? ( mirror://sourceforge/${PN}/Csound${MY_PV}_manual_html.zip )
-stk? ( http://ccrma.stanford.edu/software/stk/release/stk-${STK_VERSION}.tar.gz )
-vst? ( vstsdk2_4_rev1.zip )
-vst-host? ( vstsdk2_4_rev1.zip )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc"
-IUSE="+alsa altivec amd64 ppc64 csoundac -doc +double-precision +nodebug dssi editor examples fluidsynth gui jack java loris lua mp3 musicxml newparser osc p5glove pd +python -portaudio +static stk tcl vst -vst-host wiimote"
-
-RDEPEND="media-libs/ladspa-sdk
-	alsa? ( media-libs/alsa-lib )
-	csoundac? ( x11-libs/fltk:1[threads]
-		dev-libs/boost
-		dev-lang/swig )
-	dssi? ( media-libs/dssi
-		media-libs/ladspa-sdk )
-	>=media-libs/libsndfile-1.0.16
-	editor? ( x11-libs/fltk:1[threads] )
-	fluidsynth? ( media-sound/fluidsynth )
-	gui? ( x11-libs/fltk:1[threads] )
-	jack? ( media-sound/jack-audio-connection-kit )
-	java? ( || ( virtual/jre virtual/jdk ) )
-	loris? ( media-libs/loris[csound,fftw] )
-	lua? ( dev-lang/lua )
-	mp3? ( media-sound/mpadec )
-	musicxml? ( media-libs/libmusicxml:2 )
-	osc? ( media-libs/liblo )
-	p5glove? ( media-libs/libp5glove )
-	pd? ( virtual/pd )
-	stk? ( =media-libs/stk-${STK_VERSION} )
-	tcl? ( >=dev-lang/tcl-8.5
-		>=dev-lang/tk-8.5 )
-	wiimote? ( media-libs/wiiuse )"
-
-DEPEND="${RDEPEND}
-	app-arch/unzip
-	dev-util/pkgconfig
-	dev-util/scons
-	>=dev-lang/python-2.4
-	portaudio? ( =media-libs/portaudio-19* )
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-	python_set_active_version 2
-
-	if use pd; then
-		ewarn "You have enabled pd (PureData) use-flag."
-		ewarn "Please abort the build with CTRL-C, and install"
-		ewarn "\"pd-overlay\" with layman ...unless you have done"
-		ewarn "it already."
-		ewarn
-		epause 5
-	fi
-
-	if use vst; then
-		if ! use csoundac || ! use gui; then
-			eerror "Please set USE=\"csoundac gui\" with vst use-flag!"
-			die
-		fi
-	fi
-}
-
-src_prepare() {
-	epatch "${FILESDIR}"/install-stk.patch
-	epatch "${FILESDIR}"/javaVM.patch
-	epatch "${FILESDIR}"/libmusicxml.patch
-	epatch "${FILESDIR}"/custom.py-${PV}.patch
-	
-	if use csoundac && ! use lua ; then
-		die "You have enables the USE csoundac, you must emerge ${P} with USE=\"lua\" for this to work"
-	fi
-	 
-	if use stk; then
-		ebegin "Copying Perry Cook's Synthesis ToolKit to the tree"
-		cp -r "${WORKDIR}"/stk-"${STK_VERSION}"/* "${S}"/Opcodes/stk/
-		eend
-	fi
-
-	if use vst || use vst-host; then
-		ebegin "Copying Steinberg's VST SDK to the tree"
-		cp -r "${WORKDIR}"/vstsdk2.4 "${S}"/frontends/CsoundVST/
-		eend
-	fi
-}
-
-src_compile() {
-	local sconsconf="prefix=/usr \
-		pythonVersion=$(python_get_version) \
-		tclversion=8.5 \
-		usePortAudio=0 \
-		usePortMIDI=0 \
-		useCoreAudio=0 \
-		buildUtilities=1 \
-		buildInterfaces=1"
-	if use amd64; then
-		sconsconf="${sconsconf} Word64=1 Lib64=1"
-	fi
-	! use alsa; sconsconf="${sconsconf} useALSA=$?"
-	! use altivec; sconsconf="${sconsconf} useAltivec=$?"
-	! use csoundac; sconsconf="${sconsconf} buildCsoundAC=$?"
-	! use nodebug; sconsconf="${sconsconf} buildRelease=$?"
-	# Pdf generation is totally broken, so it is disabled by default
-	! use doc; sconsconf="${sconsconf} generatePdf=$?"
-	! use double-precision; sconsconf="${sconsconf} useDouble=$?"
-	! use dssi; sconsconf="${sconsconf} buildDSSI=$?"
-	! use editor; sconsconf="${sconsconf} useFLTK=$? buildCSEditor=$?"
-	! use gui; sconsconf="${sconsconf} useFLTK=$? buildCsound5GUI=$? buildVirtual=$?"
-	! use jack; sconsconf="${sconsconf} useJack=$?"
-	! use java; sconsconf="${sconsconf} buildJavaWrapper=$?"
-	# Handled by the media-libs/loris package
-	#! use loris; sconsconf="${sconsconf} buildLoris=$?"
-	! use lua; sconsconf="${sconsconf} buildLuaWrapper=$?"
-	! use mp3; sconsconf="${sconsconf} includeMP3=$?"
-	! use newparser; sconsconf="${sconsconf} buildNewParser=$?"
-	! use osc; sconsconf="${sconsconf} useOSC=$?"
-	! use p5glove; sconsconf="${sconsconf} includeP5Glove=$?"
-	! use pd; sconsconf="${sconsconf} buildPDClass=$?"
-# Pdf generation is totally broken, so it is disabled by default
-	! use doc; sconsconf="${sconsconf} generatePdf=$?"
-	! use double-precision; sconsconf="${sconsconf} useDouble=$?"
-	! use dssi; sconsconf="${sconsconf} buildDSSI=$?"
-	! use editor; sconsconf="${sconsconf} useFLTK=$? buildCSEditor=$?"
-	! use gui; sconsconf="${sconsconf} useFLTK=$? buildCsound5GUI=$? buildVirtual=$?"
-# Portaudio is broken, so it is disabled by default
-	! use portaudio; sconsconf="${sconsconf} usePortAudio=$?"
-	! use python; sconsconf="${sconsconf} buildPythonOpcodes=$? buildPythonWrapper=$?"
-	! use static; sconsconf="${sconsconf} dynamicCsoundLibrary=$?"
-	! use stk; sconsconf="${sconsconf} buildStkOpcodes=$?"
-	! use tcl; sconsconf="${sconsconf} buildTclcsound=$?"
-	! use vst; sconsconf="${sconsconf} buildCsoundVST=$?"
-	! use vst-host; sconsconf="${sconsconf} buildvst4cs=$?"
-	! use wiimote; sconsconf="${sconsconf} includeWii=$?"
-
-	einfo "Building Csound with the following configuration options:"
-	einfo ${sconsconf}
-	epause 5
-
-	# These addpredicts are to stop sandbox violation errors
-	# addpredict in src_compile() alone does not stop sandbox
-	# violation errors in src_install(()
-	addpredict "/usr/include"
-	addpredict "/usr/lib"
-	addpredict "/etc/ld.so.cache"
-
-	einfo "You enabled following scons options: ${myconf}"
-
-	escons \
-		CC="$(tc-getCC)" \
-		CXX="$(tc-getCXX)" \
-		customCCFLAGS="$CFLAGS -fno-strict-aliasing" \
-		customCXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
-		${sconsconf} || die "scons failed!"
-}
-
-src_install() {
-	if use amd64; then
-		./install.py --prefix="/usr" --instdir="${D}" --word64
-	else
-		./install.py --prefix="/usr" --instdir="${D}"
-	fi
-	# Post-installation fixes (probably should patch install.py instead, but...)
-	rm -rf "${D}"/usr/*.md5sums
-	rm -rf "${D}"/usr/share/doc/csound
-	rm -rf "${D}"/usr/bin/uninstall-csound5
-	cd "${D}"/usr/$(get_libdir)
-	ln -s libcsnd.so.5.2 libcsnd.so
-	cd "${S}"
-	if use csoundac; then
-		insinto $(python_get_sitedir)
-		doins CsoundAC.py
-		insopts -m0755
-		doins _CsoundAC.so
-		if use lua; then
-			insinto /usr/$(get_libdir)/csound/lua
-			doins luaCsoundAC.so
-		fi
-		insopts -m0644
-	fi
-	if use lua; then
-		insinto /usr/$(get_libdir)/csound/lua
-		insopts -m0755
-		doins luaCsnd.so
-		insopts -m0644
-	fi
-
-	if use double-precision; then
-		echo "OPCODEDIR64=/usr/$(get_libdir)/csound/plugins64" > 61csound5
-	else
-		echo "OPCODEDIR=/usr/$(get_libdir)/csound/plugins" > 61csound5
-	fi
-	echo "CSSTRNGS=/usr/share/locale" >> 61csound5
-	doenvd 61csound5
-
-	dodoc AUTHORS ChangeLog
-	newdoc Loadable_Opcodes.txt Loadable_Opcodes
-	newdoc readme-csound5.txt README.Csound5
-	newdoc readme-csound5-complete.txt README.Csound5-VST
-	if use doc; then
-		dohtml -r "${WORKDIR}"/html/*
-	fi
-	if use examples; then
-		insinto /usr/share/doc/${PR}
-		doins -r examples
-	fi
-}

Added: trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r3.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r3.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/csound/csound-5.12.1-r3.ebuild	2011-06-04 20:15:20 UTC (rev 1993)
@@ -0,0 +1,226 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+PYTHON_DEPEND="2"
+EAPI="2"
+
+inherit exteutils python eutils toolchain-funcs
+
+MY_P=${P/csound-/Csound}
+MY_PV=${PV/12.1/12}
+STK_VERSION="4.4.2"
+
+DESCRIPTION="Csound is a sound and music synthesis system, providing facilities for composition and performance"
+HOMEPAGE="http://csound.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+doc? ( mirror://sourceforge/${PN}/Csound${MY_PV}_manual_html.zip )
+stk? ( http://ccrma.stanford.edu/software/stk/release/stk-${STK_VERSION}.tar.gz )
+vst? ( vstsdk2_4_rev1.zip )
+vst-host? ( vstsdk2_4_rev1.zip )"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE="+alsa altivec amd64 ppc64 csoundac -doc +double-precision +nodebug dssi editor examples fluidsynth gui htmldoc jack java loris lua mp3 musicxml newparser osc p5glove pd +python -portaudio +static stk tcl vst -vst-host wiimote"
+
+RDEPEND="media-libs/ladspa-sdk
+	alsa? ( media-libs/alsa-lib )
+	csoundac? ( x11-libs/fltk:1[threads]
+		dev-libs/boost
+		dev-lang/swig )
+	dssi? ( media-libs/dssi
+		media-libs/ladspa-sdk )
+	>=media-libs/libsndfile-1.0.16
+	editor? ( x11-libs/fltk:1[threads] )
+	fluidsynth? ( media-sound/fluidsynth )
+	gui? ( x11-libs/fltk:1[threads] )
+	htmldoc? ( =app-doc/csound-htmldoc-meta-5.12 )
+	jack? ( media-sound/jack-audio-connection-kit )
+	java? ( || ( virtual/jre virtual/jdk ) )
+	loris? ( media-libs/loris[csound,fftw] )
+	lua? ( dev-lang/lua )
+	mp3? ( media-sound/mpadec )
+	musicxml? ( media-libs/libmusicxml:2 )
+	osc? ( media-libs/liblo )
+	p5glove? ( media-libs/libp5glove )
+	pd? ( virtual/pd )
+	stk? ( =media-libs/stk-${STK_VERSION} )
+	tcl? ( >=dev-lang/tcl-8.5
+		>=dev-lang/tk-8.5 )
+	wiimote? ( media-libs/wiiuse )"
+
+DEPEND="${RDEPEND}
+	app-arch/unzip
+	dev-util/pkgconfig
+	dev-util/scons
+	>=dev-lang/python-2.4
+	portaudio? ( =media-libs/portaudio-19* )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	python_set_active_version 2
+
+	if use pd; then
+		ewarn "You have enabled pd (PureData) use-flag."
+		ewarn "Please abort the build with CTRL-C, and install"
+		ewarn "\"pd-overlay\" with layman ...unless you have done"
+		ewarn "it already."
+		ewarn
+		epause 5
+	fi
+
+	if use vst; then
+		if ! use csoundac || ! use gui; then
+			eerror "Please set USE=\"csoundac gui\" with vst use-flag!"
+			die
+		fi
+	fi
+}
+
+src_prepare() {
+	epatch "${FILESDIR}"/install-stk.patch
+	epatch "${FILESDIR}"/javaVM.patch
+	epatch "${FILESDIR}"/libmusicxml.patch
+	epatch "${FILESDIR}"/custom.py-${PV}.patch
+	
+	if use csoundac && ! use lua ; then
+		die "You have enables the USE csoundac, you must emerge ${P} with USE=\"lua\" for this to work"
+	fi
+	 
+	if use stk; then
+		ebegin "Copying Perry Cook's Synthesis ToolKit to the tree"
+		cp -r "${WORKDIR}"/stk-"${STK_VERSION}"/* "${S}"/Opcodes/stk/
+		eend
+	fi
+
+	if use vst || use vst-host; then
+		ebegin "Copying Steinberg's VST SDK to the tree"
+		cp -r "${WORKDIR}"/vstsdk2.4 "${S}"/frontends/CsoundVST/
+		eend
+	fi
+}
+
+src_compile() {
+	local sconsconf="prefix=/usr \
+		pythonVersion=$(python_get_version) \
+		tclversion=8.5 \
+		usePortAudio=0 \
+		usePortMIDI=0 \
+		useCoreAudio=0 \
+		buildUtilities=1 \
+		buildInterfaces=1"
+	if use amd64; then
+		sconsconf="${sconsconf} Word64=1 Lib64=1"
+	fi
+	! use alsa; sconsconf="${sconsconf} useALSA=$?"
+	! use altivec; sconsconf="${sconsconf} useAltivec=$?"
+	! use csoundac; sconsconf="${sconsconf} buildCsoundAC=$?"
+	! use nodebug; sconsconf="${sconsconf} buildRelease=$?"
+	# Pdf generation is totally broken, so it is disabled by default
+	! use doc; sconsconf="${sconsconf} generatePdf=$?"
+	! use double-precision; sconsconf="${sconsconf} useDouble=$?"
+	! use dssi; sconsconf="${sconsconf} buildDSSI=$?"
+	! use editor; sconsconf="${sconsconf} useFLTK=$? buildCSEditor=$?"
+	! use gui; sconsconf="${sconsconf} useFLTK=$? buildCsound5GUI=$? buildVirtual=$?"
+	! use jack; sconsconf="${sconsconf} useJack=$?"
+	! use java; sconsconf="${sconsconf} buildJavaWrapper=$?"
+	# Handled by the media-libs/loris package
+	#! use loris; sconsconf="${sconsconf} buildLoris=$?"
+	! use lua; sconsconf="${sconsconf} buildLuaWrapper=$?"
+	! use mp3; sconsconf="${sconsconf} includeMP3=$?"
+	! use newparser; sconsconf="${sconsconf} buildNewParser=$?"
+	! use osc; sconsconf="${sconsconf} useOSC=$?"
+	! use p5glove; sconsconf="${sconsconf} includeP5Glove=$?"
+	! use pd; sconsconf="${sconsconf} buildPDClass=$?"
+# Pdf generation is totally broken, so it is disabled by default
+	! use doc; sconsconf="${sconsconf} generatePdf=$?"
+	! use double-precision; sconsconf="${sconsconf} useDouble=$?"
+	! use dssi; sconsconf="${sconsconf} buildDSSI=$?"
+	! use editor; sconsconf="${sconsconf} useFLTK=$? buildCSEditor=$?"
+	! use gui; sconsconf="${sconsconf} useFLTK=$? buildCsound5GUI=$? buildVirtual=$?"
+# Portaudio is broken, so it is disabled by default
+	! use portaudio; sconsconf="${sconsconf} usePortAudio=$?"
+	! use python; sconsconf="${sconsconf} buildPythonOpcodes=$? buildPythonWrapper=$?"
+	! use static; sconsconf="${sconsconf} dynamicCsoundLibrary=$?"
+	! use stk; sconsconf="${sconsconf} buildStkOpcodes=$?"
+	! use tcl; sconsconf="${sconsconf} buildTclcsound=$?"
+	! use vst; sconsconf="${sconsconf} buildCsoundVST=$?"
+	! use vst-host; sconsconf="${sconsconf} buildvst4cs=$?"
+	! use wiimote; sconsconf="${sconsconf} includeWii=$?"
+
+	einfo "Building Csound with the following configuration options:"
+	einfo ${sconsconf}
+	epause 5
+
+	# These addpredicts are to stop sandbox violation errors
+	# addpredict in src_compile() alone does not stop sandbox
+	# violation errors in src_install(()
+	addpredict "/usr/include"
+	addpredict "/usr/lib"
+	addpredict "/etc/ld.so.cache"
+
+	einfo "You enabled following scons options: ${myconf}"
+
+	escons \
+		CC="$(tc-getCC)" \
+		CXX="$(tc-getCXX)" \
+		customCCFLAGS="$CFLAGS -fno-strict-aliasing" \
+		customCXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
+		${sconsconf} || die "scons failed!"
+}
+
+src_install() {
+	if use amd64; then
+		./install.py --prefix="/usr" --instdir="${D}" --word64
+	else
+		./install.py --prefix="/usr" --instdir="${D}"
+	fi
+	# Post-installation fixes (probably should patch install.py instead, but...)
+	rm -rf "${D}"/usr/*.md5sums
+	rm -rf "${D}"/usr/share/doc/csound
+	rm -rf "${D}"/usr/bin/uninstall-csound5
+	cd "${D}"/usr/$(get_libdir)
+	ln -s libcsnd.so.5.2 libcsnd.so
+	cd "${S}"
+	if use csoundac; then
+		insinto $(python_get_sitedir)
+		doins CsoundAC.py
+		insopts -m0755
+		doins _CsoundAC.so
+		if use lua; then
+			insinto /usr/$(get_libdir)/csound/lua
+			doins luaCsoundAC.so
+		fi
+		insopts -m0644
+	fi
+	if use lua; then
+		insinto /usr/$(get_libdir)/csound/lua
+		insopts -m0755
+		doins luaCsnd.so
+		insopts -m0644
+	fi
+
+	if use double-precision; then
+		echo "OPCODEDIR64=/usr/$(get_libdir)/csound/plugins64" > 61csound5
+	else
+		echo "OPCODEDIR=/usr/$(get_libdir)/csound/plugins" > 61csound5
+	fi
+	echo "CSSTRNGS=/usr/share/locale" >> 61csound5
+	doenvd 61csound5
+
+	dodoc AUTHORS ChangeLog
+	newdoc Loadable_Opcodes.txt Loadable_Opcodes
+	newdoc readme-csound5.txt README.Csound5
+	newdoc readme-csound5-complete.txt README.Csound5-VST
+	if use doc; then
+		dohtml -r "${WORKDIR}"/html/*
+	fi
+	if use examples; then
+		insinto /usr/share/doc/${PR}
+		doins -r examples
+	fi
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/