summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-20 10:31:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-20 10:31:46 +0000
commitc2674e6da4349dfed22973468536bcff59de4e6c (patch)
treef27616d1e10b6025593c103c99a9d3a987d43337 /SConstruct
parent6a59ccc421d7465b0ff8ea3c810d810b3a6eb0eb (diff)
finalize death of DOCUMENTATION; new handling of 2 parallel clearlooks trees (1 for OS X, 1 for linux)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4223 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct35
1 files changed, 19 insertions, 16 deletions
diff --git a/SConstruct b/SConstruct
index 6e54676390..5933c5d761 100644
--- a/SConstruct
+++ b/SConstruct
@@ -843,15 +843,15 @@ if env['LIBLO']:
def prep_libcheck(topenv, libinfo):
if topenv['IS_OSX']:
#
- # rationale: GTK-Quartz uses jhbuild and installs to /opt/gtk by default.
- # All libraries needed should be built against this location
- # However.. now jhbuild installs to ~/gtk/inst by default.. changed to accomodate this
+ # rationale: GTK-Quartz uses jhbuild and installs to ~/gtk/inst by default.
+ # All libraries needed should be built against this location
if topenv['GTKOSX']:
- GTKROOT = os.path.expanduser ('~/gtk/inst')
- libinfo.Append(CPPPATH= GTKROOT + "/include", LIBPATH= GTKROOT + "/lib")
- libinfo.Append(CXXFLAGS="-I" + GTKROOT + "/include", LINKFLAGS="-L" + GTKROOT + "/lib")
- #libinfo.Append(CPPPATH="/opt/local/include", LIBPATH="/opt/local/lib")
- #libinfo.Append(CXXFLAGS="-I/opt/local/include", LINKFLAGS="-L/opt/local/lib")
+ GTKROOT = os.path.expanduser ('~/gtk/inst')
+ libinfo.Append(CPPPATH= GTKROOT + "/include", LIBPATH= GTKROOT + "/lib")
+ libinfo.Append(CXXFLAGS="-I" + GTKROOT + "/include", LINKFLAGS="-L" + GTKROOT + "/lib")
+
+
+
prep_libcheck(env, env)
@@ -1041,6 +1041,11 @@ else:
env = conf.Finish()
+if env['GTKOSX']:
+ clearlooks_version = 'libs/clearlooks-newer'
+else:
+ clearlooks_version = 'libs/clearlooks-older'
+
if env['SYSLIBS']:
syslibdeps = \
@@ -1126,7 +1131,7 @@ if env['SYSLIBS']:
# 'libs/flowcanvas',
'libs/gtkmm2ext',
'gtk2_ardour',
- 'libs/clearlooks'
+ clearlooks_version
]
else:
@@ -1201,7 +1206,7 @@ else:
'libs/libgnomecanvasmm',
'libs/gtkmm2ext',
'gtk2_ardour',
- 'libs/clearlooks'
+ clearlooks_version
]
#
@@ -1394,12 +1399,10 @@ env.Distribute (env['DISTTREE'],
'icons/icon/ardour_icon_tango_48px_blue.png',
'icons/icon/ardour_icon_tango_48px_red.png'
] +
- glob.glob ('DOCUMENTATION/AUTHORS*') +
- glob.glob ('DOCUMENTATION/CONTRIBUTORS*') +
- glob.glob ('DOCUMENTATION/TRANSLATORS*') +
- glob.glob ('DOCUMENTATION/BUILD*') +
- glob.glob ('DOCUMENTATION/FAQ*') +
- glob.glob ('DOCUMENTATION/README*')
+ glob.glob ('ardour.1*') +
+ glob.glob ('libs/clearlooks-newer/*.c') +
+ glob.glob ('libs/clearlooks-newer/*.h') +
+ glob.glob ('libs/clearlooks-newer/SConscript')
)
srcdist = env.Tarball(env['TARBALL'], [ env['DISTTREE'], the_revision ])