From 5bdfce09328cc5e1f8e54feea03d9609cd375383 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Thu, 30 Apr 2020 17:49:57 +0300 Subject: [PATCH] Update all build.rs to 1.17 --- gstreamer-app-sys/build.rs | 4 +++- gstreamer-audio-sys/build.rs | 4 +++- gstreamer-base-sys/build.rs | 4 +++- gstreamer-check-sys/build.rs | 4 +++- gstreamer-editing-services-sys/build.rs | 4 +++- gstreamer-gl-sys/build.rs | 4 +++- gstreamer-mpegts-sys/build.rs | 4 +++- gstreamer-net-sys/build.rs | 4 +++- gstreamer-pbutils-sys/build.rs | 4 +++- gstreamer-player-sys/build.rs | 4 +++- gstreamer-rtp-sys/build.rs | 4 +++- gstreamer-rtsp-server-sys/build.rs | 4 +++- gstreamer-rtsp-sys/build.rs | 4 +++- gstreamer-sdp-sys/build.rs | 4 +++- gstreamer-sys/build.rs | 4 +++- gstreamer-tag-sys/build.rs | 4 +++- gstreamer-video-sys/build.rs | 4 +++- gstreamer-webrtc-sys/build.rs | 4 +++- 18 files changed, 54 insertions(+), 18 deletions(-) diff --git a/gstreamer-app-sys/build.rs b/gstreamer-app-sys/build.rs index e0920f350..f39b9ed6d 100644 --- a/gstreamer-app-sys/build.rs +++ b/gstreamer-app-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-app-1.0"; let shared_libs = ["gstapp-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-audio-sys/build.rs b/gstreamer-audio-sys/build.rs index 8702030f6..d731e35d0 100644 --- a/gstreamer-audio-sys/build.rs +++ b/gstreamer-audio-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-audio-1.0"; let shared_libs = ["gstaudio-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-base-sys/build.rs b/gstreamer-base-sys/build.rs index 66d722062..c1108d8c8 100644 --- a/gstreamer-base-sys/build.rs +++ b/gstreamer-base-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-base-1.0"; let shared_libs = ["gstbase-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14_3") { "1.14.3" diff --git a/gstreamer-check-sys/build.rs b/gstreamer-check-sys/build.rs index 2ffbcad89..cc4fa5db8 100644 --- a/gstreamer-check-sys/build.rs +++ b/gstreamer-check-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-check-1.0"; let shared_libs = ["gstcheck-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-editing-services-sys/build.rs b/gstreamer-editing-services-sys/build.rs index e0dcf0c4c..08e1061c7 100644 --- a/gstreamer-editing-services-sys/build.rs +++ b/gstreamer-editing-services-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gst-editing-services-1.0"; let shared_libs = ["ges-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-gl-sys/build.rs b/gstreamer-gl-sys/build.rs index 4536cd7d6..d4cae1dd8 100644 --- a/gstreamer-gl-sys/build.rs +++ b/gstreamer-gl-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-gl-1.0"; let shared_libs = ["gstgl-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else { "1.14" diff --git a/gstreamer-mpegts-sys/build.rs b/gstreamer-mpegts-sys/build.rs index 1678b7821..e8dbc0b4b 100644 --- a/gstreamer-mpegts-sys/build.rs +++ b/gstreamer-mpegts-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-mpegts-1.0"; let shared_libs = ["gstmpegts-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-net-sys/build.rs b/gstreamer-net-sys/build.rs index afbb1b34e..56247a485 100644 --- a/gstreamer-net-sys/build.rs +++ b/gstreamer-net-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-net-1.0"; let shared_libs = ["gstnet-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-pbutils-sys/build.rs b/gstreamer-pbutils-sys/build.rs index 17fee14d6..139b40b10 100644 --- a/gstreamer-pbutils-sys/build.rs +++ b/gstreamer-pbutils-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-pbutils-1.0"; let shared_libs = ["gstpbutils-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-player-sys/build.rs b/gstreamer-player-sys/build.rs index 7d0523b09..c135c26f5 100644 --- a/gstreamer-player-sys/build.rs +++ b/gstreamer-player-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-player-1.0"; let shared_libs = ["gstplayer-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-rtp-sys/build.rs b/gstreamer-rtp-sys/build.rs index 122b7b175..513331d5e 100644 --- a/gstreamer-rtp-sys/build.rs +++ b/gstreamer-rtp-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-rtp-1.0"; let shared_libs = ["gstrtp-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-rtsp-server-sys/build.rs b/gstreamer-rtsp-server-sys/build.rs index a9ad3cca0..5e4b7dd2e 100644 --- a/gstreamer-rtsp-server-sys/build.rs +++ b/gstreamer-rtsp-server-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-rtsp-server-1.0"; let shared_libs = ["gstrtspserver-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-rtsp-sys/build.rs b/gstreamer-rtsp-sys/build.rs index fc06461bd..69e22c0ad 100644 --- a/gstreamer-rtsp-sys/build.rs +++ b/gstreamer-rtsp-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-rtsp-1.0"; let shared_libs = ["gstrtsp-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-sdp-sys/build.rs b/gstreamer-sdp-sys/build.rs index 806f65b2b..d99399ae2 100644 --- a/gstreamer-sdp-sys/build.rs +++ b/gstreamer-sdp-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-sdp-1.0"; let shared_libs = ["gstsdp-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-sys/build.rs b/gstreamer-sys/build.rs index 2801c5993..4eac0caf6 100644 --- a/gstreamer-sys/build.rs +++ b/gstreamer-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-1.0"; let shared_libs = ["gstreamer-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-tag-sys/build.rs b/gstreamer-tag-sys/build.rs index 8161b2c77..41dec5dd5 100644 --- a/gstreamer-tag-sys/build.rs +++ b/gstreamer-tag-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-tag-1.0"; let shared_libs = ["gsttag-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-video-sys/build.rs b/gstreamer-video-sys/build.rs index 28d3ecb41..2ef012cbc 100644 --- a/gstreamer-video-sys/build.rs +++ b/gstreamer-video-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-video-1.0"; let shared_libs = ["gstvideo-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else if cfg!(feature = "v1_14") { "1.14" diff --git a/gstreamer-webrtc-sys/build.rs b/gstreamer-webrtc-sys/build.rs index b87522566..fa516ce34 100644 --- a/gstreamer-webrtc-sys/build.rs +++ b/gstreamer-webrtc-sys/build.rs @@ -31,7 +31,9 @@ fn main() { fn find() -> Result<(), Error> { let package_name = "gstreamer-webrtc-1.0"; let shared_libs = ["gstwebrtc-1.0"]; - let version = if cfg!(feature = "v1_16") { + let version = if cfg!(feature = "v1_18") { + "1.17" + } else if cfg!(feature = "v1_16") { "1.16" } else { "1.14"