mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +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:
|
||||
|
||||
```
|
||||
$ 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
|
||||
```
|
||||
|
||||
|
@ -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:
|
||||
|
||||
```
|
||||
$ cargo cbuild --manifest-path video/cdg/Cargo.toml --prefix=/usr
|
||||
$ cargo cinstall --manifest-path video/cdg/Cargo.toml --prefix=/usr
|
||||
$ cargo cbuild -p gst-plugin-cdg --prefix=/usr
|
||||
$ cargo cinstall -p gst-plugin-cdg --prefix=/usr
|
||||
```
|
||||
|
||||
This will install the plugin to `/usr/lib/gstreamer-1.0`.
|
||||
|
|
|
@ -34,7 +34,7 @@ static = ["gst/v1_14"]
|
|||
capi = []
|
||||
|
||||
[package.metadata.capi]
|
||||
min_version = "0.8.0"
|
||||
min_version = "0.9.3"
|
||||
|
||||
[package.metadata.capi.header]
|
||||
enabled = false
|
||||
|
|
Loading…
Reference in a new issue