[proaudio] [1191] bumped ardour-2.4 and use versionator eclass

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


Revision: 1191
Author:   evermind
Date:     2008-04-04 11:26:37 +0200 (Fri, 04 Apr 2008)

Log Message:
-----------
bumped ardour-2.4 and use versionator eclass

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

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/ardour/ardour-2.4.ebuild
    trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.4-find_soundtouch.patch


Modified: trunk/overlays/proaudio/media-sound/ardour/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ChangeLog	2008-04-03 20:59:06 UTC (rev 1190)
+++ trunk/overlays/proaudio/media-sound/ardour/ChangeLog	2008-04-04 09:26:37 UTC (rev 1191)
@@ -2,6 +2,11 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Apr 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
+  ardour-2.3.1.ebuild, +ardour-2.4.ebuild,
+  +files/ardour-2.4-find_soundtouch.patch:
+  bumped ardour-2.4 and use versionator eclass
+
   07 Feb 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +ardour-2.3.1.ebuild:
   version bump
 

Modified: trunk/overlays/proaudio/media-sound/ardour/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-04-03 20:59:06 UTC (rev 1190)
+++ trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-04-04 09:26:37 UTC (rev 1191)
@@ -1,15 +1,18 @@
 AUX ardour-2.0.3-cflags.patch 1205 RMD160 e7b3c10835fb4228603f3c9455809bfab5847a3e SHA1 22260d62a9ff67baeed07f5fdc6f4dcf95656ddd SHA256 892180ba5e622219def261a647e80f7214bb3f6ce829804a11a25ae57d2ea4be
 AUX ardour-2.0.3-sndfile-external.patch 1409 RMD160 cbc6381f17a7978caa56aff0d5e0ce8b64f7161d SHA1 6559d30abdc3a89121097ed2649872806ce4a736 SHA256 71542baed4deeae9505107973361a5aab06f49ceaeb3bf7d2e7c5ffd73cc604d
 AUX ardour-2.3.1-find_soundtouch.patch 854 RMD160 0d5eb1c4b508ecf4065abff6ae478d1c205e6e0c SHA1 335b1f2e847de16f443773a024494851d0514073 SHA256 6996c289b5711a5552c2d2dc841226b1b749a2a51a6044e32264a7007de5384d
+AUX ardour-2.4-find_soundtouch.patch 854 RMD160 0d5eb1c4b508ecf4065abff6ae478d1c205e6e0c SHA1 335b1f2e847de16f443773a024494851d0514073 SHA256 6996c289b5711a5552c2d2dc841226b1b749a2a51a6044e32264a7007de5384d
 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 4296980 RMD160 ec1e00a546b51e3f8fd8afb0b6d661df66862cd1 SHA1 195ba17570102dcb7fb09d40457b4afefbd3e16a SHA256 fc0d405e1e1d31b3e353095db67b7dc874c201ff43954751b72f57ae836799ee
 DIST ardour-2.3.1.tar.bz2 4348658 RMD160 39a2e240700410e97583c70c8f27086d4823c92b SHA1 bce5a495bb2406277a45ff67423a3f04b443071c SHA256 bb93e70ec608143e5a94cbee809ae5a7fcbb5f89a2c18fe03ac9c2ad00aa6651
+DIST ardour-2.4.tar.bz2 4395397 RMD160 3517dae2500d8cbbd029be7bd56ab414160e9ae5 SHA1 fa9766b1cb13f625cf7837368c0cea2ad7c9586f SHA256 f1dd159aa18e2ecb060d8be239c5b5086cddee329a4739b2185f577a5223cc13
 EBUILD ardour-2.0.5.ebuild 3900 RMD160 fbc3280df4a258eb8d5096895d9900fe904ba3dd SHA1 443378b09402874398717f7fa52c1eb01e5f2aad SHA256 8a9746117c71f4b26b500ebd178875e3d8536a125706f6e9a8461b69c4bc8b86
 EBUILD ardour-2.1.ebuild 4205 RMD160 c1009642cb3ab16b14663fd9903b7f2be417445d SHA1 d51e9d56bd8dfba515ab83bf186225473ba031cc SHA256 8022e867006cf705163b6928c705a010e3dbb75f50f73f271a1191dc34aeca6a
 EBUILD ardour-2.2.ebuild 4205 RMD160 74950f3ef10f5330949d7ccb0d13ed287db965aa SHA1 d0fd6eb6b4e4587f11bece468895922e8f270de8 SHA256 906c66c2efb70f1163c84170d530ef8091f8b4cba97a83cf28b32b82243c1aa7
