mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
YTK is no longer optional
Since the addition of the touch-API, Ardour is no longer compatible with upstream gtk2.
This commit is contained in:
parent
fdfdde093d
commit
1e28ee9cc9
9 changed files with 46 additions and 84 deletions
|
|
@ -258,20 +258,16 @@ def options(opt):
|
|||
pass
|
||||
|
||||
def configure(conf):
|
||||
if conf.is_defined('YTK'):
|
||||
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'pango', uselib_store='PANGO', atleast_version='1.20', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'pangocairo', uselib_store='PANGOCAIRO', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'gmodule-2.0', uselib_store='GMODULE', mandatory=True)
|
||||
if conf.env['build_target'] != 'mingw' and sys.platform != 'darwin': # Linux
|
||||
autowaf.check_pkg(conf, 'x11', uselib_store='X11', system=True, mandatory=True)
|
||||
autowaf.check_pkg(conf, 'xext', uselib_store='XEXT', system=True, mandatory=True)
|
||||
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'pango', uselib_store='PANGO', atleast_version='1.20', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'cairo', uselib_store='CAIRO', atleast_version='1.12', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'pangocairo', uselib_store='PANGOCAIRO', mandatory=True)
|
||||
autowaf.check_pkg(conf, 'gmodule-2.0', uselib_store='GMODULE', mandatory=True)
|
||||
if conf.env['build_target'] != 'mingw' and sys.platform != 'darwin': # Linux
|
||||
autowaf.check_pkg(conf, 'x11', uselib_store='X11', system=True, mandatory=True)
|
||||
autowaf.check_pkg(conf, 'xext', uselib_store='XEXT', system=True, mandatory=True)
|
||||
|
||||
def build(bld):
|
||||
if not bld.is_defined('YTK'):
|
||||
return
|
||||
|
||||
obj = bld.shlib(features = 'c cshlib')
|
||||
obj.cflags = [ bld.env['compiler_flags_dict']['pic'], '-w' ]
|
||||
obj.export_includes = ['ytk']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue