From cd89c6e3bf1e6c4b786b6ee89bc5fa9a0e780d61 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 24 Mar 2008 00:19:03 +0000 Subject: initial checkin of freesound integration git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3168 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/SConscript | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gtk2_ardour/SConscript') diff --git a/gtk2_ardour/SConscript b/gtk2_ardour/SConscript index e390845d9d..7991500fa5 100644 --- a/gtk2_ardour/SConscript +++ b/gtk2_ardour/SConscript @@ -79,6 +79,10 @@ if gtkardour['FFT_ANALYSIS']: gtkardour.Merge ([libraries['fftw3f']]) gtkardour.Append(CCFLAGS='-DFFT_ANALYSIS') +if gtkardour['FREESOUND']: + gtkardour.Merge ([libraries['curl']]) + gtkardour.Append(CCFLAGS='-DFREESOUND') + if gtkardour['RUBBERBAND']: gtkardour.Merge ([ libraries['rubberband'] ]) else: @@ -237,6 +241,10 @@ fft_graph.cc fft_result.cc """) +freesound_files=Split(""" +sfdb_freesound_mootcher.cc +""") + pixmap_files = glob.glob('pixmaps/*.xpm') icon_files = glob.glob ('icons/*.png') @@ -297,6 +305,9 @@ else: if env['FFT_ANALYSIS']: extra_sources += fft_analysis_files +if env['FREESOUND']: + extra_sources += freesound_files + intl_files += extra_sources gtkardour.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE") @@ -533,6 +544,7 @@ env.Alias ('tarball', env.Distribute (env['DISTTREE'], gtkosx_files + x11_files + fft_analysis_files + + freesound_files + glob.glob('po/*.po') + glob.glob('*.h'))) # generate a prototype full-featured ardour_ui.rc file -- cgit v1.2.3