-EBUILD ardour-2.3.1.ebuild 4291 RMD160 a7158436d7c1388581fb2b4e7bff04602eeea545 SHA1 675f8104a09b13aa353ca05fd80ff0c1c729f378 SHA256 925069e382da2ce5c8f3f4cd579fbaf633bf4601bfc64d0ae8f982499e8facb0
+EBUILD ardour-2.3.1.ebuild 4335 RMD160 d014b0d33d4f91171f9d1fdf0a5edef21203f346 SHA1 a6cc6129a0dd006fcd0bd90d4afc4f7c54494056 SHA256 bdba75247f86b18dc64347c5fbc2ccf8894dee39fc559f289e60ede67dc3530b
+EBUILD ardour-2.4.ebuild 4335 RMD160 d014b0d33d4f91171f9d1fdf0a5edef21203f346 SHA1 a6cc6129a0dd006fcd0bd90d4afc4f7c54494056 SHA256 bdba75247f86b18dc64347c5fbc2ccf8894dee39fc559f289e60ede67dc3530b
 EBUILD ardour-2.9999.ebuild 3655 RMD160 e196a6e98bebe8d3631b817293e9facbe8e90e8e SHA1 99efefa79210d78500a9f617d3f40a83ac9bbbf0 SHA256 9ff4fb649a1576278b8b89f125a0c3a2270c63b3b0c028293f0d6f86ef645262
 EBUILD ardour-99992.ebuild 3357 RMD160 8f20b5e6598f87d1fca4573b7cf1d12ec48defbb SHA1 b1d3f58ed9a2da4db5f7c5e9641e8bc3222f3757 SHA256 4d1e7740509fd04d9e7aa06c6263fe0c81ee28d1d05816505ee780f28ea57299
-MISC ChangeLog 1206 RMD160 ec856e336846c6ed9396b10ed3fc1c663d757e29 SHA1 7a6b58755e2ddb2d3a310af01e9a8061ece4b9b1 SHA256 25d35ef6f8a6be363cee30b3ef2e4e845f4dcc62e65c52b105e13a832dd73764
+MISC ChangeLog 1398 RMD160 3a31eb63d605e472280e2e4c9dd0b277b46687f2 SHA1 4be8ffbe2b1da0843b9f9e1fec4371d3a643e903 SHA256 0ebf3152b759aa221532fdcadc3f9019f0bf10139b62c2377e882e76edcbe8bf
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-sound/ardour/ardour-2.3.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.3.1.ebuild	2008-04-03 20:59:06 UTC (rev 1190)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.3.1.ebuild	2008-04-04 09:26:37 UTC (rev 1191)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit eutils toolchain-funcs flag-o-matic scons-ccache vst
+inherit eutils toolchain-funcs flag-o-matic scons-ccache vst versionator
 
 DESCRIPTION="multi-track hard disk recording software"
 HOMEPAGE="http://ardour.org/";
@@ -12,7 +12,7 @@
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="altivec debug nls sse sys-libs vst lv2"
-S="${WORKDIR}/${PN}-2.3"
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )"
 
 RDEPEND="media-libs/liblo
 	>=media-libs/liblrdf-0.4.0

Copied: trunk/overlays/proaudio/media-sound/ardour/ardour-2.4.ebuild (from rev 1190, trunk/overlays/proaudio/media-sound/ardour/ardour-2.3.1.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-2.4.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-2.4.ebuild	2008-04-04 09:26:37 UTC (rev 1191)
@@ -0,0 +1,156 @@
+# 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 versionator
+
+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 nls sse sys-libs vst lv2"
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )"
+
+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
+	=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 )
+	lv2? ( =media-libs/slv2-9999 )"
+
+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"
+	epatch "${FILESDIR}/${P}-find_soundtouch.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 VST vst) \
+		$(ardour_use_enable SYSLIBS sys-libs) \
+		$(ardour_use_enable LV2 lv2) \
+		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 ardour Ardour 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.4-find_soundtouch.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.4-find_soundtouch.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/files/ardour-2.4-find_soundtouch.patch	2008-04-04 09:26:37 UTC (rev 1191)
@@ -0,0 +1,14 @@
+--- SConstruct.orig	2008-02-07 16:44:02.000000000 +0100
++++ SConstruct	2008-02-07 16:44:28.000000000 +0100
+@@ -1006,9 +1006,9 @@
+ 
+ #    libraries['flowcanvas'] = LibraryInfo(LIBS='flowcanvas', LIBPATH='#/libs/flowcanvas', CPPPATH='#libs/flowcanvas')
+     libraries['soundtouch'] = LibraryInfo()
+-    #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs soundtouch-1.0')
++    libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs soundtouch-1.0')
+     # Comment the previous line and uncomment this for Debian:
+-    libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch')
++    #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch')
+ 
+     libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
+                                             LIBPATH='#libs/appleutility',


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