summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-01 12:53:09 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-01 12:53:09 +0000
commit377e554200954998bf41e1b72c6491d08de76e55 (patch)
treef84230b9ac17ec9fee612b0782820882f2f0f4fd /package
parent8c149d286ac328bb00ba3f4fa24441e38644cdee (diff)
mplayer: make sure alsa-lib is installed before mplayer
This patch adds alsa-lib to a dependency for mplayer if it is selected in kconfig. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/mplayer/mplayer.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 47f2a86f7..7e883279f 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -19,6 +19,10 @@ endif
MPLAYER_DEP_LIBS:=libmad
+ifeq ($(strip $(BR2_PACKAGE_ALSA_LIB)),y)
+MPLAYER_DEP_LIBS+=alsa-lib
+endif
+
$(DL_DIR)/$(MPLAYER_SOURCE):
$(WGET) -P $(DL_DIR) $(MPLAYER_SITE)/$(MPLAYER_SOURCE)