Skip to content

Commit

Permalink
fix cargo.toml for deb pacakge generation
Browse files Browse the repository at this point in the history
  • Loading branch information
slabajo committed Sep 5, 2024
1 parent 1c9fe11 commit 9bc8d5c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/gst-plugins-rs/debian.diff
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 4c275d4c..230ab7e0 100644
+++ b/net/rtp/Cargo.toml
@@ -9,15 +9,35 @@ description = "GStreamer Rust RTP Plugin"
rust-version.workspace = true

[dependencies]
-bitstream-io = "2.0"
-gst = { workspace = true, features = ["v1_20"] }
Expand Down Expand Up @@ -35,16 +35,16 @@ index 4c275d4c..230ab7e0 100644
+time = { version = "0.3", default-features = false, features = ["std"] }
+# TODO: experiment with other async executors (mio, async-std, etc)
+tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "time", "sync"] }

[dev-dependencies]
gst-check = { workspace = true, features = ["v1_20"] }
+gst-app = { workspace = true, features = ["v1_20"] }

[build-dependencies]
gst-plugin-version-helper.workspace = true
@@ -44,4 +64,15 @@ versioning = false
import_library = false

[package.metadata.capi.pkg_config]
-requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-rtp-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
+requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-rtp-1.0, gstreamer-net-1.0, gstreamer-video-1.0 gobject-2.0, glib-2.0, gmodule-2.0, gio-2.0"
Expand All @@ -57,5 +57,5 @@ index 4c275d4c..230ab7e0 100644
+section = "utility"
+priority = "optional"
+assets = [
+ ["target/release/libgstrsrtp.so", "usr/lib/x86_64-linux-gnu/gstreamer-1.0/", "755"],
+]
+ ["/build/deb-source/libgstrsrtp.so", "usr/lib/x86_64-linux-gnu/gstreamer-1.0/", "755"],
+]

0 comments on commit 9bc8d5c

Please sign in to comment.