Browse Source

Commit jack-1.9.5-waf-script-firewire-freebob-alsa-options.patch, close Ticket #159.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3919 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.6
sletz 15 years ago
parent
commit
1ddb418fab
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      wscript

+ 13
- 1
wscript View File

@@ -69,7 +69,10 @@ def set_options(opt):
opt.add_option('--mixed', action='store_true', default=False, help='Build with 32/64 bits mixed mode')
opt.add_option('--clients', default=64, type="int", dest="clients", help='Maximum number of JACK clients')
opt.add_option('--ports-per-application', default=768, type="int", dest="application_ports", help='Maximum number of ports per application')
opt.add_option('--debug', action='store_true', default=False, dest='debug', help="Build debuggable binaries")
opt.add_option('--debug', action='store_true', default=False, dest='debug', help='Build debuggable binaries')
opt.add_option('--firewire', action='store_true', default=False, help='Enable FireWire driver (FFADO)')
opt.add_option('--freebob', action='store_true', default=False, help='Enable FreeBob driver')
opt.add_option('--alsa', action='store_true', default=False, help='Enable ALSA driver')
opt.sub_options('dbus')

def configure(conf):
@@ -110,6 +113,15 @@ def configure(conf):
conf.sub_config('common')
if conf.env['IS_LINUX']:
conf.sub_config('linux')
if Options.options.alsa and not conf.env['BUILD_DRIVER_ALSA']:
conf.fatal('ALSA driver was explicitly requested but cannot be built')
if Options.options.freebob and not conf.env['BUILD_DRIVER_FREEBOB']:
conf.fatal('FreeBob driver was explicitly requested but cannot be built')
if Options.options.firewire and not conf.env['BUILD_DRIVER_FFADO']:
conf.fatal('FFADO driver was explicitly requested but cannot be built')
conf.env['BUILD_DRIVER_ALSA'] = Options.options.alsa
conf.env['BUILD_DRIVER_FFADO'] = Options.options.firewire
conf.env['BUILD_DRIVER_FREEBOB'] = Options.options.freebob
if Options.options.dbus:
conf.sub_config('dbus')
if conf.env['BUILD_JACKDBUS'] != True:


Loading…
Cancel
Save