2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2007-05-10 17:20:20 +08:00
|
|
|
#
|
|
|
|
# madplay
|
|
|
|
#
|
2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2013-01-20 17:45:47 +08:00
|
|
|
|
|
|
|
MADPLAY_VERSION = 0.15.2b
|
|
|
|
MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
|
2017-03-30 21:43:32 +08:00
|
|
|
MADPLAY_LICENSE = GPL-2.0+
|
2013-04-15 05:54:15 +08:00
|
|
|
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
|
2019-02-16 21:40:17 +08:00
|
|
|
MADPLAY_DEPENDENCIES = host-pkgconf libmad libid3tag $(TARGET_NLS_DEPENDENCIES)
|
2007-07-28 23:57:09 +08:00
|
|
|
|
2019-02-15 05:43:20 +08:00
|
|
|
# Force autoreconf to be able to use a more recent libtool script, that
|
|
|
|
# is able to properly behave in the face of a missing C++ compiler.
|
2019-02-16 21:40:17 +08:00
|
|
|
# Also 0003-configure-ac-use-pkg-config-to-find-id3tag.patch
|
2019-02-15 05:43:20 +08:00
|
|
|
MADPLAY_AUTORECONF = YES
|
|
|
|
|
2007-07-28 23:57:09 +08:00
|
|
|
# Check if ALSA is built, then we should configure after alsa-lib so
|
|
|
|
# ./configure can find alsa-lib.
|
2008-12-08 16:15:27 +08:00
|
|
|
ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
|
2014-09-28 03:32:44 +08:00
|
|
|
MADPLAY_CONF_OPTS += --with-alsa
|
2019-02-16 21:40:17 +08:00
|
|
|
MADPLAY_DEPENDENCIES += alsa-lib
|
2015-07-12 22:35:26 +08:00
|
|
|
MADPLAY_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`"
|
2007-07-28 23:57:09 +08:00
|
|
|
endif
|
2007-05-10 17:20:20 +08:00
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(autotools-package))
|