From: Hans-Christian Egtvedt Date: Mon, 1 Dec 2008 12:53:09 +0000 (-0000) Subject: mplayer: make sure alsa-lib is installed before mplayer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=377e554200954998bf41e1b72c6491d08de76e55;p=buildroot.git 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 --- 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)