From 377e554200954998bf41e1b72c6491d08de76e55 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Mon, 1 Dec 2008 12:53:09 +0000 Subject: [PATCH] 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 --- package/multimedia/mplayer/mplayer.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk index 47f2a86f71..7e883279f6 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)