2015-04-05 11:33:06 +02:00
|
|
|
config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y
|
2012-12-19 14:27:07 +01:00
|
|
|
# Those architectures are not supported by MPlayer
|
2014-05-23 15:13:32 +02:00
|
|
|
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|
2016-06-15 22:21:49 +02:00
|
|
|
|| BR2_m68k || BR2_microblaze || BR2_nios2)
|
2013-11-09 21:57:37 +01:00
|
|
|
# Broken support for <ARMv5
|
2014-10-21 22:26:55 +02:00
|
|
|
depends on !BR2_ARM_CPU_ARMV4
|
2016-11-20 17:45:26 +01:00
|
|
|
# configure script barfs on the -Wl,-elf2flt we add in the toolchain
|
|
|
|
# wrapper, so just disable completely for FLAT
|
|
|
|
depends on !BR2_BINFMT_FLAT
|
2015-04-05 11:33:06 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MPLAYER
|
|
|
|
bool "mplayer"
|
|
|
|
depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
|
2016-07-02 18:46:31 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-12-13 19:34:31 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2007-07-23 10:12:39 +02:00
|
|
|
help
|
|
|
|
MPlayer is a movie player which runs on many systems and supports
|
|
|
|
many different file formats.
|
|
|
|
|
|
|
|
http://www.mplayerhq.hu/
|
mplayer: convert to gentargets, bump to a recent SVN version
Based on the conversion to gentargets done by Martin Banky, several
issues were fixed, and the mplayer package was improved:
* Updated to a recent SVN version
* Removed mandatory dependency on libmad
* The AVR32 specific patch has been removed. It was a pain to remain
blocked at the old 1.0-rc2 just for this patch. All this
optimization work should have been submitted upstream, Buildroot is
not the place to carry such heavy modifications.
* Options were added to select whether mplayer and/or mencoder should
be built/installed.
* Support for additional options if packages have been selected:
tremor, libmad, libtheora, libpng, jpeg, xlib_libX11,
xlib_libXv. More could be added in the future.
* Support for ARM-related optimization options. Similar improvements
could be done for x86 and PowerPC architectures.
[Peter: fix build with !IPV6]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-12 22:54:03 +01:00
|
|
|
|
2015-12-13 19:34:31 +01:00
|
|
|
comment "mplayer needs a toolchain w/ threads"
|
|
|
|
depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
|
2016-07-02 18:46:31 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-12-13 19:34:31 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
mplayer: convert to gentargets, bump to a recent SVN version
Based on the conversion to gentargets done by Martin Banky, several
issues were fixed, and the mplayer package was improved:
* Updated to a recent SVN version
* Removed mandatory dependency on libmad
* The AVR32 specific patch has been removed. It was a pain to remain
blocked at the old 1.0-rc2 just for this patch. All this
optimization work should have been submitted upstream, Buildroot is
not the place to carry such heavy modifications.
* Options were added to select whether mplayer and/or mencoder should
be built/installed.
* Support for additional options if packages have been selected:
tremor, libmad, libtheora, libpng, jpeg, xlib_libX11,
xlib_libXv. More could be added in the future.
* Support for ARM-related optimization options. Similar improvements
could be done for x86 and PowerPC architectures.
[Peter: fix build with !IPV6]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-12 22:54:03 +01:00
|
|
|
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
|