`gstreamer/`. Otherwise they will be present in `subprojects/`. You can simply
hack in there and to rebuild you just need to rerun `ninja -C build/`.
+NOTE: In the uninstalled environment, a fully usable prefix is also configured
+in `gst-build/prefix` where you can install any extra dependency/project.
+
## Update git subprojects
We added a special `update` target to update subprojects (it uses `git pull
from common import get_meson
SCRIPTDIR = os.path.abspath(os.path.dirname(__file__))
+PREFIX_DIR = os.path.join(SCRIPTDIR, 'prefix')
def prepend_env_var(env, var, value):
prepend_env_var(env, "GST_PLUGIN_PATH", os.path.join(SCRIPTDIR, 'subprojects',
'gst-python', 'plugin'))
+ prepend_env_var(env, "GST_PLUGIN_PATH", os.path.join(PREFIX_DIR, 'lib',
+ 'gstreamer-1.0'))
+ prepend_env_var(env, "PATH", os.path.join(PREFIX_DIR, 'bin'))
+ prepend_env_var(env, lib_path_envvar, os.path.join(PREFIX_DIR, 'lib'))
+ prepend_env_var(env, "GST_VALIDATE_SCENARIOS_PATH", os.path.join(
+ PREFIX_DIR, 'share', 'gstreamer-1.0', 'validate', 'scenarios'))
+ prepend_env_var(env, "GI_TYPELIB_PATH", os.path.join(PREFIX_DIR, 'lib',
+ 'lib', 'girepository-1.0'))
meson, mesonconf, mesonintrospect = get_meson()
targets_s = subprocess.check_output([sys.executable, mesonintrospect, options.builddir, '--targets'])