CPPPATH=['#libs', '#libs/soundtouch'])
libraries['taglib'] = LibraryInfo(LIBS='libtaglib',
LIBPATH='#libs/taglib',
- CPPPATH=['#libs/taglib/headers','#libs/taglib/headers/taglib'])
+ CPPPATH=['#libs/taglib', '#libs/taglib/taglib'])
# libraries['libglademm'] = LibraryInfo(LIBS='libglademm',
# LIBPATH='#libs/libglademm',
# CPPPATH='#libs/libglademm')
#include <string>
-#include "taglib/ogg/xiphcomment.h"
#include "taglib/tag.h"
-#include "taglib/toolkit/taglib.h"
+#include "taglib/taglib.h"
+#include "taglib/xiphcomment.h"
using std::string;
#include "pbd/convert.h"
#include "taglib/fileref.h"
-#include "taglib/flac/flacfile.h"
-#include "taglib/ogg/oggfile.h"
-#include "taglib/ogg/xiphcomment.h"
+#include "taglib/flacfile.h"
+#include "taglib/oggfile.h"
#include "taglib/tag.h"
-#include "taglib/toolkit/taglib.h"
+#include "taglib/taglib.h"
+#include "taglib/xiphcomment.h"
/* Convert Glib::ustring to TagLib::String */
#define TL_STR(ustring) TagLib::String ((ustring).c_str(), TagLib::String::UTF8)
libtaglib = taglib.SharedLibrary ('taglib', taglib_files)
-#
-# the header structure of this library is not very convenient
-# if you don't want to install the library. headers are distributed
-# all over the place, making a simple -Ipath flag for the compiler
-# rather difficult. This hack creates a directory and copies
-# the headers into it, allowing us to use -I#libs/taglib/headers
-#
-
-def headercopy(env, target, source):
- if os.access (str(target[0]), os.X_OK) != True:
- os.makedirs (str(target[0]))
- for file in source :
- copy (str(file), str(target[0]))
-
-header_dir = taglib.Command ('#libs/taglib/headers/taglib', headers, headercopy)
-
config_h = taglib.Command('config.h', ['config.h.in'], 'cd libs/taglib && ./configure && cd -', ENV=os.environ)
-Default([config_h,header_dir,libtaglib])
+Default([config_h,libtaglib])
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libtaglib))
--- /dev/null
+./ape/apefooter.h
\ No newline at end of file
--- /dev/null
+./ape/apeitem.h
\ No newline at end of file
--- /dev/null
+./ape/apetag.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/attachedpictureframe.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/commentsframe.h
\ No newline at end of file
--- /dev/null
+./flac/flacfile.h
\ No newline at end of file
--- /dev/null
+./flac/flacproperties.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/generalencapsulatedobjectframe.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v1/id3v1genres.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v1/id3v1tag.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2extendedheader.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2footer.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2frame.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2framefactory.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2header.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2synchdata.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/id3v2tag.h
\ No newline at end of file
--- /dev/null
+./mpc/mpcfile.h
\ No newline at end of file
--- /dev/null
+./mpc/mpcproperties.h
\ No newline at end of file
--- /dev/null
+./mpeg/mpegfile.h
\ No newline at end of file
--- /dev/null
+./mpeg/mpegheader.h
\ No newline at end of file
--- /dev/null
+./mpeg/mpegproperties.h
\ No newline at end of file
--- /dev/null
+./ogg/oggfile.h
\ No newline at end of file
--- /dev/null
+./ogg/flac/oggflacfile.h
\ No newline at end of file
--- /dev/null
+./ogg/oggpage.h
\ No newline at end of file
--- /dev/null
+./ogg/oggpageheader.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/relativevolumeframe.h
\ No newline at end of file
--- /dev/null
+./ogg/speex/speexfile.h
\ No newline at end of file
--- /dev/null
+./ogg/speex/speexproperties.h
\ No newline at end of file
--- /dev/null
+./toolkit/taglib.h
\ No newline at end of file
--- /dev/null
+./toolkit/tbytevector.h
\ No newline at end of file
--- /dev/null
+./toolkit/tbytevectorlist.h
\ No newline at end of file
--- /dev/null
+./toolkit/tdebug.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/textidentificationframe.h
\ No newline at end of file
--- /dev/null
+./toolkit/tfile.h
\ No newline at end of file
--- /dev/null
+./toolkit/tlist.h
\ No newline at end of file
--- /dev/null
+toolkit/tlist.tcc
\ No newline at end of file
--- /dev/null
+./toolkit/tmap.h
\ No newline at end of file
--- /dev/null
+toolkit/tmap.tcc
\ No newline at end of file
--- /dev/null
+./trueaudio/trueaudiofile.h
\ No newline at end of file
--- /dev/null
+./trueaudio/trueaudioproperties.h
\ No newline at end of file
--- /dev/null
+./toolkit/tstring.h
\ No newline at end of file
--- /dev/null
+./toolkit/tstringlist.h
\ No newline at end of file
--- /dev/null
+./toolkit/unicode.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/uniquefileidentifierframe.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/unknownframe.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/unsynchronizedlyricsframe.h
\ No newline at end of file
--- /dev/null
+./mpeg/id3v2/frames/urllinkframe.h
\ No newline at end of file
--- /dev/null
+./ogg/vorbis/vorbisfile.h
\ No newline at end of file
--- /dev/null
+./ogg/vorbis/vorbisproperties.h
\ No newline at end of file
--- /dev/null
+./wavpack/wavpackfile.h
\ No newline at end of file
--- /dev/null
+./wavpack/wavpackproperties.h
\ No newline at end of file
--- /dev/null
+./mpeg/xingheader.h
\ No newline at end of file
--- /dev/null
+./ogg/xiphcomment.h
\ No newline at end of file