From 69ec13c9c01832eae5435b0e26af0c937dd008b0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 Feb 2011 19:06:04 +0000 Subject: [PATCH] use PROGRAM_NAME to define fixed MIDI port names in ardour_system.rc git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8707 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 3 +++ ardour.rc.in | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 8bc6e00bc9..173a646fed 100644 --- a/SConstruct +++ b/SConstruct @@ -1035,6 +1035,9 @@ else: print "It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries." sys.exit (1) +pname = env['PROGRAM_NAME'] +subst_dict['%MIDI_DEVICE_NAME%'] = pname.lower() + env = conf.Finish() if env['GTKOSX']: diff --git a/ardour.rc.in b/ardour.rc.in index bd692fa5a0..4003c18ca3 100644 --- a/ardour.rc.in +++ b/ardour.rc.in @@ -1,8 +1,8 @@ - - - + + +