Commit 5bdfce09 authored by Vivia Nikolaidou's avatar Vivia Nikolaidou 🦆 Committed by Sebastian Dröge

Update all build.rs to 1.17

parent 7cefac11
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment