diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-07-02 18:46:31 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-04 14:53:51 +0200 |
commit | 54069ccabe7b6fe984bfbb781797f6447fd41a95 (patch) | |
tree | b43c162bc66184286a38ae73009eca7783bce20d | |
parent | ddf286736f86defbbb44c2059fce1d95c2296f4a (diff) | |
download | buildroot-54069ccabe7b6fe984bfbb781797f6447fd41a95.tar.gz buildroot-54069ccabe7b6fe984bfbb781797f6447fd41a95.zip |
package/mplayer: needs BR2_TOOLCHAIN_HAS_SYNC_4
Even though mplayer bundles the ffmpeg code base (and ffmpeg is not
affected by this issue), mplayer uses its own build system and doesn't
test properly for the availability (or not) of atomic operations. In
order to keep things simple, we simply make mplayer depend on the
availability of atomic operations, since it assumes they are available.
The reverse dependency is propagated to libplayer and tovid.
Fixes:
http://autobuild.buildroot.net/results/6306757da3be9bb7e3cdcbfc8abb4e64a3fb7913/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libplayer/Config.in | 1 | ||||
-rw-r--r-- | package/mplayer/Config.in | 2 | ||||
-rw-r--r-- | package/tovid/Config.in | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/package/libplayer/Config.in b/package/libplayer/Config.in index 665b947d4b..37fbb26c5b 100644 --- a/package/libplayer/Config.in +++ b/package/libplayer/Config.in @@ -12,6 +12,7 @@ if BR2_PACKAGE_LIBPLAYER config BR2_PACKAGE_LIBPLAYER_MPLAYER bool "mplayer backend" depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mplayer select BR2_PACKAGE_MPLAYER config BR2_PACKAGE_LIBPLAYER_GSTREAMER diff --git a/package/mplayer/Config.in b/package/mplayer/Config.in index 97b1f38798..76bb6f077c 100644 --- a/package/mplayer/Config.in +++ b/package/mplayer/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS config BR2_PACKAGE_MPLAYER bool "mplayer" depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_THREADS help MPlayer is a movie player which runs on many systems and supports @@ -19,6 +20,7 @@ config BR2_PACKAGE_MPLAYER comment "mplayer needs a toolchain w/ threads" depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS if BR2_PACKAGE_MPLAYER diff --git a/package/tovid/Config.in b/package/tovid/Config.in index 1288f849e2..d8052ea334 100644 --- a/package/tovid/Config.in +++ b/package/tovid/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_TOVID depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mplayer # The below dependencies are runtime dependencies only select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng select BR2_PACKAGE_DVDAUTHOR @@ -30,6 +31,7 @@ comment "tovid needs a toolchain w/ threads, C++, wchar" depends on BR2_USE_MMU depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_INSTALL_LIBSTDCPP \ || !BR2_USE_WCHAR |