diff options
author | Andreas Schuerch <nativemad@gentoo.org> | 2012-11-20 20:30:19 +0000 |
---|---|---|
committer | Andreas Schuerch <nativemad@gentoo.org> | 2012-11-20 20:30:19 +0000 |
commit | bdf6442a7af8a4817a7efe8eb212088858d04922 (patch) | |
tree | 6d404f1abbc786e80d4ca731e88f8c9d104a688b /media-sound/ardour | |
parent | version bump (diff) | |
download | gentoo-2-bdf6442a7af8a4817a7efe8eb212088858d04922.tar.gz gentoo-2-bdf6442a7af8a4817a7efe8eb212088858d04922.tar.bz2 gentoo-2-bdf6442a7af8a4817a7efe8eb212088858d04922.zip |
ebuild bumped to 2.8.14 and syslibs.patch slightly adjusted. See bug 437408.
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'media-sound/ardour')
-rw-r--r-- | media-sound/ardour/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/ardour/ardour-2.8.14.ebuild | 78 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-2.8.14-syslibs.patch | 108 |
3 files changed, 193 insertions, 1 deletions
diff --git a/media-sound/ardour/ChangeLog b/media-sound/ardour/ChangeLog index e58d26757aca..bca4b34c0ce4 100644 --- a/media-sound/ardour/ChangeLog +++ b/media-sound/ardour/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/ardour # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.102 2012/05/31 15:13:42 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.103 2012/11/20 20:30:19 nativemad Exp $ + +*ardour-2.8.14 (21 Nov 2012) + + 21 Nov 2012; Andreas Schuerch <nativemad@gentoo.org> +ardour-2.8.14.ebuild, + +files/ardour-2.8.14-syslibs.patch: + Ebuild Bumped to 2.8.14 and syslibs.patch slightly adjusted. See bug 437408 31 May 2012; Tim Harder <radhermit@gentoo.org> ardour-2.8.12.ebuild, +files/ardour-2.8.12-gcc47.patch: diff --git a/media-sound/ardour/ardour-2.8.14.ebuild b/media-sound/ardour/ardour-2.8.14.ebuild new file mode 100644 index 000000000000..4e184278da74 --- /dev/null +++ b/media-sound/ardour/ardour-2.8.14.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-2.8.14.ebuild,v 1.1 2012/11/20 20:30:19 nativemad Exp $ + +EAPI=4 +inherit eutils flag-o-matic toolchain-funcs scons-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="altivec curl debug nls lv2 sse" + +RDEPEND="media-libs/aubio + media-libs/liblo + lv2? ( >=media-libs/slv2-0.6.1 ) + sci-libs/fftw:3.0 + media-libs/freetype:2 + >=dev-libs/glib-2.10.1:2 + dev-cpp/glibmm:2 + >=x11-libs/gtk+-2.8.1:2 + >=dev-libs/libxml2-2.6:2 + >=media-libs/libsndfile-1.0.18 + >=media-libs/libsamplerate-0.1 + >=media-libs/rubberband-1.6.0 + >=media-libs/libsoundtouch-1.6.0 + media-libs/flac + media-libs/raptor:2 + >=media-libs/liblrdf-0.4.0-r20 + >=media-sound/jack-audio-connection-kit-0.120 + >=gnome-base/libgnomecanvas-2 + media-libs/vamp-plugin-sdk + dev-libs/libxslt + dev-libs/libsigc++:2 + >=dev-cpp/gtkmm-2.16:2.4 + >=dev-cpp/libgnomecanvasmm-2.26:2.6 + media-libs/alsa-lib + x11-libs/pango + x11-libs/cairo + media-libs/libart_lgpl + virtual/libusb:0 + curl? ( net-misc/curl )" +DEPEND="${RDEPEND} + dev-libs/boost + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-2.8.11-flags.patch \ + "${FILESDIR}"/${P}-syslibs.patch +} + +src_compile() { + local FPU_OPTIMIZATION=$($(use altivec || use sse) && echo 1 || echo 0) + tc-export CC CXX + mkdir -p "${D}" + + escons \ + DESTDIR="${D}" \ + FPU_OPTIMIZATION="${FPU_OPTIMIZATION}" \ + PREFIX=/usr \ + SYSLIBS=1 \ + $(use_scons curl FREESOUND) \ + $(use_scons debug DEBUG) \ + $(use_scons nls NLS) \ + $(use_scons lv2 LV2) +} + +src_install() { + escons install + doman ${PN}.1 + newicon icons/icon/ardour_icon_mac.png ${PN}.png + make_desktop_entry ardour2 ardour AudioVideo +} diff --git a/media-sound/ardour/files/ardour-2.8.14-syslibs.patch b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch new file mode 100644 index 000000000000..a06c3b04e276 --- /dev/null +++ b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch @@ -0,0 +1,108 @@ +--- SConstruct ++++ SConstruct +@@ -891,39 +891,6 @@ + + + # +-# these are part of the Ardour source tree because they are C++ +-# +- +-libraries['vamp'] = LibraryInfo (LIBS='vampsdk', +- LIBPATH='#libs/vamp-sdk', +- CPPPATH='#libs/vamp-sdk') +-libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk', +- LIBPATH='#libs/vamp-sdk', +- CPPPATH='#libs/vamp-sdk') +- +-env['RUBBERBAND'] = False +- +-conf = Configure (env) +- +-if conf.CheckHeader ('fftw3.h'): +- env['RUBBERBAND'] = True +- libraries['rubberband'] = LibraryInfo (LIBS='rubberband', +- LIBPATH='#libs/rubberband', +- CPPPATH='#libs/rubberband', +- CCFLAGS='-DUSE_RUBBERBAND') +-else: +- print "" +- print "-------------------------------------------------------------------------" +- print "You do not have the FFTW single-precision development package installed." +- print "This prevents Ardour from using the Rubberband library for timestretching" +- print "and pitchshifting. It will fall back on SoundTouch for timestretch, and " +- print "pitchshifting will not be available." +- print "-------------------------------------------------------------------------" +- print "" +- +-conf.Finish() +- +-# + # Check for libusb + + libraries['usb'] = LibraryInfo () +@@ -1109,10 +1076,22 @@ + # Comment the previous line and uncomment this for old versions of Debian: + #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch') + +- libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', +- LIBPATH='#libs/appleutility', +- CPPPATH='#libs/appleutility') ++ #libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', ++ # LIBPATH='#libs/appleutility', ++ # CPPPATH='#libs/appleutility') + ++ env['RUBBERBAND'] = True ++ env.Append (CXXFLAGS="-DUSE_RUBBERBAND") ++ libraries['rubberband'] = LibraryInfo() ++ libraries['rubberband'].ParseConfig ('pkg-config --cflags --libs rubberband') ++ ++ libraries['vamp-sdk'] = LibraryInfo() ++ libraries['vamp-sdk'].ParseConfig ('pkg-config --cflags --libs vamp-sdk') ++ libraries['vamp'] = LibraryInfo() ++ libraries['vamp'].ParseConfig ('pkg-config --cflags --libs vamp-sdk') ++ libraries['vamphost'] = LibraryInfo() ++ libraries['vamphost'].ParseConfig ('pkg-config --cflags --libs vamp-hostsdk') ++ + coredirs = [ + 'templates', + 'manual' +@@ -1122,7 +1101,6 @@ + 'libs/pbd', + 'libs/midi++2', + 'libs/ardour', +- 'libs/vamp-sdk', + 'libs/vamp-plugins/', + # these are unconditionally included but have + # tests internally to avoid compilation etc +@@ -1138,8 +1116,7 @@ + gtk_subdirs = [ + # 'libs/flowcanvas', + 'libs/gtkmm2ext', +- 'gtk2_ardour', +- clearlooks_version ++ 'gtk2_ardour' + ] + + else: +@@ -1251,9 +1228,9 @@ + # timestretch libraries + # + +-timefx_subdirs = [] +-if env['RUBBERBAND']: +- timefx_subdirs += ['libs/rubberband'] ++#timefx_subdirs = [] ++#if env['RUBBERBAND']: ++# timefx_subdirs += ['libs/rubberband'] + + # + # Tools +@@ -1441,7 +1418,7 @@ + for subdir in coredirs: + SConscript (subdir + '/SConscript') + +-for sublistdir in [ subdirs, timefx_subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]: ++for sublistdir in [ subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]: + for subdir in sublistdir: + SConscript (subdir + '/SConscript') + |