From 089abdb5d4fc31cc59b879257751c53c567f45e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 11 Aug 2021 20:51:36 +0300 Subject: [PATCH] Add capi feature to all plugin crates This fixes the build with cargo-c 0.9.2. --- audio/audiofx/Cargo.toml | 1 + audio/claxon/Cargo.toml | 1 + audio/csound/Cargo.toml | 1 + audio/lewton/Cargo.toml | 1 + generic/file/Cargo.toml | 1 + generic/sodium/Cargo.toml | 1 + generic/threadshare/Cargo.toml | 1 + net/reqwest/Cargo.toml | 1 + net/rusoto/Cargo.toml | 1 + text/json/Cargo.toml | 1 + text/regex/Cargo.toml | 1 + text/wrap/Cargo.toml | 1 + utils/fallbackswitch/Cargo.toml | 1 + utils/togglerecord/Cargo.toml | 1 + video/cdg/Cargo.toml | 1 + video/closedcaption/Cargo.toml | 1 + video/dav1d/Cargo.toml | 1 + video/flavors/Cargo.toml | 1 + video/gif/Cargo.toml | 1 + video/hsv/Cargo.toml | 3 ++- video/rav1e/Cargo.toml | 1 + video/rspng/Cargo.toml | 1 + video/webp/Cargo.toml | 1 + 23 files changed, 24 insertions(+), 1 deletion(-) diff --git a/audio/audiofx/Cargo.toml b/audio/audiofx/Cargo.toml index 92d390d8..ec6b6159 100644 --- a/audio/audiofx/Cargo.toml +++ b/audio/audiofx/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] static = [] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/audio/claxon/Cargo.toml b/audio/claxon/Cargo.toml index d7194fc5..e06b5cea 100644 --- a/audio/claxon/Cargo.toml +++ b/audio/claxon/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/audio/csound/Cargo.toml b/audio/csound/Cargo.toml index 7d7f7cba..8f3d80bd 100644 --- a/audio/csound/Cargo.toml +++ b/audio/csound/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { version = "0.7.0", path = "../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/audio/lewton/Cargo.toml b/audio/lewton/Cargo.toml index de987338..8fa4a504 100644 --- a/audio/lewton/Cargo.toml +++ b/audio/lewton/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/generic/file/Cargo.toml b/generic/file/Cargo.toml index e9d47913..6d304cab 100644 --- a/generic/file/Cargo.toml +++ b/generic/file/Cargo.toml @@ -24,6 +24,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/generic/sodium/Cargo.toml b/generic/sodium/Cargo.toml index 07697d8b..16bed311 100644 --- a/generic/sodium/Cargo.toml +++ b/generic/sodium/Cargo.toml @@ -58,6 +58,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml index bf493f2f..1c4142fe 100644 --- a/generic/threadshare/Cargo.toml +++ b/generic/threadshare/Cargo.toml @@ -52,6 +52,7 @@ pkg-config = "0.3.15" [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/net/reqwest/Cargo.toml b/net/reqwest/Cargo.toml index f321fbaa..aa3fdd50 100644 --- a/net/reqwest/Cargo.toml +++ b/net/reqwest/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/net/rusoto/Cargo.toml b/net/rusoto/Cargo.toml index 20cf55ee..b9a7cbe3 100644 --- a/net/rusoto/Cargo.toml +++ b/net/rusoto/Cargo.toml @@ -42,6 +42,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml index f017c51d..2c13d4aa 100644 --- a/text/json/Cargo.toml +++ b/text/json/Cargo.toml @@ -32,6 +32,7 @@ package="gstreamer-check" default = ["gst/ser_de"] # GStreamer 1.14 is required for static linking static = ["default", "gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/text/regex/Cargo.toml b/text/regex/Cargo.toml index d47d5120..b388d793 100644 --- a/text/regex/Cargo.toml +++ b/text/regex/Cargo.toml @@ -31,6 +31,7 @@ package="gstreamer-check" [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index b9d85a46..18fdd4bd 100644 --- a/text/wrap/Cargo.toml +++ b/text/wrap/Cargo.toml @@ -31,6 +31,7 @@ package="gstreamer-check" [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/utils/fallbackswitch/Cargo.toml b/utils/fallbackswitch/Cargo.toml index a02d6702..4ed0ebde 100644 --- a/utils/fallbackswitch/Cargo.toml +++ b/utils/fallbackswitch/Cargo.toml @@ -42,6 +42,7 @@ v1_18 = ["gst-base/v1_18"] v1_20 = ["v1_18", "gst/v1_20"] # We already use 1.14 which is new enough for static build static = [] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/utils/togglerecord/Cargo.toml b/utils/togglerecord/Cargo.toml index 08739330..41de016c 100644 --- a/utils/togglerecord/Cargo.toml +++ b/utils/togglerecord/Cargo.toml @@ -35,6 +35,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/cdg/Cargo.toml b/video/cdg/Cargo.toml index 52f7063a..5fcf4ba6 100644 --- a/video/cdg/Cargo.toml +++ b/video/cdg/Cargo.toml @@ -31,6 +31,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/closedcaption/Cargo.toml b/video/closedcaption/Cargo.toml index 272c8be3..8b20b340 100644 --- a/video/closedcaption/Cargo.toml +++ b/video/closedcaption/Cargo.toml @@ -57,6 +57,7 @@ cc = "1.0" [features] # We already use 1.16 which is new enough for static build static = [] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/dav1d/Cargo.toml b/video/dav1d/Cargo.toml index 223e3a25..73836d9b 100644 --- a/video/dav1d/Cargo.toml +++ b/video/dav1d/Cargo.toml @@ -25,6 +25,7 @@ gst-plugin-version-helper = { version = "0.7.0", path = "../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/flavors/Cargo.toml b/video/flavors/Cargo.toml index a195db6a..37a1c312 100644 --- a/video/flavors/Cargo.toml +++ b/video/flavors/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/gif/Cargo.toml b/video/gif/Cargo.toml index a027b2fd..60164390 100644 --- a/video/gif/Cargo.toml +++ b/video/gif/Cargo.toml @@ -32,6 +32,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/hsv/Cargo.toml b/video/hsv/Cargo.toml index b8b44391..c9479fab 100644 --- a/video/hsv/Cargo.toml +++ b/video/hsv/Cargo.toml @@ -31,6 +31,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" @@ -43,4 +44,4 @@ install_subdir = "gstreamer-1.0" versioning = false [package.metadata.capi.pkg_config] -requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gstreamer-audio-1.0, gobject-2.0, glib-2.0, gmodule-2.0" \ No newline at end of file +requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gstreamer-audio-1.0, gobject-2.0, glib-2.0, gmodule-2.0" diff --git a/video/rav1e/Cargo.toml b/video/rav1e/Cargo.toml index d20d4299..c0f504c3 100644 --- a/video/rav1e/Cargo.toml +++ b/video/rav1e/Cargo.toml @@ -27,6 +27,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/rspng/Cargo.toml b/video/rspng/Cargo.toml index 99e4e366..fcfd9f0b 100644 --- a/video/rspng/Cargo.toml +++ b/video/rspng/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0" diff --git a/video/webp/Cargo.toml b/video/webp/Cargo.toml index 328b1fb3..03ad569f 100644 --- a/video/webp/Cargo.toml +++ b/video/webp/Cargo.toml @@ -37,6 +37,7 @@ gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.7.0"