package/gstreamer1/gst1-plugins-bad: needs C++

gst1-plugins-bad needs C++ since switch to meson-package in commit
5d6c408e95:

The following exception(s) were encountered:
Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'"

Rewriting the meson.build so it only requires C++ for the modules that
are actually written in C++ is quite complicated, so just let the whole
package depend on C++. Hopefully however this is going to be fixed in
some future release. Therefore, the dependencies for individual modules
are kept as well (even though they're redundant now).

Fixes:
 - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-04-05 21:49:16 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 80a9e9057d
commit 129922140e
3 changed files with 11 additions and 4 deletions

View File

@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC
config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK
bool "imxv4l2videosink"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT
depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
select BR2_PACKAGE_GST1_PLUGINS_BAD
help
Elements for V4L2 output
comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \
!BR2_INSTALL_LIBSTDCPP
endif

View File

@ -1,5 +1,6 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD
bool "gst1-plugins-bad"
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
A set of plug-ins for GStreamer that may be of poor quality
@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
endif
comment "gst1-plugins-bad needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI
bool "gst1-vaapi"
depends on !BR2_STATIC_LIBS # dlopen(), libva
depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBVA
select BR2_PACKAGE_LIBDRM
@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS
endif
comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library"
comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_PACKAGE_HAS_UDEV
!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP