[proaudio] [1112] ardour-2.2 - please test (simple bump, but looks ok)

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


Revision: 1112
Author:   gimpel
Date:     2008-01-12 09:22:07 +0000 (Sat, 12 Jan 2008)

Log Message:
-----------
ardour-2.2 - please test (simple bump, but looks ok)

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

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.2.ebuild


Modified: trunk/overlays/proaudio/media-sound/ardour/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ChangeLog	2008-01-12 00:10:33 UTC (rev 1111)
+++ trunk/overlays/proaudio/media-sound/ardour/ChangeLog	2008-01-12 09:22:07 UTC (rev 1112)
@@ -1,7 +1,10 @@
 # ChangeLog for media-sound/ardour
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Jan 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +ardour-2.2.ebuild:
+  version bump
+
   18 Dec 2007; <tom@xxxxxxxxxx> ardour-2.0.99992.ebuild,
   +ardour-2.1.9999.ebuild:
   copy 2.0.99992 to 2.1.9999 to avoid weird unmasking with 2.1

Modified: trunk/overlays/proaudio/media-sound/ardour/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-01-12 00:10:33 UTC (rev 1111)
+++ trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-01-12 09:22:07 UTC (rev 1112)
@@ -3,10 +3,12 @@
 AUX ardour-syslib_mod2.patch 5359 RMD160 fde311ad4653c4e053fede1e63cf274d20009680 SHA1 7fbb68b522101c942b26c1c16055a7aed54743e5 SHA256 20326ecf95d15df46ca79d5645975138ec528e5490e5d3e4ecf92ff79dae783f
 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
+DIST ardour-2.2.tar.bz2 4289987 RMD160 0ae9c39ea0c43198ac8ba0166f051855ec1ac3d6 SHA1 b8a1c0b395a50eb81d32d9d9dcba6bac438f610e SHA256 e00ee7a7aebf3d9959ddc03dc46058133d898ebc01495eeb037a4206892f3260
 EBUILD ardour-2.0.5.ebuild 3902 RMD160 139933a4a239d1d12b004e140da6c69346cb06f8 SHA1 a2a1a47c3ec4a17a7c688e2b04c3aae6cbe2f4c0 SHA256 1d02353f3fb20d0624d9dbb4bb9a580a4d8d9d9f3b39931de08c97e558cae819
 EBUILD ardour-2.0.99992.ebuild 3646 RMD160 c0d3e9c7c838f3e3a61d1dde3b39f37351631f13 SHA1 3c1fc5f54b6e433955bebb902cea7bb416e42ce1 SHA256 1ec0f871cb085a8621dcdf3e258f8b791d820910e787b9abaf98c7d86fee16af
 EBUILD ardour-2.1.9999.ebuild 3657 RMD160 13bc36b3207ae75ac50c5899adb5bbc440e37f06 SHA1 c264d55b2205977e3c75106986116519492f6649 SHA256 05c21f3ab57d610c49253876612919832b7d32887d61367bdee192674b5a0052
 EBUILD ardour-2.1.ebuild 4207 RMD160 fb80363e05ac455d6224f564af0b7b119f99ca0e SHA1 ddab253a349144274613efcff40e49ab0f325ac3 SHA256 c246e28107380d279b07c59c3a3d8166f6e1ed3afe2b88739b907bfb79e13013
+EBUILD ardour-2.2.ebuild 4207 RMD160 0eb179de776ef585e58fd04455b31c35e37f8c7d SHA1 58b69067b7e41fe625a8d1fdfde03c1adf31081f SHA256 7e82edea4a02118b4493c619d0e85beb1c9a463944e8cbf4482e7e33c167cdf9
 EBUILD ardour-99992.ebuild 5122 RMD160 199a759ac74262b96780cf61867b85d13c77b4b3 SHA1 fe87ad7d60b96b85eddf884e7d0d425434e9a8b3 SHA256 594cbd4e091f1c86d50188f5242787a7de6ee198724fd2d3a637c21ba6079365
-MISC ChangeLog 802 RMD160 4daf4cf4c4e08bd93a1b76884d27a1aaaaf238f0 SHA1 8714d3ebcfb38f0251f456aea7800bc4b44d6897 SHA256 076d877804f589eae9c27f8143a77288959dd9abbc2d1d38e82fc21db8e37ba8
+MISC ChangeLog 893 RMD160 918cde1f0c083a900f5b2ba4ffd56cf9242d79ef SHA1 c9f6027fd52d81c2c2a0dede62894a138bab7d06 SHA256 2fd493ee6cd1de1eb8f687a5996cc10913f3ce55741e6afe39f030b1fd8e0195
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/ardour/ardour-2.2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.2.ebuild	2008-01-12 09:22:07 UTC (rev 1112)
@@ -0,0 +1,153 @@
+# Copyright 1999-2008 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
+	# NOTE: this doesn't work
+	#use amd64 && append-flags "-DUSE_X86_64_ASM"
+
+	# touching FPU_OPTIMIZATION only if sse altivec is enabled, otherwhise
+	# don't even specify it
+
+	local myconf=""
+	(use sse || use altivec) && myconf="FPU_OPTIMIZATION=1"
+
+	scons \
+		$(ardour_use_enable DEBUG debug) \
+		$(ardour_use_enable NLS nls) \
+		$(ardour_use_enable FFT_ANALYSIS fftw) \
+		$(ardour_use_enable VST vst) \
+		$(ardour_use_enable SYSLIBS sys-libs) \
+		DESTDIR="${D}" \
+		CFLAGS="${CFLAGS}" \
+		PREFIX=/usr \
+		${myconf} \
+		|| 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."
+}


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