2 from waflib.extras import autowaf as autowaf
6 # Version of this package (even if built as a child)
7 LIBTAGLIB_VERSION = '0.0.0'
9 # Library version (UNIX style major, minor, micro)
10 # major increment <=> incompatible changes
11 # minor increment <=> compatible changes (additions)
12 # micro increment <=> no interface changes
13 LIBTAGLIB_LIB_VERSION = '0.0.0'
15 # Variables for 'waf dist'
17 VERSION = LIBTAGLIB_VERSION
24 autowaf.set_options(opt)
27 conf.load('compiler_cxx')
28 autowaf.configure(conf)
32 obj = bld(features = 'cxx cxxshlib')
33 sources = bld.path.ant_glob('taglib/*.cpp')
34 sources += bld.path.ant_glob('taglib/flac/*.cpp')
35 sources += bld.path.ant_glob('taglib/mpc/*.cpp')
36 sources += bld.path.ant_glob('taglib/mpeg/*.cpp')
37 sources += bld.path.ant_glob('taglib/mpeg/id3v1/*.cpp')
38 sources += bld.path.ant_glob('taglib/mpeg/id3v2/*.cpp')
39 sources += bld.path.ant_glob('taglib/mpeg/id3v2/frames/*.cpp')
40 sources += bld.path.ant_glob('taglib/ogg/*.cpp')
41 sources += bld.path.ant_glob('taglib/ogg/vorbis/*.cpp')
42 sources += bld.path.ant_glob('taglib/ogg/speex/*.cpp')
43 sources += bld.path.ant_glob('taglib/ogg/flac/*.cpp')
44 sources += bld.path.ant_glob('taglib/trueaudio/*.cpp')
45 sources += bld.path.ant_glob('taglib/wavpack/*.cpp')
46 sources += bld.path.ant_glob('taglib/ape/*.cpp')
47 sources += bld.path.ant_glob('taglib/toolkit/*.cpp')
66 obj.export_includes = ['.', 'taglib', 'taglib/toolkit']
67 obj.includes = include_dirs
68 obj.name = 'libtaglib'
70 obj.vnum = LIBTAGLIB_LIB_VERSION
71 obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')