mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-01 16:01:01 +00:00
README: newer cargo-c can now take the workspace name
Easier to use than the manifest path.
This commit is contained in:
parent
6111d0f4ed
commit
97f45a0f77
2 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ $ cargo install cargo-c
|
||||||
Then you can easily build and test a specific plugin:
|
Then you can easily build and test a specific plugin:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cargo cbuild --manifest-path video/cdg/Cargo.toml
|
$ cargo cbuild -p gst-plugin-cdg
|
||||||
$ GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec
|
$ GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -109,8 +109,8 @@ Replace `x86_64-unknown-linux-gnu` with your system's Rust target triple (`rustc
|
||||||
The plugin can also be installed system-wide:
|
The plugin can also be installed system-wide:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cargo cbuild --manifest-path video/cdg/Cargo.toml --prefix=/usr
|
$ cargo cbuild -p gst-plugin-cdg --prefix=/usr
|
||||||
$ cargo cinstall --manifest-path video/cdg/Cargo.toml --prefix=/usr
|
$ cargo cinstall -p gst-plugin-cdg --prefix=/usr
|
||||||
```
|
```
|
||||||
|
|
||||||
This will install the plugin to `/usr/lib/gstreamer-1.0`.
|
This will install the plugin to `/usr/lib/gstreamer-1.0`.
|
||||||
|
|
|
@ -34,7 +34,7 @@ static = ["gst/v1_14"]
|
||||||
capi = []
|
capi = []
|
||||||
|
|
||||||
[package.metadata.capi]
|
[package.metadata.capi]
|
||||||
min_version = "0.8.0"
|
min_version = "0.9.3"
|
||||||
|
|
||||||
[package.metadata.capi.header]
|
[package.metadata.capi.header]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
|
Loading…
Reference in a new issue