summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
committerDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
commitd1678ff80fe301569215904fcd886f257136b062 (patch)
tree114aecfbd5a9697d76ccd3941103004b5722534a /wscript
parent96442dec20443f41ba75e599fe89eb5dd338919a (diff)
downloadpatchage-d1678ff80fe301569215904fcd886f257136b062.tar.gz
patchage-d1678ff80fe301569215904fcd886f257136b062.tar.bz2
patchage-d1678ff80fe301569215904fcd886f257136b062.zip
Support port pretty names via new Jack metadata API.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index 378d95f..8df049e 100644
--- a/wscript
+++ b/wscript
@@ -84,6 +84,11 @@ def configure(conf):
autowaf.define(conf, 'PATCHAGE_LIBJACK', 1)
if not Options.options.no_jack_session:
autowaf.define(conf, 'PATCHAGE_JACK_SESSION', 1)
+ conf.check(function_name='jack_get_property',
+ header_name='jack/metadata.h',
+ define_name='HAVE_JACK_METADATA',
+ uselib='JACK',
+ mandatory=False)
# Use Alsa if present unless --no-alsa
if not Options.options.no_alsa:
@@ -113,6 +118,7 @@ def configure(conf):
autowaf.display_msg(conf, "Jack (D-Bus)", conf.is_defined('HAVE_JACK_DBUS'))
autowaf.display_msg(conf, "Jack (libjack)", conf.is_defined('PATCHAGE_LIBJACK'))
autowaf.display_msg(conf, "Jack Session", conf.is_defined('PATCHAGE_JACK_SESSION'))
+ autowaf.display_msg(conf, "Jack Metadata", conf.is_defined('HAVE_JACK_METADATA'))
autowaf.display_msg(conf, "Alsa Sequencer", conf.is_defined('HAVE_ALSA'))
if Options.platform == 'darwin':
autowaf.display_msg(conf, "Mac Integration", conf.is_defined('HAVE_GTK_OSX'))