From 848b2963905c8c7de1d1efdf587886210c164e28 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 09045d53..d8693560 100644 --- a/audio/audiofx/Cargo.toml +++ b/audio/audiofx/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] static = [] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/audio/claxon/Cargo.toml b/audio/claxon/Cargo.toml index 6c9a9bff..5597bc0a 100644 --- a/audio/claxon/Cargo.toml +++ b/audio/claxon/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/audio/csound/Cargo.toml b/audio/csound/Cargo.toml index 516aba9f..6d2d9e6c 100644 --- a/audio/csound/Cargo.toml +++ b/audio/csound/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { path = "../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/audio/lewton/Cargo.toml b/audio/lewton/Cargo.toml index 8b9257fb..d31b25f1 100644 --- a/audio/lewton/Cargo.toml +++ b/audio/lewton/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/generic/file/Cargo.toml b/generic/file/Cargo.toml index 095966b7..c6371f9d 100644 --- a/generic/file/Cargo.toml +++ b/generic/file/Cargo.toml @@ -24,6 +24,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/generic/sodium/Cargo.toml b/generic/sodium/Cargo.toml index 3beeb473..9d8620f2 100644 --- a/generic/sodium/Cargo.toml +++ b/generic/sodium/Cargo.toml @@ -58,6 +58,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml index 160beffb..24885eaf 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.8.0" diff --git a/net/reqwest/Cargo.toml b/net/reqwest/Cargo.toml index 1d0e1a62..b57cffec 100644 --- a/net/reqwest/Cargo.toml +++ b/net/reqwest/Cargo.toml @@ -33,6 +33,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/net/rusoto/Cargo.toml b/net/rusoto/Cargo.toml index bfe6c616..60722e89 100644 --- a/net/rusoto/Cargo.toml +++ b/net/rusoto/Cargo.toml @@ -42,6 +42,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml index 81ea3b58..8107327b 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 b743f57f..66c82ab5 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.8.0" diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index ef3e0bbb..303f4a85 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.8.0" diff --git a/utils/fallbackswitch/Cargo.toml b/utils/fallbackswitch/Cargo.toml index 98a1560f..575e45f4 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.8.0" diff --git a/utils/togglerecord/Cargo.toml b/utils/togglerecord/Cargo.toml index d14ce85f..caddfee0 100644 --- a/utils/togglerecord/Cargo.toml +++ b/utils/togglerecord/Cargo.toml @@ -35,6 +35,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/cdg/Cargo.toml b/video/cdg/Cargo.toml index 0c7566bc..887d8ec9 100644 --- a/video/cdg/Cargo.toml +++ b/video/cdg/Cargo.toml @@ -31,6 +31,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/closedcaption/Cargo.toml b/video/closedcaption/Cargo.toml index 0f55b70b..f5713080 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.8.0" diff --git a/video/dav1d/Cargo.toml b/video/dav1d/Cargo.toml index 2d51c557..2af31076 100644 --- a/video/dav1d/Cargo.toml +++ b/video/dav1d/Cargo.toml @@ -25,6 +25,7 @@ gst-plugin-version-helper = { path = "../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/flavors/Cargo.toml b/video/flavors/Cargo.toml index 5ad92061..342db553 100644 --- a/video/flavors/Cargo.toml +++ b/video/flavors/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/gif/Cargo.toml b/video/gif/Cargo.toml index f66ddec8..1daa86f4 100644 --- a/video/gif/Cargo.toml +++ b/video/gif/Cargo.toml @@ -32,6 +32,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/hsv/Cargo.toml b/video/hsv/Cargo.toml index 14a1f6e0..892532d7 100644 --- a/video/hsv/Cargo.toml +++ b/video/hsv/Cargo.toml @@ -31,6 +31,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.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 d3887e64..f6cd7121 100644 --- a/video/rav1e/Cargo.toml +++ b/video/rav1e/Cargo.toml @@ -27,6 +27,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/rspng/Cargo.toml b/video/rspng/Cargo.toml index 4859dd83..978cd7c5 100644 --- a/video/rspng/Cargo.toml +++ b/video/rspng/Cargo.toml @@ -29,6 +29,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0" diff --git a/video/webp/Cargo.toml b/video/webp/Cargo.toml index b1dff47a..725735b8 100644 --- a/video/webp/Cargo.toml +++ b/video/webp/Cargo.toml @@ -37,6 +37,7 @@ gst-plugin-version-helper = { path="../../version-helper" } [features] # GStreamer 1.14 is required for static linking static = ["gst/v1_14"] +capi = [] [package.metadata.capi] min_version = "0.8.0"