[proaudio] [1050] Ardour is back..

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


Revision: 1050
Author:   gimpel
Date:     2007-12-16 16:11:12 +0000 (Sun, 16 Dec 2007)

Log Message:
-----------
Ardour is back.. not much changed actually
* ardour 0.99 is gone for now - if anyone really needs slotted 0.99 and 2.0
  can find the old ardour tree in proaudio-dev overlay
* build 2.0.5 with SYSLIBS by default... gcc-4.2 issue with internal ones
* 2.1 is still hardmasked in portage, you need to unmask it!
  See Gentoo bug #194437 -  SYSLIBS optional here...

Modified Paths:
--------------
    trunk/overlays/proaudio/eclass/vst.eclass
    trunk/overlays/proaudio/media-sound/ardour/Manifest
    trunk/overlays/proaudio/profiles/package.mask

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/ardour/ChangeLog
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5.ebuild
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.1.ebuild
    trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-cflags.patch
    trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-sndfile-external.patch
    trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5
    trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1
    trunk/overlays/proaudio-dev/media-sound/ardour/
    trunk/overlays/proaudio-dev/media-sound/ardour/Manifest
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.2.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.3.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.2.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.3.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.5.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.99992.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.1.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99991.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99992.ebuild
    trunk/overlays/proaudio-dev/media-sound/ardour/files/
    trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-syslib_mod2.patch
    trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_0_1.patch
    trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_1_1.patch
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.2
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.3
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.2
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.3
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.5
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.99992
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.1
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-99991
    trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-99992

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5-r0.ebuild
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.1-r0.ebuild
    trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_0_1.patch
    trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_1_1.patch
    trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5-r0
    trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1-r0


Modified: trunk/overlays/proaudio/eclass/vst.eclass
===================================================================
--- trunk/overlays/proaudio/eclass/vst.eclass	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/eclass/vst.eclass	2007-12-16 16:11:12 UTC (rev 1050)
@@ -32,3 +32,19 @@
 		return 1
 	fi
 }
+
+ardour_vst_prepare() {
+	# adjust files for vst support
+	if use vst; then
+		# delete vst question
+		touch ${S}/.personal_use_only
+		# fix vst header
+		sed -ie	's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' \
+			libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+	fi
+}

Added: trunk/overlays/proaudio/media-sound/ardour/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ChangeLog	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,14 @@
+# ChangeLog for media-sound/ardour
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  16 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx>
+  +files/ardour-2.0.3-cflags.patch, -files/ardour-vst-support_1_1.patch,
+  +files/ardour-2.0.3-sndfile-external.patch,
+  -files/ardour-vst-support_0_1.patch, +ardour-2.0.5.ebuild,
+  -ardour-2.0.5-r0.ebuild, +ardour-2.1.ebuild, -ardour-2.1-r0.ebuild:
+  ardour cleanups, part 3
+  * move vst header preparation to vst.eclass
+  * adopt in-portage ebuilds and add our changes
+  * die un USE="vst" for amd64 - it won't compile anyway
+

Modified: trunk/overlays/proaudio/media-sound/ardour/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/Manifest	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/Manifest	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,3 +1,11 @@
+AUX ardour-2.0.3-cflags.patch 1205 RMD160 e7b3c10835fb4228603f3c9455809bfab5847a3e SHA1 22260d62a9ff67baeed07f5fdc6f4dcf95656ddd SHA256 892180ba5e622219def261a647e80f7214bb3f6ce829804a11a25ae57d2ea4be
+MD5 4cfd0bd4ca518d824f733a33fa69e189 files/ardour-2.0.3-cflags.patch 1205
+RMD160 e7b3c10835fb4228603f3c9455809bfab5847a3e files/ardour-2.0.3-cflags.patch 1205
+SHA256 892180ba5e622219def261a647e80f7214bb3f6ce829804a11a25ae57d2ea4be files/ardour-2.0.3-cflags.patch 1205
+AUX ardour-2.0.3-sndfile-external.patch 1409 RMD160 cbc6381f17a7978caa56aff0d5e0ce8b64f7161d SHA1 6559d30abdc3a89121097ed2649872806ce4a736 SHA256 71542baed4deeae9505107973361a5aab06f49ceaeb3bf7d2e7c5ffd73cc604d
+MD5 8420e0556f15f0718d01674c462feb3a files/ardour-2.0.3-sndfile-external.patch 1409
+RMD160 cbc6381f17a7978caa56aff0d5e0ce8b64f7161d files/ardour-2.0.3-sndfile-external.patch 1409
+SHA256 71542baed4deeae9505107973361a5aab06f49ceaeb3bf7d2e7c5ffd73cc604d files/ardour-2.0.3-sndfile-external.patch 1409
 AUX ardour-syslib_mod2.patch 5359 RMD160 fde311ad4653c4e053fede1e63cf274d20009680 SHA1 7fbb68b522101c942b26c1c16055a7aed54743e5 SHA256 20326ecf95d15df46ca79d5645975138ec528e5490e5d3e4ecf92ff79dae783f
 MD5 2a6f6cd908000c8ec4fa2d0c5dfc6aee files/ardour-syslib_mod2.patch 5359
 RMD160 fde311ad4653c4e053fede1e63cf274d20009680 files/ardour-syslib_mod2.patch 5359
@@ -2,37 +10,33 @@
 SHA256 20326ecf95d15df46ca79d5645975138ec528e5490e5d3e4ecf92ff79dae783f files/ardour-syslib_mod2.patch 5359
-AUX ardour-vst-support_0_1.patch 833 RMD160 39cc8cba99b67a5318a430d53b691450021bfc9c SHA1 18c983d0c606aa8d715c0188a3f81f71f4d1f5c2 SHA256 ab095b26c6c0b71770084ff1384dab97dd99bd1a7dcc75f3875dc8d5a47ca9fb
-MD5 4f8a5cdf89dbb3ccb7b16cd349a25c1e files/ardour-vst-support_0_1.patch 833
-RMD160 39cc8cba99b67a5318a430d53b691450021bfc9c files/ardour-vst-support_0_1.patch 833
-SHA256 ab095b26c6c0b71770084ff1384dab97dd99bd1a7dcc75f3875dc8d5a47ca9fb files/ardour-vst-support_0_1.patch 833
-AUX ardour-vst-support_1_1.patch 951 RMD160 30eba23f28463bb564babaae5e4d5bbd83643198 SHA1 9efe7bf21ee7d8c2c1febc7872996259d4fb9954 SHA256 1bcefe84439243e5b57c364c4afb2570bcd643cc03316008fa57c21d5bfcd481
-MD5 ae848c8b9dd87bbc98716e49d338e819 files/ardour-vst-support_1_1.patch 951
-RMD160 30eba23f28463bb564babaae5e4d5bbd83643198 files/ardour-vst-support_1_1.patch 951
-SHA256 1bcefe84439243e5b57c364c4afb2570bcd643cc03316008fa57c21d5bfcd481 files/ardour-vst-support_1_1.patch 951
 DIST ardour-2.0.5.tar.bz2 2777524 RMD160 eb278fbd7121707b9b7d4dfbb1e2088ef36cb1d4 SHA1 9a3adea22c5f182832b90506cb354097c21caa4f SHA256 976b87920a3bd481b06edcbc756d1c5425397286f9b2a14546705a1f60a60848
 DIST ardour-2.1.tar.bz2 2788128 RMD160 70796eb07911c5301049fb2d2749cbaa7a04ba4d SHA1 fcfb1230b9e7ec42c0044be89a6e25aa31a75658 SHA256 160482d87d8eb2188481fc42d7f6442efe6bff38544a321a79e2e23a7aa9501b
-EBUILD ardour-2.0.5-r0.ebuild 5346 RMD160 5a2334befc69dcdcc9f901c0881f44d5bc1f2d9f SHA1 e3694d98fe369688513deb81bf97e9c44f36695a SHA256 8c8ec1c9ae12761dd54977d8a058773ef9840e11bbba36326c40b4298905b0d1
-MD5 4aa34cf31c6ea8425652cbb5b45113b0 ardour-2.0.5-r0.ebuild 5346
-RMD160 5a2334befc69dcdcc9f901c0881f44d5bc1f2d9f ardour-2.0.5-r0.ebuild 5346
-SHA256 8c8ec1c9ae12761dd54977d8a058773ef9840e11bbba36326c40b4298905b0d1 ardour-2.0.5-r0.ebuild 5346
+EBUILD ardour-2.0.5.ebuild 3721 RMD160 6a0c8d055e4bfbe02cba4ed422faffde66f92988 SHA1 3df66674fe4b83403ce22cbab8a0318650c189bb SHA256 79f22dcaea6d63cb96e4d4ccdcb12856f7944a4653d7613e62006074adaa7bd2
+MD5 22390fbaf7123089c1bfdf3936b8bfc1 ardour-2.0.5.ebuild 3721
+RMD160 6a0c8d055e4bfbe02cba4ed422faffde66f92988 ardour-2.0.5.ebuild 3721
+SHA256 79f22dcaea6d63cb96e4d4ccdcb12856f7944a4653d7613e62006074adaa7bd2 ardour-2.0.5.ebuild 3721
 EBUILD ardour-2.0.99992.ebuild 5369 RMD160 ca3a8a9def57bbce50834d59e8745e33843f3cd1 SHA1 3462383d0eacd666b33ffd35622174a4d38b91e1 SHA256 a0746c9aa4298e86e21dfdee749db7fe5fe69fa7a6f7d0e2b34b98004d16507e
 MD5 95f16698b20f907a94e276b5a1cbe34b ardour-2.0.99992.ebuild 5369
 RMD160 ca3a8a9def57bbce50834d59e8745e33843f3cd1 ardour-2.0.99992.ebuild 5369
 SHA256 a0746c9aa4298e86e21dfdee749db7fe5fe69fa7a6f7d0e2b34b98004d16507e ardour-2.0.99992.ebuild 5369
-EBUILD ardour-2.1-r0.ebuild 3842 RMD160 b5134719d79fd75c3a8f957f15527c398e2f6440 SHA1 a9167c94b7b6aa7d321fe224cdff2b40163e9e81 SHA256 c0d6e551a3c9032579557f73c280a0c6b60b70ce03c81515cd594de72639099f
-MD5 54d80d6de9df0de894d84ff40bfc183a ardour-2.1-r0.ebuild 3842
-RMD160 b5134719d79fd75c3a8f957f15527c398e2f6440 ardour-2.1-r0.ebuild 3842
-SHA256 c0d6e551a3c9032579557f73c280a0c6b60b70ce03c81515cd594de72639099f ardour-2.1-r0.ebuild 3842
+EBUILD ardour-2.1.ebuild 4028 RMD160 4d97327361fb2eac2b2de12f0d501993185f0743 SHA1 c0c94c044fcbcc8b3a5f69393848787469be4c44 SHA256 bff897fac36b096964ef592896982d4bf3e6a7c551143179ad599e0ffb8bf906
+MD5 0cb032a232a80ebca03384533944b056 ardour-2.1.ebuild 4028
+RMD160 4d97327361fb2eac2b2de12f0d501993185f0743 ardour-2.1.ebuild 4028
+SHA256 bff897fac36b096964ef592896982d4bf3e6a7c551143179ad599e0ffb8bf906 ardour-2.1.ebuild 4028
 EBUILD ardour-99992.ebuild 5132 RMD160 5ceaae253beb14b59275d3ae77487d8db1385e79 SHA1 4b2d203a539b483e581ef608feecf9008b62174b SHA256 539d671118f2fd4f86e7ec0a06ada4449cbee10546ef6ac7fb7f1b0be9278abf
 MD5 06cc1b63deb62c249595ff5fd3c1acde ardour-99992.ebuild 5132
 RMD160 5ceaae253beb14b59275d3ae77487d8db1385e79 ardour-99992.ebuild 5132
 SHA256 539d671118f2fd4f86e7ec0a06ada4449cbee10546ef6ac7fb7f1b0be9278abf ardour-99992.ebuild 5132
