5 # Version of this package (even if built as a child)
9 GTKMM2EXT_VERSION
= "%s.%s.%s" % (MAJOR
, MINOR
, MICRO
)
11 # Library version (UNIX style major, minor, micro)
12 # major increment <=> incompatible changes
13 # minor increment <=> compatible changes (additions)
14 # micro increment <=> no interface changes
15 GTKMM2EXT_LIB_VERSION
= '0.8.3'
17 # Variables for 'waf dist'
19 VERSION
= GTKMM2EXT_VERSION
26 'cell_renderer_pixbuf_multi.cc',
27 'cell_renderer_pixbuf_toggle.cc',
44 'slider_controller.cc',
57 path_prefix
= 'libs/gtkmm2ext/'
60 autowaf
.set_options(opt
)
63 autowaf
.build_version_files(path_prefix
+'gtkmm2ext/version.h', path_prefix
+'version.cc',
64 'libgtkmm2ext', MAJOR
, MINOR
, MICRO
)
65 autowaf
.configure(conf
)
66 conf
.check_tool('compiler_cxx')
67 autowaf
.check_pkg(conf
, 'gtkmm-2.4', uselib_store
='GTKMM', atleast_version
='2.8')
68 autowaf
.check_pkg(conf
, 'gtk+-2.0', uselib_store
='GTK', atleast_version
='2.12.1')
72 obj
= bld
.new_task_gen(features
= 'cc cxx cshlib')
73 obj
.source
= gtkmm2ext_sources
74 obj
.export_incdirs
= ['.']
76 obj
.name
= 'libgtkmm2ext'
77 obj
.target
= 'gtkmm2ext'
78 obj
.uselib
= 'GTKMM GTK GTKOSX OSX GDK'
79 obj
.uselib_local
= 'libpbd'
80 obj
.vnum
= GTKMM2EXT_LIB_VERSION
81 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3')
83 '-DPACKAGE="libgtkmm2ext"',
84 '-DLOCALEDIR="' + os
.path
.join(
85 os
.path
.normpath(bld
.env
['DATADIRNAME']), 'locale') + '"']
87 obj
.source
+= ['sync-menu.c']