mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Put duplicate code of a-comp and a-expander into one file ...
... for better maintainability consolidated duplicate code: * drawing the dB-grid of a-comp's and a-expander's full display * drawing the gain reduction bar of a-comp's and a-expander's full display * the entire only-bars display
This commit is contained in:
parent
0c64eacef5
commit
18511f851e
5 changed files with 232 additions and 340 deletions
|
|
@ -18,7 +18,7 @@ def configure(conf):
|
|||
if Options.options.lv2:
|
||||
autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0',
|
||||
uselib_store='LV2_1_0_0')
|
||||
autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12.0')
|
||||
autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12.0')
|
||||
|
||||
def build(bld):
|
||||
bundle = 'a-comp.lv2'
|
||||
|
|
@ -40,7 +40,7 @@ def build(bld):
|
|||
source = 'a-comp.c',
|
||||
name = 'a-comp',
|
||||
cflags = [ '-fPIC', bld.env['compiler_flags_dict']['c99'] ],
|
||||
includes = [ '../../ardour' ],
|
||||
includes = [ '../../ardour', '../shared' ],
|
||||
target = '../../LV2/%s/a-comp' % bundle,
|
||||
install_path = '${LV2DIR}/%s' % bundle,
|
||||
uselib = 'CAIRO',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue