diff --git a/package/dvdauthor/Config.in b/package/dvdauthor/Config.in index 9ba5411d6b..23477e91e0 100644 --- a/package/dvdauthor/Config.in +++ b/package/dvdauthor/Config.in @@ -17,9 +17,13 @@ if BR2_PACKAGE_DVDAUTHOR config BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR bool "dvdunauthor" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libdvdcss -> libdvdread select BR2_PACKAGE_LIBDVDREAD help This option enables the dvdunauthor program, which requires libdvdread. +comment "dvdunauthor needs a toolchain w/ gcc >= 8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + endif diff --git a/package/gstreamer1/gst1-plugins-ugly/Config.in b/package/gstreamer1/gst1-plugins-ugly/Config.in index 54766ffa8c..aff495c1ac 100644 --- a/package/gstreamer1/gst1-plugins-ugly/Config.in +++ b/package/gstreamer1/gst1-plugins-ugly/Config.in @@ -35,10 +35,14 @@ comment "plugins with external dependencies (there may be more available)" config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD bool "dvdread" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libdvdcss -> libdvdread select BR2_PACKAGE_LIBDVDREAD help Access a DVD with dvdread +comment "dvdread needs a toolchain w/ gcc >= 8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC bool "mpeg2dec" select BR2_PACKAGE_LIBMPEG2 diff --git a/package/libdvdcss/Config.in b/package/libdvdcss/Config.in index a8c3b84cf5..8e6f6ea984 100644 --- a/package/libdvdcss/Config.in +++ b/package/libdvdcss/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_LIBDVDCSS bool "libdvdcss" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # std=c17 help libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption. http://www.videolan.org/developers/libdvdcss.html + +comment "libdvdcss needs a toolchain w/ gcc >= 8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 diff --git a/package/libdvdnav/Config.in b/package/libdvdnav/Config.in index 77cba5f135..8276e466db 100644 --- a/package/libdvdnav/Config.in +++ b/package/libdvdnav/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBDVDNAV bool "libdvdnav" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libdvdcss -> libdvdread depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBDVDREAD help @@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBDVDNAV https://www.videolan.org/developers/libdvdnav.html -comment "libdvdnav needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "libdvdnav needs a toolchain w/ threads, gcc >= 8" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 diff --git a/package/libdvdread/Config.in b/package/libdvdread/Config.in index 3579054158..efa86a4e38 100644 --- a/package/libdvdread/Config.in +++ b/package/libdvdread/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_LIBDVDREAD bool "libdvdread" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libdvdcss select BR2_PACKAGE_LIBDVDCSS help libdvdread provides a simple foundation for reading DVD-Video images. https://www.videolan.org/developers/libdvdnav.html + +comment "libdvdread needs a toolchain w/ gcc >= 8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8