Cleanup root directory from misc files
authorThibault Saunier <tsaunier@igalia.com>
Sat, 31 Oct 2020 02:51:16 +0000 (23:51 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 24 Sep 2021 19:21:18 +0000 (16:21 -0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>

data/misc/cmd_or_ps.ps1 [moved from cmd_or_ps.ps1 with 100% similarity]
data/misc/gstreamer-full-default.map [moved from gstreamer-full-default.map with 100% similarity]
gst-env.py
meson_options.txt

similarity index 100%
rename from cmd_or_ps.ps1
rename to data/misc/cmd_or_ps.ps1
index df3e402..94dba9b 100755 (executable)
@@ -458,8 +458,9 @@ def get_subprocess_env(options, gst_version):
     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__":
index 818855a..1fa3c6d 100644 (file)
@@ -21,7 +21,7 @@ option('qt5', type : 'feature', value : 'auto', description : 'Qt5 Support')
 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.''')