Skip to content

Commit df52978

Browse files
committed
wscript: Use INTERNAL_NAME instead of setting I18N_PACKAGE = 'ardour' and appending MAJOR
1 parent ca7abae commit df52978

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

libs/auscan/wscript

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/env python
22
import os
33

4-
# needed for code used from libardour
5-
I18N_PACKAGE = 'ardour'
6-
74
def options(opt):
85
pass
96

@@ -19,7 +16,7 @@ def build(bld):
1916
obj.defines = [
2017
'AU_SCANNER_APP',
2118
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
22-
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
19+
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
2320
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
2421
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
2522
]

libs/fst/wscript

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import os
33
import sys
44
import re
55

6-
# needed for code used from libardour
7-
I18N_PACKAGE = 'ardour'
8-
96
def options(opt):
107
pass
118

@@ -22,7 +19,7 @@ def build(bld):
2219
obj.defines = [
2320
'VST3_SCANNER_APP',
2421
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
25-
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
22+
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
2623
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
2724
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
2825
]
@@ -64,7 +61,7 @@ def build(bld):
6461
'_POSIX_SOURCE',
6562
'USE_WS_PREFIX',
6663
'VST_SCANNER_APP',
67-
'PACKAGE="' + I18N_PACKAGE + bld.env['MAJOR'] + '"',
64+
'PACKAGE="' + bld.env['INTERNAL_NAME'] + '"',
6865
'LIBARDOUR="' + bld.env['INTERNAL_NAME'] + '"',
6966
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
7067
]

0 commit comments

Comments
 (0)