-MD5 1974df0fc585248ffa38c533e0f3a414 files/digest-ardour-2.0.5-r0 178
-RMD160 d3f3c41a635dffce3ddc3a6e08ae453ac19e1b78 files/digest-ardour-2.0.5-r0 178
-SHA256 b289c852ea5864ed5a482e32d7f0664a0f35aaaffea3a74ab3e0cf3123c44792 files/digest-ardour-2.0.5-r0 178
+MISC ChangeLog 603 RMD160 3b1ec2f28f4528471ed272f799fea37faf63249e SHA1 3942cb2c46b33440014ab818d304028a8f5f9250 SHA256 f18a0067a30db613511b2a105f1be46ba13ac626617a47a3f2d916fe9996a94e
+MD5 9d6c44020894589da75a58750330a3c6 ChangeLog 603
+RMD160 3b1ec2f28f4528471ed272f799fea37faf63249e ChangeLog 603
+SHA256 f18a0067a30db613511b2a105f1be46ba13ac626617a47a3f2d916fe9996a94e ChangeLog 603
+MD5 0d0cc8b1632a1a118ae953a91b10c6c4 files/digest-ardour-2.0.5 244
+RMD160 63e7c1c20f4e5846cd69c8126f389b3e3411b9f3 files/digest-ardour-2.0.5 244
+SHA256 48f72afd0ddf20dad4ae33fa0df501245c84607bbec7e31cceb5a011773ee002 files/digest-ardour-2.0.5 244
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ardour-2.0.99992 0
 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ardour-2.0.99992 0
 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ardour-2.0.99992 0
-MD5 34a15db22902cbdd9aecc89b90a94725 files/digest-ardour-2.1-r0 238
-RMD160 a437a96ac89954d96bb02515c380e739efebde9d files/digest-ardour-2.1-r0 238
-SHA256 3980c175f3dbd4f97e7c7d6c444a6632da7bc6bfa98cc18f738840600b199da7 files/digest-ardour-2.1-r0 238
+MD5 34a15db22902cbdd9aecc89b90a94725 files/digest-ardour-2.1 238
+RMD160 a437a96ac89954d96bb02515c380e739efebde9d files/digest-ardour-2.1 238
+SHA256 3980c175f3dbd4f97e7c7d6c444a6632da7bc6bfa98cc18f738840600b199da7 files/digest-ardour-2.1 238
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ardour-99992 0

