Skip to content

Commit

Permalink
wscript: Use INTERNAL_NAME instead of setting I18N_PACKAGE = 'ardour'…
Browse files Browse the repository at this point in the history
… and appending MAJOR
  • Loading branch information
kiilerix committed Oct 23, 2024
1 parent ca7abae commit df52978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions libs/auscan/wscript
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env python
import os

# needed for code used from libardour
I18N_PACKAGE = 'ardour'

def options(opt):
pass

Expand All @@ -19,7 +16,7 @@ def build(bld):
obj.defines = [
'AU_SCANNER_APP',
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
]
Expand Down
7 changes: 2 additions & 5 deletions libs/fst/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import os
import sys
import re

# needed for code used from libardour
I18N_PACKAGE = 'ardour'

def options(opt):
pass

Expand All @@ -22,7 +19,7 @@ def build(bld):
obj.defines = [
'VST3_SCANNER_APP',
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
]
Expand Down Expand Up @@ -64,7 +61,7 @@ def build(bld):
'_POSIX_SOURCE',
'USE_WS_PREFIX',
'VST_SCANNER_APP',
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
]
Expand Down

0 comments on commit df52978

Please sign in to comment.