mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix bindings generation process for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@10226 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5c997a7551
commit
20de2657a4
2 changed files with 2 additions and 2 deletions
|
|
@ -596,7 +596,7 @@ def build(bld):
|
||||||
obj = bld(
|
obj = bld(
|
||||||
target = b + '.bindings',
|
target = b + '.bindings',
|
||||||
source = b + '.bindings.in',
|
source = b + '.bindings.in',
|
||||||
rule = '../tools/fmt-bindings --winkey="%s" --accelmap <${SRC} >${TGT}' % bld.env['WINDOWS_KEY']
|
rule = '../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap <${SRC} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
|
||||||
)
|
)
|
||||||
obj.install_path = os.path.join(bld.env['SYSCONFDIR'], 'ardour3')
|
obj.install_path = os.path.join(bld.env['SYSCONFDIR'], 'ardour3')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ GetOptions ("platform=s" => \$platform,
|
||||||
"accelmap" => \$make_accelmap,
|
"accelmap" => \$make_accelmap,
|
||||||
"merge=s" => \$merge_from);
|
"merge=s" => \$merge_from);
|
||||||
|
|
||||||
if ($platform eq "osx") {
|
if ($platform eq "darwin") {
|
||||||
|
|
||||||
$gtk_modifier_map{'PRIMARY'} = 'meta';
|
$gtk_modifier_map{'PRIMARY'} = 'meta';
|
||||||
$gtk_modifier_map{'SECONDARY'} = 'Mod1';
|
$gtk_modifier_map{'SECONDARY'} = 'Mod1';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue