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:
Robin Gareus 2025-02-01 11:57:35 +01:00
parent fdfdde093d
commit 1e28ee9cc9
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
9 changed files with 46 additions and 84 deletions

View file

@ -37,14 +37,10 @@ def options(opt):
pass
def configure(conf):
if conf.is_defined('YTK'):
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0', mandatory=True)
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0', mandatory=True)
def build(bld):
if not bld.is_defined('YTK'):
return
obj = bld.shlib(features = 'cxx cxxshlib', source=libztkmm_sources)
obj.cxxflags = [ bld.env['compiler_flags_dict']['pic'], '-w' ]
obj.cflags = [ bld.env['compiler_flags_dict']['pic'], '-w' ]