diff options
Diffstat (limited to 'media-libs/libffado/files/libffado-2.0.0-fix-scons-options.patch')
-rw-r--r-- | media-libs/libffado/files/libffado-2.0.0-fix-scons-options.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libffado/files/libffado-2.0.0-fix-scons-options.patch b/media-libs/libffado/files/libffado-2.0.0-fix-scons-options.patch new file mode 100644 index 0000000..4d71fa3 --- /dev/null +++ b/media-libs/libffado/files/libffado-2.0.0-fix-scons-options.patch @@ -0,0 +1,58 @@ +--- SConstruct 2009-12-08 19:08:47.000000000 +0100 ++++ SConstruct 2009-12-23 15:04:40.000000000 +0100 +@@ -35,35 +35,35 @@ + if not os.path.isdir( "cache" ): + os.makedirs( "cache" ) + +-opts = Options( "cache/options.cache" ) ++opts = Variables( "cache/options.cache" ) + +-opts.AddOptions( +- BoolOption( "DEBUG", """\ ++opts.AddVariables( ++ BoolVariable( "DEBUG", """\ + Toggle debug-build. DEBUG means \"-g -Wall\" and more, otherwise we will use + \"-O2\" to optimize.""", False ), +- BoolOption( "PROFILE", "Build with symbols and other profiling info", False ), +- PathOption( "PREFIX", "The prefix where ffado will be installed to.", "/usr/local", PathOption.PathAccept ), +- PathOption( "BINDIR", "Overwrite the directory where apps are installed to.", "$PREFIX/bin", PathOption.PathAccept ), +- PathOption( "LIBDIR", "Overwrite the directory where libs are installed to.", "$PREFIX/lib", PathOption.PathAccept ), +- PathOption( "INCLUDEDIR", "Overwrite the directory where headers are installed to.", "$PREFIX/include", PathOption.PathAccept ), +- PathOption( "SHAREDIR", "Overwrite the directory where misc shared files are installed to.", "$PREFIX/share/libffado", PathOption.PathAccept ), +- BoolOption( "ENABLE_BEBOB", "Enable/Disable the bebob part.", True ), +- BoolOption( "ENABLE_FIREWORKS", "Enable/Disable the ECHO Audio FireWorks AV/C part.", True ), +- BoolOption( "ENABLE_MOTU", "Enable/Disable the MOTU part.", True ), +- BoolOption( "ENABLE_GENERICAVC", """\ ++ BoolVariable( "PROFILE", "Build with symbols and other profiling info", False ), ++ PathVariable( "PREFIX", "The prefix where ffado will be installed to.", "/usr/local", PathVariable.PathAccept ), ++ PathVariable( "BINDIR", "Overwrite the directory where apps are installed to.", "$PREFIX/bin", PathVariable.PathAccept ), ++ PathVariable( "LIBDIR", "Overwrite the directory where libs are installed to.", "$PREFIX/lib", PathVariable.PathAccept ), ++ PathVariable( "INCLUDEDIR", "Overwrite the directory where headers are installed to.", "$PREFIX/include", PathVariable.PathAccept ), ++ PathVariable( "SHAREDIR", "Overwrite the directory where misc shared files are installed to.", "$PREFIX/share/libffado", PathVariable.PathAccept ), ++ BoolVariable( "ENABLE_BEBOB", "Enable/Disable the bebob part.", True ), ++ BoolVariable( "ENABLE_FIREWORKS", "Enable/Disable the ECHO Audio FireWorks AV/C part.", True ), ++ BoolVariable( "ENABLE_MOTU", "Enable/Disable the MOTU part.", True ), ++ BoolVariable( "ENABLE_GENERICAVC", """\ + Enable/Disable the the generic avc part (mainly used by apple). + Note that disabling this option might be overwritten by other devices needing + this code.""", False ), +- BoolOption( "ENABLE_ALL", "Enable/Disable support for all devices.", False ), +- BoolOption( "SERIALIZE_USE_EXPAT", "Use libexpat for XML serialization.", False ), +- BoolOption( "BUILD_TESTS", """\ ++ BoolVariable( "ENABLE_ALL", "Enable/Disable support for all devices.", False ), ++ BoolVariable( "SERIALIZE_USE_EXPAT", "Use libexpat for XML serialization.", False ), ++ BoolVariable( "BUILD_TESTS", """\ + Build the tests in their directory. As some contain quite some functionality, + this is on by default. + If you just want to use ffado with jack without the tools, you can disable this.\ + """, True ), +- BoolOption( "BUILD_STATIC_TOOLS", "Build a statically linked version of the FFADO tools.", False ), +- EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'powerpc64', 'none' ), ignorecase=2), +- BoolOption( "ENABLE_OPTIMIZATIONS", "Enable optimizations and the use of processor specific extentions (MMX/SSE/...).", False ), ++ BoolVariable( "BUILD_STATIC_TOOLS", "Build a statically linked version of the FFADO tools.", False ), ++ EnumVariable('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'powerpc64', 'none' ), ignorecase=2), ++ BoolVariable( "ENABLE_OPTIMIZATIONS", "Enable optimizations and the use of processor specific extentions (MMX/SSE/...).", False ), + + ) + + |