Move net/quic to net/quinn

While at it, add this to meson.build.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1036>
This commit is contained in:
Sanchayan Maity 2024-05-01 18:12:12 +05:30
parent 18cf5292b7
commit 0d2f054c15
13 changed files with 10 additions and 8 deletions

2
Cargo.lock generated
View file

@ -2642,7 +2642,7 @@ dependencies = [
]
[[package]]
name = "gst-plugin-quic"
name = "gst-plugin-quinn"
version = "0.13.0-alpha.1"
dependencies = [
"bytes",

View file

@ -34,7 +34,7 @@ members = [
"net/webrtc",
"net/webrtc/protocol",
"net/webrtc/signalling",
"net/quic",
"net/quinn",
"text/ahead",
"text/json",

View file

@ -205,6 +205,7 @@ plugins = {
'extra-deps': {'cairo-gobject': []},
},
'gopbuffer': {'library': 'libgstgopbuffer'},
'quinn': {'library': 'libgstquinn'},
}
if get_option('examples').allowed()

View file

@ -34,6 +34,7 @@ option('rtsp', type: 'feature', value: 'auto', description: 'Build rtsp plugin')
option('rtp', type: 'feature', value: 'auto', description: 'Build rtp plugin')
option('webrtc', type: 'feature', value: 'auto', yield: true, description: 'Build webrtc plugin')
option('webrtchttp', type: 'feature', value: 'auto', description: 'Build webrtchttp plugin')
option('quinn', type: 'feature', value: 'auto', description: 'Build quinn plugin')
# text
option('textahead', type: 'feature', value: 'auto', description: 'Build textahead plugin')

View file

@ -1,5 +1,5 @@
[package]
name = "gst-plugin-quic"
name = "gst-plugin-quinn"
version.workspace = true
authors = ["Sanchayan Maity <sanchayan@asymptotic.io"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
@ -28,7 +28,7 @@ gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org
serial_test = "3"
[lib]
name = "gstquic"
name = "gstquinn"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
required-features = ["tls-rustls"]

View file

@ -9,9 +9,9 @@
#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
/**
* plugin-quic:
* plugin-quinn:
*
* Since: plugins-rs-0.11.0
* Since: plugins-rs-0.13.0
*/
use gst::glib;
mod quinnquicsink;
@ -26,7 +26,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
}
gst::plugin_define!(
quic,
quinn,
env!("CARGO_PKG_DESCRIPTION"),
plugin_init,
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),

View file

@ -17,7 +17,7 @@ fn init() {
INIT.call_once(|| {
gst::init().unwrap();
gstquic::plugin_register_static().expect("QUIC source sink send receive tests");
gstquinn::plugin_register_static().expect("QUIC source sink send receive tests");
});
}