2007-05-10 11:20:20 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# madplay
|
|
|
|
#
|
|
|
|
#############################################################
|
2007-07-28 17:57:09 +02:00
|
|
|
MADPLAY_VERSION:=0.15.2b
|
|
|
|
MADPLAY_SOURCE:=madplay-$(MADPLAY_VERSION).tar.gz
|
|
|
|
MADPLAY_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad
|
2010-04-10 21:53:56 +02:00
|
|
|
MADPLAY_LIBTOOL_PATCH=NO
|
|
|
|
MADPLAY_DEPENDENCIES=libmad libid3tag
|
2007-07-28 17:57:09 +02:00
|
|
|
|
|
|
|
# Check if ALSA is built, then we should configure after alsa-lib so
|
|
|
|
# ./configure can find alsa-lib.
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
|
2010-04-10 21:53:56 +02:00
|
|
|
MADPLAY_CONF_OPT+=--with-alsa
|
|
|
|
MADPLAY_DEPENDENCIES+=alsa-lib
|
2007-07-28 17:57:09 +02:00
|
|
|
endif
|
2007-05-10 11:20:20 +02:00
|
|
|
|
2010-04-10 21:53:56 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package/multimedia,madplay))
|