Patchwork libplayer: propagate 'depends on' from mplayer

login
register
mail settings
Submitter Thomas Petazzoni
Date Dec. 28, 2012, 10:17 p.m.
Message ID <1356733021-15222-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/208601/
State Accepted
Commit 6904b0ea954c22f3efb9619dc4a7b793fe985547
Headers show

Comments

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(+)
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

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