package/mpv: atomic is mandatory
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 16 Aug 2020 08:50:27 +0000 (10:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 16 Aug 2020 09:27:28 +0000 (11:27 +0200)
__sync builtins have been dropped since version 0.24.0 and
https://github.com/mpv-player/mpv/commit/c3205d294e519f994829d9355eb133670729aab4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mpv/Config.in
package/tovid/Config.in

index 32910f2245753bf55e00127290ade3a12fda508f..697ad57ba6015f0170ecbc19ec40d9944c9a1050 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_MPV
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        select BR2_PACKAGE_FFMPEG
        select BR2_PACKAGE_FFMPEG_SWSCALE
@@ -25,6 +25,6 @@ config BR2_PACKAGE_MPV
 
 comment "mpv needs a toolchain w/ threads, gcc >= 4.5"
        depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
index d5b7a28314b4af8aa30d6d1280e377d31f36b289..f4ddcfa4a08f87eddb79b2d587976ce3f0812761 100644 (file)
@@ -7,7 +7,7 @@ config BR2_PACKAGE_TOVID
        depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 # mpv
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mpv
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC # mpv
        depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC # mpv
        # The below dependencies are runtime dependencies only
        select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng
@@ -31,7 +31,7 @@ config BR2_PACKAGE_TOVID
 comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.5"
        depends on BR2_USE_MMU
        depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on !BR2_TOOLCHAIN_HAS_THREADS \
                || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 \
                || !BR2_INSTALL_LIBSTDCPP \
@@ -41,7 +41,7 @@ comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.5"
 comment "tovid depends on python or python3"
        depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3
        depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
        depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC