2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-05-10 11:20:20 +02:00
|
|
|
#
|
|
|
|
# madplay
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-20 10:45:47 +01:00
|
|
|
|
|
|
|
MADPLAY_VERSION = 0.15.2b
|
|
|
|
MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
|
2013-04-14 23:54:15 +02:00
|
|
|
MADPLAY_LICENSE = GPLv2+
|
|
|
|
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
|
2013-01-20 10:45:47 +01:00
|
|
|
MADPLAY_LIBTOOL_PATCH = NO
|
2014-02-10 11:17:48 +01:00
|
|
|
MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
|
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)
|
2014-09-27 21:32:44 +02:00
|
|
|
MADPLAY_CONF_OPTS += --with-alsa
|
2015-02-02 23:15:39 +01:00
|
|
|
MADPLAY_DEPENDENCIES += host-pkgconf alsa-lib
|
2015-07-12 16:35:26 +02:00
|
|
|
MADPLAY_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`"
|
2007-07-28 17:57:09 +02:00
|
|
|
endif
|
2007-05-10 11:20:20 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|