package/libdvdcss: needs gcc >= 8

Buildroot commit cd3a2f0ff3 switched the
build system to meson which depends on c17:
9f16597859 (line_0cc1139e3_A5)

Add the necessary dependency and propagate to reverse dependencies to
fix a build error caught by the Gitlab pipelines:

br-test-pkg/bootlin-aarch64-glibc-old/build/libdvdcss-1.5.0/meson.build:1:0:
 ERROR: None of values ['c17'] are supported by the C compiler. Possible
 values for option "c_std" are ['none', 'c89', 'c99', 'c11', 'gnu89',
 'gnu99', 'gnu11']

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-08-14 07:42:13 +02:00
committed by Julien Olivain
parent e5116ed8c2
commit 328fa370f0
5 changed files with 20 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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