return env
def get_windows_shell():
- command = ['powershell.exe' ,'-noprofile', '-executionpolicy', 'bypass', '-file', 'cmd_or_ps.ps1']
- result = subprocess.check_output(command, cwd=SCRIPTDIR)
+ command = ['powershell.exe' ,'-noprofile', '-executionpolicy', 'bypass', '-file',
+ os.path.join(SCRIPTDIR, 'data', 'misc', 'cmd_or_ps.ps1')]
+ result = subprocess.check_output(command)
return result.decode().strip()
if __name__ == "__main__":
option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
option('gst-full-libraries', type : 'array', value : [],
description : '''List of libraries to expose in gstreamer-full's ABI. gstreamer, glib and gobject are always included.''')
-option('gst-full-version-script', type : 'string', value: 'gstreamer-full-default.map',
+option('gst-full-version-script', type : 'string', value: 'data/misc/gstreamer-full-default.map',
description : 'path of the version script to be used by the linker, see https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html')
option('gst-full-plugins', type : 'string', value : '*',
description : '''List of plugins to expose in gstreamer-full's ABI with the syntax plugin1;plugin2. By default '*' will export all plugins enabled by the build process.''')