Add support for PreSonus Faderport2 (2018 model)

This is a cleaned-up, foward-ported version of Ben's
Mixbus patch (d6694c5b31).
This commit is contained in:
Ben Loftis
2018-07-31 14:46:20 +02:00
committed by Robin Gareus
parent 506a42daf3
commit 948834bb1e
14 changed files with 314 additions and 24 deletions

View File

@@ -47,5 +47,18 @@ def build(bld):
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
obj = bld(features = 'cxx cxxshlib')
obj.source = list(fp8_16_sources)
obj.source += [ 'faderport2_interface.cc' ]
obj.defines = [ 'PACKAGE="ardour_faderport8"' ]
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
obj.defines += [ 'FADERPORT2' ]
obj.includes = [ '.' ]
obj.name = 'libardour_faderport2'
obj.target = 'ardour_faderport2'
obj.uselib = 'GTKMM GTK GDK XML'
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces')
def shutdown():
autowaf.shutdown()