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)
|
2017-03-30 15:43:32 +02:00
|
|
|
MADPLAY_LICENSE = GPL-2.0+
|
2013-04-14 23:54:15 +02:00
|
|
|
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
|
2019-02-16 14:40:17 +01:00
|
|
|
MADPLAY_DEPENDENCIES = host-pkgconf libmad libid3tag $(TARGET_NLS_DEPENDENCIES)
|
2007-07-28 17:57:09 +02:00
|
|
|
|
2019-02-14 22:43:20 +01: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 14:40:17 +01:00
|
|
|
# Also 0003-configure-ac-use-pkg-config-to-find-id3tag.patch
|
2019-02-14 22:43:20 +01:00
|
|
|
MADPLAY_AUTORECONF = YES
|
|
|
|
|
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
|
2019-02-16 14:40:17 +01:00
|
|
|
MADPLAY_DEPENDENCIES += 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))
|