- removed 0001-neon-Allow-building-against-neon-0-32-x.patch
(from upstream [1])
- add codecalpha option (VP8/VP9 alpha support)
- add qroverlay option (overlay data on top of video in the form of a QR code)
with json-glib and libqrencode dependencies (omit json-glib explicit
dependencies as they are the same as for gstreamer1, glib2 BR2_USE_WCHAR,
BR2_TOOLCHAIN_HAS_THREADS and BR2_USE_MMU), place instead to 'plugins without
external deps' section into 'plugins that need external deps' section as it
clearly has dependencies (prelimary to upstream commit [2])
- add aes option (AES encryption/decryption plugin)
- disable new option asio (Steinberg Audio Streaming, windows only)
- disable new option gs (Google Cloud Storage, needs storage_client library)
- disable new option ldac (LDAC bluetooth audio codec, needs ldacBT-enc library)
- remove legacy option ofa (disabled)
- disable new option onnx (ONNX neural network, needs libonnxruntime library)
- disable new option isac (iSAC plugin, needs webrtc-audio-coding-1 library)
- removed libmms ('Microsoft Multi Media Server streaming protocol' option,
add Config.in.legacy entry
- enable new gpl option ('Allow build plugins that have (A)GPL-licensed
dependencies') in case gpl plugin enabled
[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/
b83e85ab677c79b46f520abebd1ee031e3a139c0.patch
[2] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/
5d70c168b356691073a0d22f7ce3ea7efb20641c.patch
Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
comment "Legacy options removed in 2022.02"
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
+ bool "gst1-plugins-bad plugin libmms was removed"
+ depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_LEGACY
+ help
+ This plugin was removed with gst1-plugins-bad-1.20.0.
+
config BR2_PACKAGE_PYTHON_FUNCTOOLS32
bool "python-functools32 removed"
select BR2_LEGACY
+++ /dev/null
-From b83e85ab677c79b46f520abebd1ee031e3a139c0 Mon Sep 17 00:00:00 2001
-Date: Sun, 26 Sep 2021 21:34:30 +0200
-Subject: [PATCH] neon: Allow building against neon 0.32.x
-
-No API/ABI changes: https://github.com/notroj/neon/blob/0.32.0/NEWS#L3
-
-Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1267>
-
-[Retrieved from:
-https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/b83e85ab677c79b46f520abebd1ee031e3a139c0]
----
- subprojects/gst-plugins-bad/ext/neon/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ext/neon/meson.build b/ext/neon/meson.build
-index bf49be9111..abd9763649 100644
---- a/ext/neon/meson.build
-+++ b/ext/neon/meson.build
-@@ -1,4 +1,4 @@
--neon_dep = dependency('neon', version: ['>= 0.27', '<= 0.31.99'],
-+neon_dep = dependency('neon', version: ['>= 0.27', '<= 0.32.99'],
- required : get_option('neon'))
-
- if neon_dep.found()
---
-GitLab
-
help
Take image snapshots and record movies from camera
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CODECALPHA
+ bool "codecalpha"
+ help
+ Elements for VP8/VP9 alpha support (codecalphademux,
+ alphacombine, vp8alphadecodebin, vp9alphadecodebin)
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS
bool "coloreffects"
help
comment "plugins with external dependencies"
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AES
+ bool "aes"
+ select BR2_PACKAGE_OPENSSL
+ help
+ "AES encryption/decryption plugin"
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER
bool "assrender"
depends on BR2_INSTALL_LIBSTDCPP # libass -> harfbuzz
help
KMS video sink
-config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
- bool "libmms"
- depends on BR2_USE_WCHAR # libmms -> libglib2
- depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2
- select BR2_PACKAGE_LIBMMS
- help
- Microsoft Multi Media Server streaming protocol support
-
-comment "libmms needs a toolchain w/ wchar, threads"
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
-
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS
bool "dtls"
select BR2_PACKAGE_OPENSSL
help
OPUS plugin library
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QROVERLAY
+ bool "qroverlay"
+ select BR2_PACKAGE_JSON_GLIB
+ select BR2_PACKAGE_LIBQRENCODE
+ help
+ Elements qroverlay, debugqroverlay (overlay data on top of
+ video in the form of a QR code)
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG
bool "rsvg"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg
-# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.6.tar.xz.sha256sum
-sha256 0b1b50ac6311f0c510248b6cd64d6d3c94369344828baa602db85ded5bc70ec9 gst-plugins-bad-1.18.6.tar.xz
+# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.20.0.tar.xz.sha256sum
+sha256 015b8d4d9a395ebf444d40876867a2034dd3304b3ad48bc3a0dd0c1ee71dc11d gst-plugins-bad-1.20.0.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
#
################################################################################
-GST1_PLUGINS_BAD_VERSION = 1.18.6
+GST1_PLUGINS_BAD_VERSION = 1.20.0
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad
GST1_PLUGINS_BAD_INSTALL_STAGING = YES
# Options which require currently unpackaged libraries
GST1_PLUGINS_BAD_CONF_OPTS += \
+ -Dasio=disabled \
-Davtp=disabled \
-Dopensles=disabled \
-Dmsdk=disabled \
-Dresindvd=disabled \
-Dfaac=disabled \
-Dflite=disabled \
+ -Dgs=disabled \
-Dgsm=disabled \
-Dkate=disabled \
-Dladspa=disabled \
+ -Dldac=disabled \
-Dlv2=disabled \
-Dmediafoundation=disabled \
-Dmicrodns=disabled \
-Dlibde265=disabled \
-Dmodplug=disabled \
-Dmplex=disabled \
- -Dofa=disabled \
+ -Donnx=disabled \
-Dopenexr=disabled \
-Dopenni2=disabled \
-Dteletext=disabled \
-Dwasapi2=disabled \
-Dzxing=disabled \
-Dmagicleap=disabled \
+ -Disac=disabled \
-Diqa=disabled \
-Dopencv=disabled
GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=disabled
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CODECALPHA),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=enabled
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=disabled
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=enabled
else
# Plugins with dependencies
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AES),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Daes=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += openssl
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Daes=disabled
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libass
GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=disabled
endif
-ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
-GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=enabled
-GST1_PLUGINS_BAD_DEPENDENCIES += libmms
-else
-GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=disabled
-endif
-
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += openssl
GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=disabled
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QROVERLAY),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += json-glib libqrencode
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=disabled
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += librsvg
# Add GPL license if GPL licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled
GST1_PLUGINS_BAD_LICENSE += , GPL-2.0+
GST1_PLUGINS_BAD_LICENSE_FILES += COPYING
endif