Update all build.rs to 1.17

This commit is contained in:
Vivia Nikolaidou 2020-04-30 17:49:57 +03:00 committed by Sebastian Dröge
parent 7cefac11e5
commit 5bdfce0932
18 changed files with 54 additions and 18 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"