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:48:58 -0800 (Mon, 01 Dec 2008) New Revision: 24209

Log:
mplayer: add dependency libraries to a variable

This patch will put dependency libraries in a variable and add this to the dependencies to build mplayer. This is done to ease adding new libraries in the future.

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

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

buildroot/package/multimedia/mplayer/mplayer.mk +3 -1
@@ -17,6 +17,8 @@
 MPLAYER_ENDIAN:=--disable-big-endian
 endif
 
+MPLAYER_DEP_LIBS:=libmad
+
 $(DL_DIR)/$(MPLAYER_SOURCE):
 	$(WGET) -P $(DL_DIR) $(MPLAYER_SITE)/$(MPLAYER_SOURCE)
 
@@ -60,7 +62,7 @@
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY)
 	touch -c $@
 
-mplayer: uclibc libmad $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY)
+mplayer: uclibc $(MPLAYER_DEP_LIBS) $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY)
 
 mplayer-source: $(DL_DIR)/$(MPLAYER_SOURCE)