diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2019-11-25 20:40:05 +0000 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2019-11-25 20:40:05 +0000 |
commit | c9a52c793996667ea51346363ece1ab662269e01 (patch) | |
tree | f10bc324442cd12f8c39d71ec00a4ceac5fabf2a /README.md | |
parent | 769711394e216b27406c144279d83003251bb068 (diff) | |
download | gstreamer-c9a52c793996667ea51346363ece1ab662269e01.tar.gz |
dev environment: update documentation
Add gst-dev.py usage with an external script.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -81,6 +81,12 @@ hack in there and to rebuild you just need to rerun `ninja -C build/`. NOTE: In the development environment, a fully usable prefix is also configured in `gst-build/prefix` where you can install any extra dependency/project. +An external script can be run in development environment with: + +``` +./gst-env.py external_script.sh +``` + ## Update git subprojects We added a special `update` target to update subprojects (it uses `git pull @@ -171,13 +177,17 @@ you can use the `checkout-branch-worktree` script provided by `gst-build`. It al to create a new `gst-build` environment with new checkout of all the GStreamer modules as [git worktrees](https://git-scm.com/docs/git-worktree). -For example to get a fresh checkout of `gst-1.14` from a `gst-build` in master already -built in a `build` directory you can simply run: +For example to get a fresh checkout of `gst-1.14` from a `gst-build` in master **already +built** in a `build` directory you can simply run: ``` -./checkout-branch-worktree ../gst-1.14 1.14 -C build/ +./checkout-branch-worktree ../gst-build-1.14 origin/1.14 -C build/ ``` +This will create a new ``gst-build-1.14`` folder at the same level of ``gst-build`` pointing to the given branch ie *1.14* +for all the subprojects ( gstreamer, gst-plugins-base etc.) + + ## Add information about GStreamer development environment in your prompt line ### Bash prompt @@ -330,4 +340,4 @@ you can run GStreamer tools under wine by running: gst-launch-1.0.exe videotestsrc ! glimagesink ``` -[binfmt]: http://man7.org/linux/man-pages/man5/binfmt.d.5.html
\ No newline at end of file +[binfmt]: http://man7.org/linux/man-pages/man5/binfmt.d.5.html |