Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/multimedia/mplayer

Buildroot egtvedt at uclibc.org 1 participant 1 message Dec 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: egtvedt
Date: 2008-12-01 04:53:09 -0800 (Mon, 01 Dec 2008) New Revision: 24210

Log:
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.

Modified:
trunk/buildroot/package/multimedia/mplayer/mplayer.mk

Changeset:
Modified: trunk/buildroot/package/multimedia/mplayer/mplayer.mk
===================================================================

buildroot/package/multimedia/mplayer/mplayer.mk +4 -0
@@ -19,6 +19,10 @@
 
 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)