kumquat-buildroot/package/mplayer/Config.in
Bernd Kuhls 54069ccabe 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>
2016-07-04 14:53:51 +02:00

40 lines
1.0 KiB
Plaintext

config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
bool
default y
# Those architectures are not supported by MPlayer
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|| BR2_m68k || BR2_microblaze || BR2_nios2)
# Broken support for <ARMv5
depends on !BR2_ARM_CPU_ARMV4
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
many different file formats.
http://www.mplayerhq.hu/
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
config BR2_PACKAGE_MPLAYER_MPLAYER
bool "Build and install mplayer"
default y
help
This will install the video player.
config BR2_PACKAGE_MPLAYER_MENCODER
bool "Build and install mencoder"
help
This will install the video encoder.
endif