Deleted: trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5-r0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5-r0.ebuild	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5-r0.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,175 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils fetch-tools scons-ccache
-
-DESCRIPTION="multi-track hard disk recording software"
-HOMEPAGE="http://ardour.org/";
-SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
-RESTRICT="nomirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="nls debug sse altivec vst sys-libs"
-
-RDEPEND=">=media-libs/liblrdf-0.4.0
-	>=media-libs/raptor-1.2.0
-	>=media-libs/libart_lgpl-2.3.16
-	>=media-libs/ladspa-sdk-1.12
-	>=media-libs/libsamplerate-0.0.14
-	media-libs/liblo
-	>=dev-libs/libxml2-2.5.7
-	dev-libs/libxslt
-	>=dev-libs/glib-2.10
-	>=x11-libs/gtk+-2.6
-	>=media-sound/jack-audio-connection-kit-0.100.0
-	!=media-sound/ardour2-2*
-	vst? ( >=app-emulation/wine-0.9.5 )
-	>=gnome-base/libgnomecanvas-2.0
-	sys-libs? ( >=dev-libs/libsigc++-2.0
-		>=dev-cpp/glibmm-2.4
-		>=dev-cpp/cairomm-1.0
-		>=dev-cpp/gtkmm-2.8
-		>=dev-libs/atk-1.6
-		>=x11-libs/pango-1.4 
-		>=dev-cpp/libgnomecanvasmm-2.12.0
-		>=media-libs/libsndfile-1.0.16
-		>=media-libs/libsoundtouch-1.0 )"
-
-	# sys-libs/gdbm # no longer needed?!
-
-DEPEND="${RDEPEND}
-	>=dev-libs/boost-1.33.1
-	sys-devel/bison
-	sys-devel/autoconf
-	sys-devel/automake
-	>=dev-util/pkgconfig-0.8.0
-	>=dev-util/scons-0.96.1
-	nls? ( >=sys-devel/gettext-0.12.1 )
-	vst? ( app-arch/zip 
-		=media-libs/vst-sdk-2.3* )"
-
-pkg_setup(){
-	# issue with ACLOCAL_FLAGS if set to a wrong value
-	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
-		ewarn "check your profile settings:"
-		ewarn "There is no need to set the ACLOCAL_FLAGS"
-		ewarn "environment variable so we unset it"
-		unset ACLOCAL_FLAGS
-	fi
-	if use sys-libs;then
-		ewarn "You are trying to use the system libraries"
-		ewarn "instead the ones provided by ardour"
-		ewarn "No upstream support for doing so. Use at your own risk!!!"
-		ewarn "To use the ardour provided libs remerge with:"
-		ewarn "USE=\"-sys-libs\" emerge =${P}"
-		
-		if ! built_with_use dev-cpp/gtkmm accessibility;then
-			eerror "To be able to use the USE flag 'sys-libs'"
-			eerror "you need to have dev-cpp/gtkmm"
-			eerror "emerged with the USE flag 'accessibility'"
-			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
-		fi
-		epause 3s
-	fi
-}
-
-src_unpack(){
-	# abort if user answers no to distribution of vst enabled binaries
-	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
-	
-	unpack "${P}.tar.bz2"
-	cd ${S}
-	
-	# hack to use the sys-lib for sndlib also
-	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
-	
-	# change template dir to not overwrite ardour1 stuff
-	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
-	add_ccache_to_scons
-	
-	# ################
-	# adjust files for vst support
-	if use vst;then
-		# delete vst question
-		touch ${S}/.personal_use_only
-
-		# fix vst header
-		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
-		#symlink the include vst include files
-		vst_tmp_dir="vstsdk2.3/source/common"
-		mkdir -p ${vst_tmp_dir}
-		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
-		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
-		#/usr/include/vst/ libs/fst
-		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
-	fi
-	# ###############
-}
-
-src_compile() {
-	# bug 99664
-#	cd ${S}/libs/glibmm2
-	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
-	#cd ${S}/libs/sigc++2/
-	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
-#	econf || die "configure failed"
-	
-	# Required for scons to "see" intermediate install location
-	mkdir -p ${D}
-	
-	local myconf=""
-	! use altivec; myconf="${myconf} ALTIVEC=$?"
-	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
-	! use nls; myconf="${myconf} NLS=$?" 
-	! use vst; myconf="${myconf} VST=$?" 
-	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
-	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
-	# static settings
-	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
-	einfo "${myconf}"
-
-	cd ${S}
-	scons ${myconf}	|| die "compilation failed"
-}
-
-src_install() {
-	scons DESTDIR="${D}" install || die "make install failed"
-	if use vst;then
-		newbin vst/ardour_vst.exe.so ardour2.exe.so
-		newbin vst/ardour_vst ardour2
-		fperms 644 /usr/bin/ardour2.exe.so
-		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
-
-		# fix ardour file_name
-		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
-	else
-		# fix ardour path
-		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
-	fi
-
-	cd DOCUMENTATION/
-	for i in `find -iname 'CVS'`;do rm -rf ${i};done
-	cd - &>/dev/null
-	dodoc  DOCUMENTATION/*
-}
-
-agree_vst() {
-	local ANSWER="no"
-	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
-	read ANSWER
-	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
-		einfo "OK, VST support will be enabled"
-		# delete question from SConscript
-		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
-	else
-		eerror "You cannot build Ardour with VST support for distribution to others"
-		eerror "It is a violation of several different licenses"
-	
-		eerror "use: USE=-vst emerge $P"
-		eerror "to disable vst support"
-		return 1
-	fi
-}

Added: trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.0.5.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,137 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs flag-o-matic scons-ccache vst
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="altivec debug fftw nls sse vst"
+
+# Note: internal libs fail for gcc-4.2 in ardour-2.0.5, so we enable SYSLIBS
+# by default until we have a patch
+RDEPEND="media-libs/liblo
+	>=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.4.2
+	>=media-sound/jack-audio-connection-kit-0.101.1
+	>=dev-libs/glib-2.10.3
+	x11-libs/pango
+	>=x11-libs/gtk+-2.8.8
+	media-libs/flac
+	media-libs/alsa-lib
+	>=media-libs/libsamplerate-0.1.1-r1
+	>=dev-libs/libxml2-2.6.0
+	dev-libs/libxslt
+	>=media-libs/libsndfile-1.0.16
+	gnome-base/libgnomecanvas
+	>=dev-cpp/gtkmm-2.10
+	dev-cpp/glibmm
+	>=dev-cpp/libgnomecanvasmm-2.10.0
+	dev-cpp/cairomm
+	>=dev-libs/libsigc++-2.0
+	media-libs/libsoundtouch
+	dev-libs/libusb
+	fftw? ( =sci-libs/fftw-3* )"
+
+DEPEND="${RDEPEND}
+	sys-devel/libtool
+	dev-libs/boost
+	dev-util/pkgconfig
+	>=dev-util/scons-0.96.1
+	nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+	if ! built_with_use dev-cpp/gtkmm accessibility; then
+		eerror "dev-cpp/gtkmm needs to be built with use accessibility"
+		eerror "in order to build ${PN}"
+		die "gtkmm was not built with use accessibility"
+	fi
+
+	if use amd64 && use vst; then
+		eerror "${P} currently does not compile with VST support on amd64!"
+		eerror "Please unset VST useflag."
+		die
+	fi
+}
+
+src_unpack() {
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst; then
+		agree_vst || die "you can not distribute ardour with vst support"
+	fi
+
+	unpack ${A}
+	cd "${S}"
+
+	epatch "${FILESDIR}/${PN}-2.0.3-sndfile-external.patch"
+	epatch "${FILESDIR}/${PN}-2.0.3-cflags.patch"
+
+	ardour_vst_prepare
+}
+
+ardour_use_enable() {
+	use ${2} && echo "${1}=1" || echo "${1}=0"
+}
+
+src_compile() {
+	# Required for scons to "see" intermediate install location
+	mkdir -p "${D}"
+
+	local FPU_OPTIMIZATION=$((use altivec || use sse) && echo 1 || echo 0)
+	cd "${S}"
+
+	tc-export CC CXX
+	add_ccache_to_scons
+
+	# Avoid compiling x86 asm when building on amd64 without using sse
+	# bug #186798
+	use amd64 && append-flags "-DUSE_X86_64_ASM"
+
+	scons \
+		$(ardour_use_enable DEBUG debug) \
+		FPU_OPTIMIZATION=${FPU_OPTIMIZATION} \
+		DESTDIR="${D}" \
+		$(ardour_use_enable NLS nls) \
+		$(ardour_use_enable FFT_ANALYSIS fftw) \
+		$(ardour_use_enable VST vst) \
+		SYSLIBS=1 \
+		CFLAGS="${CFLAGS}" \
+		PREFIX=/usr || die "scons make failed"
+}
+
+src_install() {
+	scons install || die "make install failed"
+
+	dodoc DOCUMENTATION/*
+
+	doicon "${S}/icons/icon/ardour_icon_mac.png"
+	make_desktop_entry ardour2 Ardour2 ardour_icon_mac.png "AudioVideo;Audio"
+
+	if use vst; then
+		mv "${D}"/usr/bin/ardourvst "${D}"/usr/bin/ardour2
+	fi
+}
+
+pkg_postinst() {
+	ewarn "---------------- WARNING -------------------"
+	ewarn ""
+	ewarn "Do not use Ardour 2.0 to open the only copy of sessions created with Ardour 0.99."
+	ewarn "Ardour 2.0 saves the session file in a new format that Ardour 0.99 will"
+	ewarn "not understand."
+	ewarn ""
+	ewarn "MAKE BACKUPS OF THE SESSION FILES."
+	ewarn ""
+	ewarn "The simplest way to address this is to make a copy of the session file itself"
+	ewarn "(e.g mysession/mysession.ardour) and make that file unreadable using chmod(1)."
+	ewarn ""
+	ewarn "---------------- WARNING -------------------"
+	ewarn ""
+	ewarn "If you use KDE 3.5, be sure to uncheck 'Apply colors to non-KDE applications' in"
+	ewarn "the colors configuration module if you want to be able to actually see various"
+	ewarn "texts in Ardour 2."
+}

Deleted: trunk/overlays/proaudio/media-sound/ardour/ardour-2.1-r0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.1-r0.ebuild	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.1-r0.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,135 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils fetch-tools scons-ccache vst
-
-DESCRIPTION="multi-track hard disk recording software"
-HOMEPAGE="http://ardour.org/";
-SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
-RESTRICT="nomirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="nls debug sse altivec vst sys-libs"
-
-RDEPEND=">=media-libs/liblrdf-0.4.0
-	>=media-libs/raptor-1.2.0
-	>=media-libs/libart_lgpl-2.3.16
-	>=media-libs/ladspa-sdk-1.12
-	>=media-libs/libsamplerate-0.0.14
-	media-libs/liblo
-	>=dev-libs/libxml2-2.5.7
-	dev-libs/libxslt
-	>=dev-libs/glib-2.10
-	>=x11-libs/gtk+-2.6
-	>=media-sound/jack-audio-connection-kit-0.100.0
-	!=media-sound/ardour2-2*
-	vst? ( >=app-emulation/wine-0.9.5 )
-	>=gnome-base/libgnomecanvas-2.0
-	sys-libs? ( >=dev-libs/libsigc++-2.0
-		>=dev-cpp/glibmm-2.4
-		>=dev-cpp/cairomm-1.0
-		>=dev-cpp/gtkmm-2.8
-		>=dev-libs/atk-1.6
-		>=x11-libs/pango-1.4 
-		>=dev-cpp/libgnomecanvasmm-2.12.0
-		>=media-libs/libsndfile-1.0.16
-		>=media-libs/libsoundtouch-1.0 )"
-
-	# sys-libs/gdbm # no longer needed?!
-
-DEPEND="${RDEPEND}
-	>=dev-libs/boost-1.33.1
-	sys-devel/bison
-	sys-devel/autoconf
-	sys-devel/automake
-	>=dev-util/pkgconfig-0.8.0
-	>=dev-util/scons-0.96.1
-	nls? ( >=sys-devel/gettext-0.12.1 )"
-pkg_setup(){
-	# issue with ACLOCAL_FLAGS if set to a wrong value
-	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
-		ewarn "check your profile settings:"
-		ewarn "There is no need to set the ACLOCAL_FLAGS"
-		ewarn "environment variable so we unset it"
-		unset ACLOCAL_FLAGS
-	fi
-	if use sys-libs;then
-		ewarn "You are trying to use the system libraries"
-		ewarn "instead the ones provided by ardour"
-		ewarn "No upstream support for doing so. Use at your own risk!!!"
-		ewarn "To use the ardour provided libs remerge with:"
-		ewarn "USE=\"-sys-libs\" emerge =${P}"
-		
-		if ! built_with_use dev-cpp/gtkmm accessibility;then
-			eerror "To be able to use the USE flag 'sys-libs'"
-			eerror "you need to have dev-cpp/gtkmm"
-			eerror "emerged with the USE flag 'accessibility'"
-			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
-		fi
-		epause 3s
-	fi
-}
-
-src_unpack(){
-	# abort if user answers no to distribution of vst enabled binaries
-	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
-	
-	unpack ${A}
-	cd "${S}"
-	
-	# hack to use the sys-lib for sndlib also
-	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
-	
-	add_ccache_to_scons
-	
-	# adjust files for vst support
-	if use vst;then
-		# delete vst question
-		touch ${S}/.personal_use_only
-
-		# fix vst header
-		sed -ie	's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' \
-			libs/fst/SConscript || die "change vst-header location"
-		#symlink the include vst include files
-		vst_tmp_dir="vstsdk2.3/source/common"
-		mkdir -p ${vst_tmp_dir}
-		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
-		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
-	fi
-}
-
-src_compile() {
-	# Required for scons to "see" intermediate install location
-	mkdir -p ${D}
-	
-	local myconf=""
-	! use altivec; myconf="${myconf} ALTIVEC=$?"
-	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
-	! use nls; myconf="${myconf} NLS=$?" 
-	! use vst; myconf="${myconf} VST=$?" 
-	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
-	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
-	# static settings
-	myconf="${myconf} PREFIX=/usr KSI=0"
-	einfo "Running scons ${myconf}"
-
-	cd ${S}
-	scons ${myconf}	|| die "compilation failed"
-}
-
-src_install() {
-	scons DESTDIR="${D}" install || die "make install failed"
-	if use vst;then
-		dobin vst/ardour_vst.exe.so
-		dobin vst/ardour_vst
-		fperms 644 /usr/bin/ardour.exe.so
-	fi
-
-	cd DOCUMENTATION/
-	for i in `find -iname 'CVS'`;do rm -rf ${i};done
-	cd - &>/dev/null
-	dodoc  DOCUMENTATION/*
-}

Added: trunk/overlays/proaudio/media-sound/ardour/ardour-2.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.1.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,145 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs flag-o-matic scons-ccache vst
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="altivec debug fftw nls sse sys-libs vst"
+
+RDEPEND="media-libs/liblo
+	>=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.4.2
+	>=media-sound/jack-audio-connection-kit-0.101.1
+	>=dev-libs/glib-2.10.3
+	>=x11-libs/gtk+-2.8.8
+	media-libs/flac
+	media-libs/alsa-lib
+	>=media-libs/libsamplerate-0.1.1-r1
+	>=dev-libs/libxml2-2.6.0
+	dev-libs/libxslt
+	gnome-base/libgnomecanvas
+	dev-libs/libusb
+	fftw? ( =sci-libs/fftw-3* )
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.10
+		>=dev-cpp/glibmm-2.4
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+DEPEND="${RDEPEND}
+	sys-devel/libtool
+	dev-libs/boost
+	dev-util/pkgconfig
+	>=dev-util/scons-0.96.1
+	nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+	if use amd64 && use vst; then
+		eerror "${P} currently does not compile with VST support on amd64!"
+		eerror "Please unset VST useflag."
+		die
+	fi
+
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+
+		if ! built_with_use dev-cpp/gtkmm accessibility; then
+			eerror "dev-cpp/gtkmm needs to be built with use accessibility"
+			eerror "in order to build ${PN}"
+			die "gtkmm was not built with use accessibility"
+		fi
+		epause 3s
+	fi
+}
+
+ardour_use_enable() {
+	use ${2} && echo "${1}=1" || echo "${1}=0"
+}
+
+src_unpack() {
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;	then
+		agree_vst || die "you can not distribute ardour with vst support"
+	fi
+	
+	unpack ${A}
+	cd "${S}"
+	
+	# SYSLIBS also use external sndfile
+	use sys-libs && epatch "${FILESDIR}/${PN}-2.0.3-sndfile-external.patch"
+
+	ardour_vst_prepare
+}
+
+src_compile() {
+	# Required for scons to "see" intermediate install location
+	mkdir -p "${D}"
+
+	local FPU_OPTIMIZATION=$((use altivec || use sse) && echo 1 || echo 0)
+	cd "${S}"
+
+	tc-export CC CXX
+	add_ccache_to_scons
+
+	# Avoid compiling x86 asm when building on amd64 without using sse
+	# bug #186798
+	use amd64 && append-flags "-DUSE_X86_64_ASM"
+
+	scons \
+		$(ardour_use_enable DEBUG debug) \
+		FPU_OPTIMIZATION=${FPU_OPTIMIZATION} \
+		DESTDIR="${D}" \
+		$(ardour_use_enable NLS nls) \
+		$(ardour_use_enable FFT_ANALYSIS fftw) \
+		$(ardour_use_enable VST vst) \
+		$(ardour_use_enable SYSLIBS sys-libs) \
+		CFLAGS="${CFLAGS}" \
+		PREFIX=/usr || die "scons make failed"
+}
+
+src_install() {
+	scons install || die "make install failed"
+
+	dodoc DOCUMENTATION/*
+
+	doicon "${S}/icons/icon/ardour_icon_mac.png"
+	make_desktop_entry ardour2 Ardour2 ardour_icon_mac.png "AudioVideo;Audio"
+
+	if use vst; then
+		mv "${D}"/usr/bin/ardourvst "${D}"/usr/bin/ardour2
+	fi
+}
+
+pkg_postinst() {
+	ewarn "---------------- WARNING -------------------"
+	ewarn ""
+	ewarn "Do not use Ardour 2.0 to open the only copy of sessions created with Ardour 0.99."
+	ewarn "Ardour 2.0 saves the session file in a new format that Ardour 0.99 will"
+	ewarn "not understand."
+	ewarn ""
+	ewarn "MAKE BACKUPS OF THE SESSION FILES."
+	ewarn ""
+	ewarn "The simplest way to address this is to make a copy of the session file itself"
+	ewarn "(e.g mysession/mysession.ardour) and make that file unreadable using chmod(1)."
+	ewarn ""
+	ewarn "---------------- WARNING -------------------"
+	ewarn ""
+	ewarn "If you use KDE 3.5, be sure to uncheck 'Apply colors to non-KDE applications' in"
+	ewarn "the colors configuration module if you want to be able to actually see various"
+	ewarn "texts in Ardour 2."
+}

Added: trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-cflags.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-cflags.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-cflags.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,37 @@
+Index: ardour-2.0.3/SConstruct
+===================================================================
+--- ardour-2.0.3.orig/SConstruct
++++ ardour-2.0.3/SConstruct
+@@ -27,6 +27,7 @@ subst_dict = { }
+ opts = Options('scache.conf')
+ opts.AddOptions(
+     ('ARCH', 'Set architecture-specific compilation flags by hand (all flags as 1 argument)',''),
++    ('CFLAGS', 'Set custom CFLAGS',''),
+     BoolOption('AUDIOUNITS', 'Compile with Apple\'s AudioUnit library. (experimental)', 0),
+     BoolOption('COREAUDIO', 'Compile with Apple\'s CoreAudio library', 0),
+     BoolOption('DEBUG', 'Set to build with debugging information and no optimizations', 0),
+@@ -668,14 +669,18 @@ if env['ARCH'] != '':
+ # prepend boiler plate optimization flags
+ #
+ 
+-opt_flags[:0] = [
+-    "-O3",
+-    "-fomit-frame-pointer",
+-    "-ffast-math",
+-    "-fstrength-reduce",
+-    "-pipe"
++if env['CFLAGS'] != '':
++    opt_flags[:0]=env['CFLAGS'].split()
++else:
++    opt_flags[:0] = [
++        "-O3",
++        "-fomit-frame-pointer",
++        "-ffast-math",
++        "-fstrength-reduce",
++        "-pipe"
+     ]
+ 
++
+ if env['DEBUG'] == 1:
+     env.Append(CCFLAGS=" ".join (debug_flags))
+     env.Append(LINKFLAGS=" ".join (debug_flags))

Added: trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-sndfile-external.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-sndfile-external.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.0.3-sndfile-external.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,36 @@
+Index: ardour-2.0.3/SConstruct
+===================================================================
+--- ardour-2.0.3.orig/SConstruct
++++ ardour-2.0.3/SConstruct
+@@ -459,8 +459,8 @@ libraries = { }
+ 
+ libraries['core'] = LibraryInfo (CCFLAGS = '-Ilibs')
+ 
+-#libraries['sndfile'] = LibraryInfo()
+-#libraries['sndfile'].ParseConfig('pkg-config --cflags --libs sndfile')
++libraries['sndfile-ardour'] = LibraryInfo()
++libraries['sndfile-ardour'].ParseConfig('pkg-config --cflags --libs sndfile')
+ 
+ libraries['lrdf'] = LibraryInfo()
+ libraries['lrdf'].ParseConfig('pkg-config --cflags --libs lrdf')
+@@ -861,9 +861,9 @@ if env['SYSLIBS']:
+ # cannot use system one for the time being
+ #
+     
+-    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
+-                                    LIBPATH='#libs/libsndfile',
+-                                    CPPPATH=['#libs/libsndfile/src'])
++#    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
++#                                    LIBPATH='#libs/libsndfile',
++ #                                   CPPPATH=['#libs/libsndfile/src'])
+ 
+ #    libraries['libglademm'] = LibraryInfo()
+ #    libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs libglademm-2.4')
+@@ -883,7 +883,6 @@ if env['SYSLIBS']:
+     ]
+     
+     subdirs = [
+-        'libs/libsndfile',
+         'libs/pbd',
+         'libs/midi++2',
+         'libs/ardour',

Deleted: trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_0_1.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_0_1.patch	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_0_1.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,10 +0,0 @@
---- a/ardour-0.99/SConstruct	2005-09-24 04:53:13.000000000 +0200
-+++ 7/ardour/SConstruct	2005-11-19 02:28:52.000000000 +0100
-@@ -35,6 +35,7 @@
-     BoolOption('NOARCH', 'Do not use architecture-specific compilation flags', 0),
-     PathOption('PREFIX', 'Set the install "prefix"', '/usr/local'),
-     BoolOption('VST', 'Compile with support for VST', 0),
-+    PathOption('VSTPATH', 'set where xfst build can be found', ''),
-     BoolOption('VERSIONED', 'Add version information to ardour/gtk executable name inside the build directory', 0),
-     BoolOption('USE_SSE_EVERYWHERE', 'Ask the compiler to use x86/SSE instructions and also our hand-written x86/SSE optimizations when possible (off by default)', 0),
-     BoolOption('BUILD_SSE_OPTIMIZATIONS', 'Use our hand-written x86/SSE optimizations when possible (off by default)', 0)

Deleted: trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_1_1.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_1_1.patch	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/files/ardour-vst-support_1_1.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,28 +0,0 @@
---- 6/dour-0.99/gtk_ardour/SConscript	2005-09-24 03:10:39.000000000 +0200
-+++ b/ardour/gtk_ardour/SConscript	2005-11-19 02:29:12.000000000 +0100
-@@ -37,8 +37,8 @@
-                    libraries['jack']
-               ])
- 
--if gtkardour['VST']:
--    gtkardour.Merge ([ libraries['fst']])
-+#if gtkardour['VST']:
-+#    gtkardour.Merge ([ libraries['fst']])
- 
- gtkardour_files=Split("""
- about.cc
-@@ -154,8 +154,14 @@
- extra_sources = []
- vst_files = [ 'vst_pluginui.cc' ]
- 
-+
- if env['VST']:
-    extra_sources += vst_files
-+   extra_sources.append (env['VSTPATH']+'/fst.o')
-+   extra_sources.append (env['VSTPATH']+'/fstinfofile.o')
-+   extra_sources.append (env['VSTPATH']+'/vstwin.o')
-+   extra_sources.append (env['VSTPATH']+'/vsti.o')
-+   gtkardour["LINK"] ="wineg++ -mwindows -lpthread -ldl"
- 
- gtkardour.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
- gtkardour.Append(CXXFLAGS="-DDATA_DIR=\\\""+final_prefix+"/share\\\"")

Added: trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 7ac25b5837284fcae2ab3cb6825dc369 ardour-2.0.5.tar.bz2 2777524
+RMD160 eb278fbd7121707b9b7d4dfbb1e2088ef36cb1d4 ardour-2.0.5.tar.bz2 2777524
+SHA256 976b87920a3bd481b06edcbc756d1c5425397286f9b2a14546705a1f60a60848 ardour-2.0.5.tar.bz2 2777524

Deleted: trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5-r0
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5-r0	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.0.5-r0	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,2 +0,0 @@
-RMD160 eb278fbd7121707b9b7d4dfbb1e2088ef36cb1d4 ardour-2.0.5.tar.bz2 2777524
-SHA256 976b87920a3bd481b06edcbc756d1c5425397286f9b2a14546705a1f60a60848 ardour-2.0.5.tar.bz2 2777524

Added: trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 18be414a37b832aae23c068ba9fcf8ab ardour-2.1.tar.bz2 2788128
+RMD160 70796eb07911c5301049fb2d2749cbaa7a04ba4d ardour-2.1.tar.bz2 2788128
+SHA256 160482d87d8eb2188481fc42d7f6442efe6bff38544a321a79e2e23a7aa9501b ardour-2.1.tar.bz2 2788128

Deleted: trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1-r0
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1-r0	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/media-sound/ardour/files/digest-ardour-2.1-r0	2007-12-16 16:11:12 UTC (rev 1050)
@@ -1,3 +0,0 @@
-MD5 18be414a37b832aae23c068ba9fcf8ab ardour-2.1.tar.bz2 2788128
-RMD160 70796eb07911c5301049fb2d2749cbaa7a04ba4d ardour-2.1.tar.bz2 2788128
-SHA256 160482d87d8eb2188481fc42d7f6442efe6bff38544a321a79e2e23a7aa9501b ardour-2.1.tar.bz2 2788128

Modified: trunk/overlays/proaudio/profiles/package.mask
===================================================================
--- trunk/overlays/proaudio/profiles/package.mask	2007-12-16 14:34:23 UTC (rev 1049)
+++ trunk/overlays/proaudio/profiles/package.mask	2007-12-16 16:11:12 UTC (rev 1050)
@@ -12,6 +12,3 @@
 # If autofoo is too complicated, than what's this? lol!
 =media-sound/bpmdj-3.6
 
-# temporary until fixed
-=meda-sound/ardour-2.1-r0
-=meda-sound/ardour-2.0.5-r0

Added: trunk/overlays/proaudio-dev/media-sound/ardour/Manifest
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/Manifest	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,89 @@
+AUX ardour-syslib_mod2.patch 5359 RMD160 fde311ad4653c4e053fede1e63cf274d20009680 SHA1 7fbb68b522101c942b26c1c16055a7aed54743e5 SHA256 20326ecf95d15df46ca79d5645975138ec528e5490e5d3e4ecf92ff79dae783f
+MD5 2a6f6cd908000c8ec4fa2d0c5dfc6aee files/ardour-syslib_mod2.patch 5359
+RMD160 fde311ad4653c4e053fede1e63cf274d20009680 files/ardour-syslib_mod2.patch 5359
+SHA256 20326ecf95d15df46ca79d5645975138ec528e5490e5d3e4ecf92ff79dae783f files/ardour-syslib_mod2.patch 5359
+AUX ardour-vst-support_0_1.patch 833 RMD160 39cc8cba99b67a5318a430d53b691450021bfc9c SHA1 18c983d0c606aa8d715c0188a3f81f71f4d1f5c2 SHA256 ab095b26c6c0b71770084ff1384dab97dd99bd1a7dcc75f3875dc8d5a47ca9fb
+MD5 4f8a5cdf89dbb3ccb7b16cd349a25c1e files/ardour-vst-support_0_1.patch 833
+RMD160 39cc8cba99b67a5318a430d53b691450021bfc9c files/ardour-vst-support_0_1.patch 833
+SHA256 ab095b26c6c0b71770084ff1384dab97dd99bd1a7dcc75f3875dc8d5a47ca9fb files/ardour-vst-support_0_1.patch 833
+AUX ardour-vst-support_1_1.patch 951 RMD160 30eba23f28463bb564babaae5e4d5bbd83643198 SHA1 9efe7bf21ee7d8c2c1febc7872996259d4fb9954 SHA256 1bcefe84439243e5b57c364c4afb2570bcd643cc03316008fa57c21d5bfcd481
+MD5 ae848c8b9dd87bbc98716e49d338e819 files/ardour-vst-support_1_1.patch 951
+RMD160 30eba23f28463bb564babaae5e4d5bbd83643198 files/ardour-vst-support_1_1.patch 951
+SHA256 1bcefe84439243e5b57c364c4afb2570bcd643cc03316008fa57c21d5bfcd481 files/ardour-vst-support_1_1.patch 951
+DIST ardour-0.99.2.tar.bz2 1315985 RMD160 3748feca9cc893f108228e8efb4c5486033f54cb SHA1 3180731f0f56a5788eed123762bc4fe6489b8306 SHA256 e74ef15098b3a1f9b17d7384fdee99729d5bec2f61ec52ae47f602a3fb7aa817
+DIST ardour-0.99.3.tar.bz2 1316996 RMD160 e8e5891ef3783c87f9b58129adfe2be7b490ca26 SHA1 2a5fa961ff03a0691c17b9e5a51a3dacc2888d1f SHA256 d90ed3d147486be6b5583a792fa467195cacc2841327a85cb7765eda177f48d0
+DIST ardour-2.0.2.tar.bz2 2737191 RMD160 b248f5a3cf4b2c9e501035e8705ddf475bce2012 SHA1 201b8925872e06651dc9c531c625e422cf39d26f SHA256 2174f6902e4fe4086dc1cc5f9a0ef069aee27ef8ce740ebbf16cfb5d502bc7db
+DIST ardour-2.0.3.tar.bz2 2745744 RMD160 702dc6b234a7c36ba93377e4e8caffd25e75ff4d SHA1 78d70ec5211697dc014577b9e58c7599f27a8426 SHA256 36df4728b92aaab141ed7dbfab4c29f8a1fb83e4ebb95bc2ffa40c831f4d787e
+DIST ardour-2.0.5.tar.bz2 2777524 RMD160 eb278fbd7121707b9b7d4dfbb1e2088ef36cb1d4 SHA1 9a3adea22c5f182832b90506cb354097c21caa4f SHA256 976b87920a3bd481b06edcbc756d1c5425397286f9b2a14546705a1f60a60848
+DIST ardour-2.0.tar.bz2 2754777 RMD160 091fcb4e25b5f76cc8773086be0d69c074dcdb3f SHA1 b10e8ade8b7cdefa1b7b6d4f24e003279e7e6023 SHA256 4d2b31f43d00995e98ffe57ef60808d2d219fe696cb26928f3268a43fbc7ccf8
+DIST ardour-2.1.tar.bz2 2788128 RMD160 70796eb07911c5301049fb2d2749cbaa7a04ba4d SHA1 fcfb1230b9e7ec42c0044be89a6e25aa31a75658 SHA256 160482d87d8eb2188481fc42d7f6442efe6bff38544a321a79e2e23a7aa9501b
+EBUILD ardour-0.99.2.ebuild 2594 RMD160 b01f83fbb2885005b878865d2cef6eb3226acc9e SHA1 90c6798bc87515530647f283f50d21262a3b2128 SHA256 5c3447eee1bfa94a0e669e36f08b52ee19722f1d75780bd8ab9c612a82d74c86
+MD5 fb0ee055d18f6648379876b1e8636fa6 ardour-0.99.2.ebuild 2594
+RMD160 b01f83fbb2885005b878865d2cef6eb3226acc9e ardour-0.99.2.ebuild 2594
+SHA256 5c3447eee1bfa94a0e669e36f08b52ee19722f1d75780bd8ab9c612a82d74c86 ardour-0.99.2.ebuild 2594
+EBUILD ardour-0.99.3.ebuild 2879 RMD160 9d211617a6d4cb9834a8dab2109ab91e484da627 SHA1 68ac4a411ec3fb078fb01103aa298ef913109bb8 SHA256 ea9a3d6ddd7d5a3a3af04ca54ea677d9940667a17475feb8e188ed411edad5e7
+MD5 6d8909cc62400f7ebe60f7586d477d6f ardour-0.99.3.ebuild 2879
+RMD160 9d211617a6d4cb9834a8dab2109ab91e484da627 ardour-0.99.3.ebuild 2879
+SHA256 ea9a3d6ddd7d5a3a3af04ca54ea677d9940667a17475feb8e188ed411edad5e7 ardour-0.99.3.ebuild 2879
+EBUILD ardour-2.0.2.ebuild 5346 RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 SHA1 00620611383cf23b04d8eafb114454c68973f884 SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5
+MD5 e742c1a4e15caffcbc99d08d4e1bb7ff ardour-2.0.2.ebuild 5346
+RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 ardour-2.0.2.ebuild 5346
+SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5 ardour-2.0.2.ebuild 5346
+EBUILD ardour-2.0.3.ebuild 5346 RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 SHA1 00620611383cf23b04d8eafb114454c68973f884 SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5
+MD5 e742c1a4e15caffcbc99d08d4e1bb7ff ardour-2.0.3.ebuild 5346
+RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 ardour-2.0.3.ebuild 5346
+SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5 ardour-2.0.3.ebuild 5346
+EBUILD ardour-2.0.5.ebuild 5346 RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 SHA1 00620611383cf23b04d8eafb114454c68973f884 SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5
+MD5 e742c1a4e15caffcbc99d08d4e1bb7ff ardour-2.0.5.ebuild 5346
+RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 ardour-2.0.5.ebuild 5346
+SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5 ardour-2.0.5.ebuild 5346
+EBUILD ardour-2.0.99992.ebuild 5369 RMD160 4d4e6ce2359c758ba6960736753beaac194b233a SHA1 2d854eb884e21c8b4ba3e637cc01c4a5dd1a8b2d SHA256 c96ca52d63e02f55ce61c9c9a9390ef631edc36ebf3f40741a99521e3f2f9f72
+MD5 33eb5e88e87066041dde83f15a370425 ardour-2.0.99992.ebuild 5369
+RMD160 4d4e6ce2359c758ba6960736753beaac194b233a ardour-2.0.99992.ebuild 5369
+SHA256 c96ca52d63e02f55ce61c9c9a9390ef631edc36ebf3f40741a99521e3f2f9f72 ardour-2.0.99992.ebuild 5369
+EBUILD ardour-2.0.ebuild 4874 RMD160 fa2b0af3384fef5b5ce943c047ba7afe6f4787ab SHA1 6de62c73862d0f19be5642e96bfc8868d79bf9e5 SHA256 57dfdd399dea3e61060ed5aa150b04ca9d01c746314babb76ce9f64d0c84f65a
+MD5 50f2d6589ab5e62efe9b6424fab179d4 ardour-2.0.ebuild 4874
+RMD160 fa2b0af3384fef5b5ce943c047ba7afe6f4787ab ardour-2.0.ebuild 4874
+SHA256 57dfdd399dea3e61060ed5aa150b04ca9d01c746314babb76ce9f64d0c84f65a ardour-2.0.ebuild 4874
+EBUILD ardour-2.1.ebuild 5346 RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 SHA1 00620611383cf23b04d8eafb114454c68973f884 SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5
+MD5 e742c1a4e15caffcbc99d08d4e1bb7ff ardour-2.1.ebuild 5346
+RMD160 49d50adee8e2f3c3c4725443a3ccadb33e385065 ardour-2.1.ebuild 5346
+SHA256 cd14c04930c1b93ebec06813c385767b63fcf23114c9397c89823bbb7a9320d5 ardour-2.1.ebuild 5346
+EBUILD ardour-99991.ebuild 3868 RMD160 30b795f7702a6b87fb2c13124cba53e70852abe4 SHA1 3e0e1c92e45b72e8e6184ce15ebe6e9ee8c3b73c SHA256 47b48894349388f345f95ff40b74c0f37e520e15d8e184589b8949e7727cabbc
+MD5 8443e654f02c448c72791bdce638109b ardour-99991.ebuild 3868
+RMD160 30b795f7702a6b87fb2c13124cba53e70852abe4 ardour-99991.ebuild 3868
+SHA256 47b48894349388f345f95ff40b74c0f37e520e15d8e184589b8949e7727cabbc ardour-99991.ebuild 3868
+EBUILD ardour-99992.ebuild 5132 RMD160 7d2d92c59dbc5ac48c861f235d4bfbbcd975b985 SHA1 94f7c07c2823a0001e65b378ed0553d5b8fced98 SHA256 e03da9c9449adf0fad797162a4941bbe6902eacd08eabb5e901bff06e1e30313
+MD5 19fbcf8b1923fbad6189d79870dcf2d6 ardour-99992.ebuild 5132
+RMD160 7d2d92c59dbc5ac48c861f235d4bfbbcd975b985 ardour-99992.ebuild 5132
+SHA256 e03da9c9449adf0fad797162a4941bbe6902eacd08eabb5e901bff06e1e30313 ardour-99992.ebuild 5132
+MD5 7f35f34f809b48f1cd8d1eaf4682c839 files/digest-ardour-0.99.2 247
+RMD160 06d0bfe32c7759efd86b7caf310b2918cdb74b38 files/digest-ardour-0.99.2 247
+SHA256 aa54b7842628aaa700f3a84666317bdee6097c8c34cb6ea376106530bcbc5446 files/digest-ardour-0.99.2 247
+MD5 13b52fc24eb9db0d263eb98b80562023 files/digest-ardour-0.99.3 247
+RMD160 541b630e8d55f608da8cf18cfb229a378d29347f files/digest-ardour-0.99.3 247
+SHA256 cd4992a66028d0e9b6253397d2807d277798140811536ed99ae47c46f8e2484d files/digest-ardour-0.99.3 247
+MD5 cf201fef3d22fab8e99c05132457effe files/digest-ardour-2.0 238
+RMD160 717375d0360cc769c7932988d83f344cfee95f1a files/digest-ardour-2.0 238
+SHA256 1e4fedc99474c03b7d35b11aec88ef289fb2fa52118f0921171577b73fc53db8 files/digest-ardour-2.0 238
+MD5 eb3b1944521be78ff499004a5f310a73 files/digest-ardour-2.0.2 244
+RMD160 4be130a18df1014caeda7a4fc9de239bf805e9fb files/digest-ardour-2.0.2 244
+SHA256 a7af8ad3e25e4e1a24191d2233464cb46fe077be13994fb107b5f0929a2bed1f files/digest-ardour-2.0.2 244
+MD5 97bab41fae30cd340386115ddec9a8ac files/digest-ardour-2.0.3 244
+RMD160 d239421f1c8556a1e604eef4c4ff643a390fdce2 files/digest-ardour-2.0.3 244
+SHA256 07df845d4c8dea59a671421b5f68d4e08e798e27058649cf1370a164cbcc29ed files/digest-ardour-2.0.3 244
+MD5 0d0cc8b1632a1a118ae953a91b10c6c4 files/digest-ardour-2.0.5 244
+RMD160 63e7c1c20f4e5846cd69c8126f389b3e3411b9f3 files/digest-ardour-2.0.5 244
+SHA256 48f72afd0ddf20dad4ae33fa0df501245c84607bbec7e31cceb5a011773ee002 files/digest-ardour-2.0.5 244
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ardour-2.0.99992 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ardour-2.0.99992 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ardour-2.0.99992 0
+MD5 34a15db22902cbdd9aecc89b90a94725 files/digest-ardour-2.1 238
+RMD160 a437a96ac89954d96bb02515c380e739efebde9d files/digest-ardour-2.1 238
+SHA256 3980c175f3dbd4f97e7c7d6c444a6632da7bc6bfa98cc18f738840600b199da7 files/digest-ardour-2.1 238
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ardour-99991 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ardour-99991 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ardour-99991 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ardour-99992 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-ardour-99992 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-ardour-99992 0

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.2.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.2.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,96 @@
+# Copy# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P/_/}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~amd64 ~ppc"
+IUSE="nls debug sse altivec vst"
+
+# Ardour 0.99!
+# This is the first ebuild that can be marked stable, since it's out of beta finally.
+
+# From beta30 release notes:
+#  plugin latency compensation now working correctly (we believe)
+#  This really requires JACK 0.100.0 or above to work
+#  properly, but even without that, they result in notable improvements
+#  in the way Ardour aligns newly recorded material.
+#
+# As media-sound/jack-audio-connection-kit-0.100.0 is still -arch and it is not required for beta30
+# only suggested, RDEPEND needs to be updated as media-sound/jack-audio-connection-kit-0.100.0 gets
+# into ~arch. (2005 Sep 14 eldad)
+
+RDEPEND="dev-util/pkgconfig
+	>=media-libs/liblrdf-0.3.6
+	>=media-libs/raptor-1.2.0
+	>=media-sound/jack-audio-connection-kit-0.98.1
+	=dev-libs/glib-1.2*
+	=x11-libs/gtk+-1.2*
+	>=media-libs/libsndfile-1.0.4
+	sys-libs/gdbm
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	>=dev-libs/libxml2-2.5.7
+	>=media-libs/libart_lgpl-2.3.16
+	!media-sound/ardour-cvs"
+
+DEPEND="${RDEPEND}
+	sys-devel/autoconf
+	sys-devel/automake
+	dev-util/pkgconfig
+	>=dev-util/scons-0.96.1
+	nls? ( sys-devel/gettext )
+	vst? ( >=media-libs/fst-1.7-r3 )"
+
+S="${WORKDIR}/${P/_/}"
+
+src_unpack(){
+	unpack ${A}
+	cd ${S}
+	use vst && epatch ${FILESDIR}/ardour-vst-support_0_1.patch
+	use vst && epatch ${FILESDIR}/ardour-vst-support_1_1.patch
+	add_ccache_to_scons
+}
+
+src_compile() {
+	# bug 99664
+	cd ${S}/libs/gtkmm
+	chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	econf || die "configure failed"
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+
+	use altivec && ALTIVEC=1 || ALTIVEC=0
+	use debug && ARDOUR_DEBUG=1 || ARDOUR_DEBUG=0
+	use nls && NLS=1 || NLS=0
+	use sse && SSE=1 || SSE=0
+	use vst && VST=1 || VST=0
+	FST_PATH="/usr/lib/fst"	
+	
+	cd ${S}
+	scons \
+		ALTIVEC=${ALTIVEC} \
+		DEBUG=${ARDOUR_DEBUG} \
+		DESTDIR=${D} \
+		NLS=${NLS} \
+		PREFIX=/usr \
+		USE_SSE_EVERYWHERE=${SSE} \
+		BUILD_SSE_OPTIMIZATIONS=${SSE} \
+		KSI=0 \
+		VST=${VST} VSTPATH=${FST_PATH} \
+		-j2
+}
+
+src_install() {
+	scons install || die "make install failed"
+	use vst && dobin gtk_ardour/ardour.bin.exe.so
+	use vst && fperms 644 /usr/bin/ardour.bin.exe.so
+	dodoc DOCUMENTATION/*
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.3.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.3.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-0.99.3.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,100 @@
+# Copy# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P/_/}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~amd64 ~ppc"
+IUSE="nls debug sse altivec vst"
+
+# Ardour 0.99!
+# This is the first ebuild that can be marked stable, since it's out of beta finally.
+
+# From beta30 release notes:
+#  plugin latency compensation now working correctly (we believe)
+#  This really requires JACK 0.100.0 or above to work
+#  properly, but even without that, they result in notable improvements
+#  in the way Ardour aligns newly recorded material.
+#
+# As media-sound/jack-audio-connection-kit-0.100.0 is still -arch and it is not required for beta30
+# only suggested, RDEPEND needs to be updated as media-sound/jack-audio-connection-kit-0.100.0 gets
+# into ~arch. (2005 Sep 14 eldad)
+
+RDEPEND="dev-util/pkgconfig
+	>=media-libs/liblrdf-0.3.6
+	>=media-libs/raptor-1.2.0
+	>=media-sound/jack-audio-connection-kit-0.98.1
+	=dev-libs/glib-1.2*
+	=x11-libs/gtk+-1.2*
+	>=media-libs/libsndfile-1.0.4
+	sys-libs/gdbm
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	>=dev-libs/libxml2-2.5.7
+	>=media-libs/libart_lgpl-2.3.16
+	!media-sound/ardour-cvs"
+
+DEPEND="${RDEPEND}
+	sys-devel/autoconf
+	sys-devel/automake
+	dev-util/pkgconfig
+	>=dev-util/scons-0.96.1
+	nls? ( sys-devel/gettext )
+	vst? ( >=media-libs/fst-1.7-r3 )"
+
+S="${WORKDIR}/${P/_/}"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+}
+
+src_unpack(){
+	unpack ${A}
+	cd ${S}
+	use vst && epatch ${FILESDIR}/ardour-vst-support_0_1.patch
+	use vst && epatch ${FILESDIR}/ardour-vst-support_1_1.patch
+	add_ccache_to_scons
+}
+
+src_compile() {
+	# bug 99664
+	cd ${S}/libs/gtkmm
+	chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	econf || die "configure failed"
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?"
+	! use vst; myconf="${myconf} VST=$? VSTPATH=/usr/lib/fst"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	
+	# static settings
+	myconf="${myconf} DESTDIR=${D} PREFIX=/usr KSI=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	-j2 || die "compilation failed"
+}
+
+src_install() {
+	scons install || die "make install failed"
+	use vst && dobin gtk_ardour/ardour.bin.exe.so
+	use vst && fperms 644 /usr/bin/ardour.bin.exe.so
+	dodoc DOCUMENTATION/*
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.2.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.2.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,175 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="nls debug sse altivec vst sys-libs"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-2*
+	vst? ( >=app-emulation/wine-0.9.5 )
+	>=gnome-base/libgnomecanvas-2.0
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+		
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	unpack "${P}.tar.bz2"
+	cd ${S}
+	
+	# hack to use the sys-lib for sndlib also
+	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# bug 99664
+#	cd ${S}/libs/glibmm2
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	#cd ${S}/libs/sigc++2/
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+#	econf || die "configure failed"
+	
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	|| die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.3.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.3.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.3.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,175 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="nls debug sse altivec vst sys-libs"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-2*
+	vst? ( >=app-emulation/wine-0.9.5 )
+	>=gnome-base/libgnomecanvas-2.0
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+		
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	unpack "${P}.tar.bz2"
+	cd ${S}
+	
+	# hack to use the sys-lib for sndlib also
+	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# bug 99664
+#	cd ${S}/libs/glibmm2
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	#cd ${S}/libs/sigc++2/
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+#	econf || die "configure failed"
+	
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	|| die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.5.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.5.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.5.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,175 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="nls debug sse altivec vst sys-libs"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-2*
+	vst? ( >=app-emulation/wine-0.9.5 )
+	>=gnome-base/libgnomecanvas-2.0
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+		
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	unpack "${P}.tar.bz2"
+	cd ${S}
+	
+	# hack to use the sys-lib for sndlib also
+	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# bug 99664
+#	cd ${S}/libs/glibmm2
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	#cd ${S}/libs/sigc++2/
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+#	econf || die "configure failed"
+	
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	|| die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.99992.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.99992.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.99992.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,175 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache subversion
+
+ESVN_REPO_URI="http://subversion.ardour.org/svn/ardour2/branches/2.0-ongoing";
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI=""
+URL="http://ardour.org/files/releases/${PN}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS=""
+IUSE="nls debug sse altivec vst sys-libs"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-9*
+	vst? ( >=app-emulation/wine-0.9.5 )
+	>=gnome-base/libgnomecanvas-2.0
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+S="${WORKDIR}/ardour2"
+
+pkg_setup(){
+	einfo "this ebuild fetches from the svn maintaince"
+	einfo "ardour-2.0.XXX branch"
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	subversion_src_unpack
+	#fetch_tarball_cmp "${URL}"
+	#unpack "${URL##*/}"
+	cd ${S}
+	
+	# hack to use the sys-lib for sndlib also
+	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	-j2 || die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.0.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,157 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86"
+IUSE="nls debug sse altivec vst"
+
+# From beta30 release notes:
+#  plugin latency compensation now working correctly (we believe)
+#  This really requires JACK 0.100.0 or above to work
+#  properly, but even without that, they result in notable improvements
+#  in the way Ardour aligns newly recorded material.
+#
+# As media-sound/jack-audio-connection-kit-0.100.0 is still -arch and it is not required for beta30
+# only suggested, RDEPEND needs to be updated as media-sound/jack-audio-connection-kit-0.100.0 gets
+# into ~arch. (2005 Sep 14 eldad)
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=media-libs/libsndfile-1.0.4
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=gnome-base/libgnomecanvas-2.12.0
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-2*
+	vst? ( >=app-emulation/wine-0.9.5 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	unpack "${P}.tar.bz2"
+	cd ${S}
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# bug 99664
+	cd ${S}/libs/glibmm2
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	#cd ${S}/libs/sigc++2/
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	econf || die "configure failed"
+	
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	|| die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.1.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-2.1.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,175 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI="http://ardour.org/files/releases/${P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="nls debug sse altivec vst sys-libs"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=media-sound/jack-audio-connection-kit-0.100.0
+	!=media-sound/ardour2-2*
+	vst? ( >=app-emulation/wine-0.9.5 )
+	>=gnome-base/libgnomecanvas-2.0
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+
+	# sys-libs/gdbm # no longer needed?!
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )
+	vst? ( app-arch/zip 
+		=media-libs/vst-sdk-2.3* )"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+		
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	unpack "${P}.tar.bz2"
+	cd ${S}
+	
+	# hack to use the sys-lib for sndlib also
+	use sys-libs && epatch "${FILESDIR}/ardour-syslib_mod2.patch"
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# ################
+	# adjust files for vst support
+	if use vst;then
+		# delete vst question
+		touch ${S}/.personal_use_only
+
+		# fix vst header
+		sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+		vst_tmp_dir="vstsdk2.3/source/common"
+		mkdir -p ${vst_tmp_dir}
+		cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+		zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	fi
+	# ###############
+}
+
+src_compile() {
+	# bug 99664
+#	cd ${S}/libs/glibmm2
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	#cd ${S}/libs/sigc++2/
+	#chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+#	econf || die "configure failed"
+	
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use vst; myconf="${myconf} VST=$?" 
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	|| die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	if use vst;then
+		newbin vst/ardour_vst.exe.so ardour2.exe.so
+		newbin vst/ardour_vst ardour2
+		fperms 644 /usr/bin/ardour2.exe.so
+		sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+		sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+		# delete question from SConscript
+		#sed -i -e '/Make\ sure\ they/,/print\ \"OK,\ VST\ support\ will\ be\ enabled\"/d' "${S}"/SConstruct || die " failed to del vst question"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99991.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99991.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99991.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,128 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils scons-ccache fetch-tools 
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+
+URL_PREFIX="http://ardour.org/files/releases";
+SRC_URI="" #"${URL_PREFIX}${PN}-cvs.tar.bz2"
+RESTRICT="nomirror"
+MY_A=${PN}-cvs.tar.bz2
+URL="${URL_PREFIX}/${MY_A}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="nls debug sse altivec vst"
+
+# From beta30 release notes:
+#  plugin latency compensation now working correctly (we believe)
+#  This really requires JACK 0.100.0 or above to work
+#  properly, but even without that, they result in notable improvements
+#  in the way Ardour aligns newly recorded material.
+#
+# As media-sound/jack-audio-connection-kit-0.100.0 is still -arch and it is not required for beta30
+# only suggested, RDEPEND needs to be updated as media-sound/jack-audio-connection-kit-0.100.0 gets
+# into ~arch. (2005 Sep 14 eldad)
+
+RDEPEND="dev-util/pkgconfig
+	>=media-libs/liblrdf-0.3.6
+	>=media-libs/raptor-1.2.0
+	>=media-sound/jack-audio-connection-kit-0.98.1
+	=dev-libs/glib-1.2*
+	=x11-libs/gtk+-1.2*
+	>=media-libs/libsndfile-1.0.4
+	sys-libs/gdbm
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	>=dev-libs/libxml2-2.5.7
+	>=media-libs/libart_lgpl-2.3.16
+	!media-sound/ardour-cvs"
+
+DEPEND="${RDEPEND}
+	sys-devel/autoconf
+	sys-devel/automake
+	dev-util/pkgconfig
+	>=dev-util/scons-0.96.1
+	nls? ( sys-devel/gettext )
+	vst? ( >=media-libs/fst-1.7-r3 )"
+
+fetch_cvs_tarball() {
+DOWNLOAD=n
+	if [ "${#PORTAGE_ACTUAL_DISTDIR}" == "0" ];then
+		PORTAGE_ACTUAL_DISTDIR="${DISTDIR}"
+	fi
+	if [  -e "${PORTAGE_ACTUAL_DISTDIR}/${PN}-cvs.tar.bz2" ];then
+		einfo "ardour.org does not offer real cvs-support"
+		einfo "it just gives us daily snapshots:"
+		einfo "your snapshot is from: `LC_ALL=C ls /usr/portage/distfiles/ardour-cvs.tar.bz2  --time-style=long-iso -l| awk '{print $6}'`"
+		einfo "Do you want Re-download ardour-cvs tarball? [y,n]"
+		read DOWNLOAD
+	else
+		DOWNLOAD="y"
+	fi
+	if [ "${DOWNLOAD}" == "y" ];then
+	 	addwrite "${PORTAGE_ACTUAL_DISTDIR}/${MY_A}"
+		rm -f "${PORTAGE_ACTUAL_DISTDIR}/${MY_A}"
+		wget ${URL_PREFIX}/${MY_A} -P "${PORTAGE_ACTUAL_DISTDIR}" ||\
+		die "cannot fetch new ardour-cvs-patch"
+	fi
+}
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+}
+
+src_unpack(){
+	# following 3 lines replaced by eclass and unpack	
+	##fetch_cvs_tarball
+	##echo ">>> Unpacking ${PORTAGE_ACTUAL_DISTDIR}/${MY_A} to >>> ${WORKDIR}"
+	##tar -xjpf "${PORTAGE_ACTUAL_DISTDIR}/${MY_A}" || die "unpacking failed"
+	fetch_tarball_cmp "${URL}"
+	unpack "${URL##*/}"
+	cd ${S}
+	use vst && epatch ${FILESDIR}/ardour-vst-support_0_1.patch
+	use vst && epatch ${FILESDIR}/ardour-vst-support_1_1.patch
+	add_ccache_to_scons
+}
+
+src_compile() {
+	# bug 99664
+	cd ${S}/libs/gtkmm
+	chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
+	econf || die "configure failed"
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?"
+	! use vst; myconf="${myconf} VST=$? VSTPATH=/usr/lib/fst"
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	
+	# static settings
+	myconf="${myconf} DESTDIR=${D} PREFIX=/usr KSI=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	-j2 || die "compilation failed"
+}
+
+src_install() {
+	scons install || die "make install failed"
+	use vst && dobin gtk_ardour/ardour.bin.exe.so
+	use vst && fperms 644 /usr/bin/ardour.bin.exe.so
+	dodoc DOCUMENTATION/*
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99992.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99992.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/ardour-99992.ebuild	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,174 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils fetch-tools scons-ccache subversion
+
+ESVN_REPO_URI="http://subversion.ardour.org/svn/ardour2/trunk";
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+SRC_URI=""
+URL="http://ardour.org/files/releases/${PN}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS=""
+IUSE="nls debug sse altivec sys-libs" #vst"
+
+RDEPEND=">=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.2.0
+	>=media-libs/libart_lgpl-2.3.16
+	>=media-libs/ladspa-sdk-1.12
+	>=media-libs/libsamplerate-0.0.14
+	media-libs/liblo
+	>=media-libs/libsndfile-1.0.4
+	>=dev-libs/libxml2-2.5.7
+	dev-libs/libxslt
+	>=dev-libs/glib-2.10
+	>=x11-libs/gtk+-2.6
+	>=gnome-base/libgnomecanvas-2.12.0
+	=media-sound/jack-audio-connection-kit-9999
+	!=media-sound/ardour2-9*
+	sys-libs? ( >=dev-libs/libsigc++-2.0
+		>=dev-cpp/glibmm-2.4
+		>=dev-cpp/cairomm-1.0
+		>=dev-cpp/gtkmm-2.8
+		>=dev-libs/atk-1.6
+		>=x11-libs/pango-1.4 
+		>=dev-cpp/libgnomecanvasmm-2.12.0
+		>=media-libs/libsndfile-1.0.16
+		>=media-libs/libsoundtouch-1.0 )"
+	#vst? ( >=app-emulation/wine-0.9.5 )"
+
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.33.1
+	sys-devel/bison
+	sys-devel/autoconf
+	sys-devel/automake
+	>=dev-util/pkgconfig-0.8.0
+	>=dev-util/scons-0.96.1
+	nls? ( >=sys-devel/gettext-0.12.1 )"
+	#vst? ( app-arch/zip 
+	#	=media-libs/vst-sdk-2.3* )"
+
+S="${WORKDIR}/ardour2"
+
+pkg_setup(){
+	# issue with ACLOCAL_FLAGS if set to a wrong value
+	if [ "${#ACLOCAL_FLAGS}" -gt "0" ];then
+		ewarn "check your profile settings:"
+		ewarn "There is no need to set the ACLOCAL_FLAGS"
+		ewarn "environment variable so we unset it"
+		unset ACLOCAL_FLAGS
+	fi
+
+	if use sys-libs;then
+		ewarn "You are trying to use the system libraries"
+		ewarn "instead the ones provided by ardour"
+		ewarn "No upstream support for doing so. Use at your own risk!!!"
+		ewarn "To use the ardour provided libs remerge with:"
+		ewarn "USE=\"-sys-libs\" emerge =${P}"
+
+		if ! built_with_use dev-cpp/gtkmm accessibility;then
+			eerror "To be able to use the USE flag 'sys-libs'"
+			eerror "you need to have dev-cpp/gtkmm"
+			eerror "emerged with the USE flag 'accessibility'"
+			die "dev-cpp/gtkmm is not built with the 'accessibility' USE flag"
+		fi
+		epause 3s
+	fi
+}
+
+src_unpack(){
+	# abort if user answers no to distribution of vst enabled binaries
+	#if use vst;then agree_vst || die "you can not distribute ardour with vst support" ;fi
+	
+	subversion_src_unpack
+	cd ${S}
+	
+	# change template dir to not overwrite ardour1 stuff
+	sed -i -e 's:\(share\)/ardour/\(templates\):\1/ardour2/\2:g' \
+		templates/SConscript || die "changing template names failed"
+	add_ccache_to_scons
+	
+	# Fix libsoundtouch-1.0.pc detection
+	if use sys-libs; then
+		sed -i -e 's:libSoundTouch:soundtouch-1.0:g' SConstruct \
+			|| die "Fixing soundtouch detection failed"
+	fi
+	
+	# ################
+	# adjust files for vst support
+	#if use vst;then
+		# delete vst question
+	#	touch ${S}/.personal_use_only
+
+		# fix vst header
+	#	sed -ie 's@vstsdk2.3/source/common/aeffectx.h@/usr/include/vst/aeffectx.h@g' libs/fst/SConscript || die "change vst-header location"
+		#symlink the include vst include files
+	#	vst_tmp_dir="vstsdk2.3/source/common"
+	#	mkdir -p ${vst_tmp_dir}
+	#	cp -r  /usr/include/vst/./ ${vst_tmp_dir}
+	#	zip -0r  libs/fst/vstsdk2.3.zip vstsdk2.3 &>/dev/null
+		#/usr/include/vst/ libs/fst
+		#ln -s ${DISTDIR}/vstsdk2.3.zip /libs/fst/
+	#fi
+	# ###############
+}
+
+src_compile() {
+	# Required for scons to "see" intermediate install location
+	mkdir -p ${D}
+	
+	local myconf=""
+	! use altivec; myconf="${myconf} ALTIVEC=$?"
+	! use debug; myconf="${myconf} ARDOUR_DEBUG=$?"
+	! use nls; myconf="${myconf} NLS=$?" 
+	! use sse; myconf="${myconf} USE_SSE_EVERYWHERE=$? BUILD_SSE_OPTIMIZATIONS=$?"
+	! use sys-libs; myconf="${myconf} SYSLIBS=$?"
+	#! use vst; myconf="${myconf} VST=$?" 
+	# static settings
+	myconf="${myconf} PREFIX=/usr KSI=0" # NLS=0"
+	einfo "${myconf}"
+
+	cd ${S}
+	scons ${myconf}	-j2 || die "compilation failed"
+}
+
+src_install() {
+	scons DESTDIR="${D}" install || die "make install failed"
+	#if use vst;then
+	#	newbin vst/ardour_vst.exe.so ardour2.exe.so
+	#	newbin vst/ardour_vst ardour2
+	#	fperms 644 /usr/bin/ardour2.exe.so
+	#	sed -i -e'/^appname/'i"export\ LD_LIBRARY_PATH=\"/usr/lib/ardour2/:\$LD_LIBRARY_PATH\"" ${D}/usr/bin/ardour2
+
+		# fix ardour file_name
+	#	sed -i -e 's@ardour_vst@ardour2@' ${D}/usr/bin/ardour2
+	#else
+		# fix ardour path
+		sed -i -e 's:'${D}'::g' ${D}/usr/bin/ardour2
+	#fi
+
+	cd DOCUMENTATION/
+	for i in `find -iname 'CVS'`;do rm -rf ${i};done
+	cd - &>/dev/null
+	dodoc  DOCUMENTATION/*
+}
+
+agree_vst() {
+	local ANSWER="no"
+	einfo "Are you building Ardour for personal use (rather than distribution to others)? [yes/no]: "
+	read ANSWER
+	if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "yes" ];then
+		einfo "OK, VST support will be enabled"
+	else
+		eerror "You cannot build Ardour with VST support for distribution to others"
+		eerror "It is a violation of several different licenses"
+	
+		eerror "use: USE=-vst emerge $P"
+		eerror "to disable vst support"
+		return 1
+	fi
+}

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-syslib_mod2.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-syslib_mod2.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-syslib_mod2.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,136 @@
+--- a/ardour-2.0.2/gtk2_ardour/SConscript	2007-05-07 06:38:55.000000000 +0200
++++ b/ardour-2.0.2/gtk2_ardour/SConscript	2007-06-10 16:50:04.000000000 +0200
+@@ -35,7 +35,7 @@
+     libraries['libgnomecanvas2'],
+     libraries['libgnomecanvasmm'],
+     libraries['sysmidi'],
+-    libraries['sndfile-ardour'],
++    libraries['sndfile'],
+     libraries['flac'],
+     libraries['lrdf'],
+     libraries['glibmm2'],
+--- a/ardour-2.0.2/libs/ardour/SConscript	2007-05-07 06:39:05.000000000 +0200
++++ b/ardour-2.0.2/libs/ardour/SConscript	2007-06-10 16:50:17.000000000 +0200
+@@ -254,7 +254,7 @@
+ ardour.Merge ([
+ 	     libraries['core'],
+ 	     libraries['xml'],
+-	     libraries['sndfile-ardour'],
++	     libraries['sndfile'],
+ 	     libraries['raptor'],
+ 	     libraries['lrdf'],
+ 	     libraries['samplerate'],
+--- a/ardour-2.0.2/libs/surfaces/control_protocol/SConscript	2007-05-07 06:39:24.000000000 +0200
++++ b/ardour-2.0.2/libs/surfaces/control_protocol/SConscript	2007-06-10 16:50:40.000000000 +0200
+@@ -33,7 +33,7 @@
+ 
+ cp.Merge ([
+     libraries['ardour'],
+-    libraries['sndfile-ardour'],
++    libraries['sndfile'],
+     libraries['sigc2'],
+     libraries['pbd'],
+     libraries['midi++2'],
+--- a/ardour-2.0.2/libs/surfaces/generic_midi/SConscript	2007-05-07 06:39:25.000000000 +0200
++++ b/ardour-2.0.2/libs/surfaces/generic_midi/SConscript	2007-06-10 16:50:40.000000000 +0200
+@@ -34,7 +34,7 @@
+ genericmidi.Merge ([
+ 	libraries['ardour'],
+ 	libraries['ardour_cp'],
+-	libraries['sndfile-ardour'],
++	libraries['sndfile'],
+ 	libraries['midi++2'],
+ 	libraries['pbd'],
+ 	libraries['sigc2'],
+--- a/ardour-2.0.2/libs/surfaces/mackie/SConscript	2007-05-07 06:39:25.000000000 +0200
++++ b/ardour-2.0.2/libs/surfaces/mackie/SConscript	2007-06-10 16:50:40.000000000 +0200
+@@ -51,7 +51,7 @@
+     libraries['xml'],
+     libraries['glib2'],
+     libraries['glibmm2'],
+-    libraries['sndfile-ardour']
++    libraries['sndfile']
+     ])
+ 
+ libardour_mackie = mackie.SharedLibrary('ardour_mackie', mackie_files)
+--- a/ardour-2.0.2/libs/surfaces/tranzport/SConscript	2007-05-07 06:39:24.000000000 +0200
++++ b/ardour-2.0.2/libs/surfaces/tranzport/SConscript	2007-06-10 16:50:40.000000000 +0200
+@@ -63,7 +63,7 @@
+     libraries['glib2'],
+     libraries['glibmm2'],
+     libraries['usb'],
+-    libraries['sndfile-ardour']
++    libraries['sndfile']
+     ])
+ 
+ libardour_tranzport = tranzport.SharedLibrary('ardour_tranzport', tranzport_files)
+--- a/ardour-2.0.2/SConstruct	2007-06-10 17:17:03.000000000 +0200
++++ b/ardour-2.0.2/SConstruct	2007-06-10 17:06:03.000000000 +0200
+@@ -819,6 +819,7 @@
+ 
+     syslibdeps = \
+     {
++        'sndfile'				  : '1.0.16',
+         'sigc++-2.0'           : '2.0',
+         'gtkmm-2.4'            : '2.8',
+         'libgnomecanvasmm-2.6' : '2.12.0'
+@@ -851,14 +852,16 @@
+     libraries['pangomm'].ParseConfig ('pkg-config --cflags --libs pangomm-1.4')
+     libraries['libgnomecanvasmm'] = LibraryInfo()
+     libraries['libgnomecanvasmm'].ParseConfig ('pkg-config --cflags --libs libgnomecanvasmm-2.6')
++    libraries['sndfile'] = LibraryInfo()
++    libraries['sndfile'].ParseConfig('pkg-config --cflags --libs sndfile')
+ 
+ #
+ # cannot use system one for the time being
+ #
+     
+-    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
+-                                    LIBPATH='#libs/libsndfile',
+-                                    CPPPATH=['#libs/libsndfile/src'])
++#    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
++#                                    LIBPATH='#libs/libsndfile',
++#                                    CPPPATH=['#libs/libsndfile/src'])
+ 
+ #    libraries['libglademm'] = LibraryInfo()
+ #    libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs libglademm-2.4')
+@@ -878,7 +881,6 @@
+     ]
+     
+     subdirs = [
+-        'libs/libsndfile',
+         'libs/pbd',
+         'libs/midi++2',
+         'libs/ardour',
+@@ -926,9 +928,9 @@
+     libraries['soundtouch'] = LibraryInfo(LIBS='soundtouch',
+                                           LIBPATH='#libs/soundtouch',
+                                           CPPPATH=['#libs', '#libs/soundtouch'])
+-    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
+-                                    LIBPATH='#libs/libsndfile',
+-                                    CPPPATH=['#libs/libsndfile', '#libs/libsndfile/src'])
++#    libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour',
++#                                    LIBPATH='#libs/libsndfile',
++#                                    CPPPATH=['#libs/libsndfile', '#libs/libsndfile/src'])
+ #    libraries['libglademm'] = LibraryInfo(LIBS='libglademm',
+ #                                          LIBPATH='#libs/libglademm',
+ #                                          CPPPATH='#libs/libglademm')
+@@ -943,7 +945,6 @@
+     
+     subdirs = [
+         'libs/sigc++2',
+-        'libs/libsndfile',
+         'libs/pbd',
+         'libs/midi++2',
+         'libs/ardour',
+--- a/ardour-2.0.2/vst/SConscript	2007-05-07 06:39:37.000000000 +0200
++++ b/ardour-2.0.2/vst/SConscript	2007-06-10 16:50:40.000000000 +0200
+@@ -35,7 +35,7 @@
+     libraries['libgnomecanvas2'],
+     libraries['libgnomecanvasmm'],
+     libraries['sysmidi'],
+-    libraries['sndfile-ardour'],
++    libraries['sndfile'],
+     libraries['flac'],
+     libraries['lrdf'],
+     libraries['glibmm2'],

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_0_1.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_0_1.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_0_1.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,10 @@
+--- a/ardour-0.99/SConstruct	2005-09-24 04:53:13.000000000 +0200
++++ 7/ardour/SConstruct	2005-11-19 02:28:52.000000000 +0100
+@@ -35,6 +35,7 @@
+     BoolOption('NOARCH', 'Do not use architecture-specific compilation flags', 0),
+     PathOption('PREFIX', 'Set the install "prefix"', '/usr/local'),
+     BoolOption('VST', 'Compile with support for VST', 0),
++    PathOption('VSTPATH', 'set where xfst build can be found', ''),
+     BoolOption('VERSIONED', 'Add version information to ardour/gtk executable name inside the build directory', 0),
+     BoolOption('USE_SSE_EVERYWHERE', 'Ask the compiler to use x86/SSE instructions and also our hand-written x86/SSE optimizations when possible (off by default)', 0),
+     BoolOption('BUILD_SSE_OPTIMIZATIONS', 'Use our hand-written x86/SSE optimizations when possible (off by default)', 0)

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_1_1.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_1_1.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/ardour-vst-support_1_1.patch	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,28 @@
+--- 6/dour-0.99/gtk_ardour/SConscript	2005-09-24 03:10:39.000000000 +0200
++++ b/ardour/gtk_ardour/SConscript	2005-11-19 02:29:12.000000000 +0100
+@@ -37,8 +37,8 @@
+                    libraries['jack']
+               ])
+ 
+-if gtkardour['VST']:
+-    gtkardour.Merge ([ libraries['fst']])
++#if gtkardour['VST']:
++#    gtkardour.Merge ([ libraries['fst']])
+ 
+ gtkardour_files=Split("""
+ about.cc
+@@ -154,8 +154,14 @@
+ extra_sources = []
+ vst_files = [ 'vst_pluginui.cc' ]
+ 
++
+ if env['VST']:
+    extra_sources += vst_files
++   extra_sources.append (env['VSTPATH']+'/fst.o')
++   extra_sources.append (env['VSTPATH']+'/fstinfofile.o')
++   extra_sources.append (env['VSTPATH']+'/vstwin.o')
++   extra_sources.append (env['VSTPATH']+'/vsti.o')
++   gtkardour["LINK"] ="wineg++ -mwindows -lpthread -ldl"
+ 
+ gtkardour.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
+ gtkardour.Append(CXXFLAGS="-DDATA_DIR=\\\""+final_prefix+"/share\\\"")

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.2
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.2	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.2	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 007f689d782cde6384cf22de1ae5a9da ardour-0.99.2.tar.bz2 1315985
+RMD160 3748feca9cc893f108228e8efb4c5486033f54cb ardour-0.99.2.tar.bz2 1315985
+SHA256 e74ef15098b3a1f9b17d7384fdee99729d5bec2f61ec52ae47f602a3fb7aa817 ardour-0.99.2.tar.bz2 1315985

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.3
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.3	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-0.99.3	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 874858eed66babe564cd0f96fd82ab91 ardour-0.99.3.tar.bz2 1316996
+RMD160 e8e5891ef3783c87f9b58129adfe2be7b490ca26 ardour-0.99.3.tar.bz2 1316996
+SHA256 d90ed3d147486be6b5583a792fa467195cacc2841327a85cb7765eda177f48d0 ardour-0.99.3.tar.bz2 1316996

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 fb45ad6df9f2674cfe48b4d8305c3b9e ardour-2.0.tar.bz2 2754777
+RMD160 091fcb4e25b5f76cc8773086be0d69c074dcdb3f ardour-2.0.tar.bz2 2754777
+SHA256 4d2b31f43d00995e98ffe57ef60808d2d219fe696cb26928f3268a43fbc7ccf8 ardour-2.0.tar.bz2 2754777

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.2
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.2	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.2	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 f135c9c4706b19b04946ea0a4626c768 ardour-2.0.2.tar.bz2 2737191
+RMD160 b248f5a3cf4b2c9e501035e8705ddf475bce2012 ardour-2.0.2.tar.bz2 2737191
+SHA256 2174f6902e4fe4086dc1cc5f9a0ef069aee27ef8ce740ebbf16cfb5d502bc7db ardour-2.0.2.tar.bz2 2737191

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.3
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.3	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.3	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 d047d3f9e7b5b4bf80980c5b267c1068 ardour-2.0.3.tar.bz2 2745744
+RMD160 702dc6b234a7c36ba93377e4e8caffd25e75ff4d ardour-2.0.3.tar.bz2 2745744
+SHA256 36df4728b92aaab141ed7dbfab4c29f8a1fb83e4ebb95bc2ffa40c831f4d787e ardour-2.0.3.tar.bz2 2745744

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.5
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.5	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.5	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 7ac25b5837284fcae2ab3cb6825dc369 ardour-2.0.5.tar.bz2 2777524
+RMD160 eb278fbd7121707b9b7d4dfbb1e2088ef36cb1d4 ardour-2.0.5.tar.bz2 2777524
+SHA256 976b87920a3bd481b06edcbc756d1c5425397286f9b2a14546705a1f60a60848 ardour-2.0.5.tar.bz2 2777524

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.0.99992
===================================================================

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.1
===================================================================
--- trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.1	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-2.1	2007-12-16 16:11:12 UTC (rev 1050)
@@ -0,0 +1,3 @@
+MD5 18be414a37b832aae23c068ba9fcf8ab ardour-2.1.tar.bz2 2788128
+RMD160 70796eb07911c5301049fb2d2749cbaa7a04ba4d ardour-2.1.tar.bz2 2788128
+SHA256 160482d87d8eb2188481fc42d7f6442efe6bff38544a321a79e2e23a7aa9501b ardour-2.1.tar.bz2 2788128

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-99991
===================================================================

Added: trunk/overlays/proaudio-dev/media-sound/ardour/files/digest-ardour-99992
===================================================================


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