X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fclearlooks%2FSConscript;h=bd460f971e8a9c29c8be93c9c4095a46956c7d53;hb=4c90724d2d94f834ddc3c9b39c60dd7553493753;hp=110bfe41bef5884095afe8fb29e7b494f61dfc6c;hpb=ebbc8b3b6a6d77f705698aff36455c61ee07bb66;p=ardour.git diff --git a/libs/clearlooks/SConscript b/libs/clearlooks/SConscript index 110bfe41be..bd460f971e 100644 --- a/libs/clearlooks/SConscript +++ b/libs/clearlooks/SConscript @@ -4,18 +4,28 @@ import os.path import glob libclearlooks_files = [ + 'animation.c', + 'cairo-support.c', 'clearlooks_draw.c', - 'clearlooks_rc_style.c', - 'clearlooks_style.c', - 'clearlooks_theme_main.c', - 'support.c' ] + 'clearlooks_draw_glossy.c', + 'clearlooks_draw_gummy.c', + 'clearlooks_draw_inverted.c', + 'clearlooks_rc_style.c', + 'clearlooks_style.c', + 'clearlooks_theme_main.c', + 'support.c', + 'widget-information.c' + ] Import ('env install_prefix') -clearlooks = env.Copy() +clearlooks = env.Clone() -clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0` ', - LINKFLAGS = ' `pkg-config --libs gtk+-2.0` ') +clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0 cairo` ', + LINKFLAGS = ' `pkg-config --libs gtk+-2.0 cairo` ') + +if env['GTKOSX']: + clearlooks.Append (CCFLAGS = '-DGTKOSX') libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files) @@ -23,7 +33,7 @@ usable_libclearlooks = clearlooks.Install ('engines', libclearlooks) Default (usable_libclearlooks) env.Alias('install', - env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour2', 'engines'), + env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour3', 'engines'), libclearlooks)) env.Alias('tarball', env.Distribute (env['DISTTREE'],