libplayer: propagate 'depends on' from mplayer

Submitted by Thomas Petazzoni on Dec. 28, 2012, 10:17 p.m.

Details

Message ID 1356733021-15222-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 6904b0ea954c22f3efb9619dc4a7b793fe985547
Headers show

Commit Message

Thomas Petazzoni Dec. 28, 2012, 10:17 p.m.
BR2_PACKAGE_LIBPLAYER_MPLAYER should not select BR2_PACKAGE_MPLAYER
without having the 'depends on' that BR2_PACKAGE_MPLAYER has.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libplayer/Config.in |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Dec. 28, 2012, 10:35 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> BR2_PACKAGE_LIBPLAYER_MPLAYER should not select BR2_PACKAGE_MPLAYER
 Thomas> without having the 'depends on' that BR2_PACKAGE_MPLAYER has.

Committed, thanks.

Patch hide | download patch | download mbox

diff --git a/package/libplayer/Config.in b/package/libplayer/Config.in
index fe851ac..5391b8b 100644
--- a/package/libplayer/Config.in
+++ b/package/libplayer/Config.in
@@ -11,6 +11,10 @@  config BR2_PACKAGE_LIBPLAYER
 if BR2_PACKAGE_LIBPLAYER
 config BR2_PACKAGE_LIBPLAYER_MPLAYER
 	bool "mplayer backend"
+	# mplayer
+	depends on !BR2_sh4a && !BR2_sh4aeb && !BR2_microblaze && !BR2_aarch64
+	# mplayer
+	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_MPLAYER
 
 config BR2_PACKAGE_LIBPLAYER_GSTREAMER