fontconfig: needs host-gperf
[buildroot-gz.git] / package / madplay / madplay.mk
blob2606ac8d6634e4f54e5faa618aa837fa8aba2631
1 ################################################################################
3 # madplay
5 ################################################################################
7 MADPLAY_VERSION = 0.15.2b
8 MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
9 MADPLAY_LICENSE = GPLv2+
10 MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
11 MADPLAY_LIBTOOL_PATCH = NO
12 MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
14 # Check if ALSA is built, then we should configure after alsa-lib so
15 # ./configure can find alsa-lib.
16 ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
17 MADPLAY_CONF_OPTS += --with-alsa
18 MADPLAY_DEPENDENCIES += host-pkgconf alsa-lib
19 MADPLAY_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`"
20 endif
22 $(eval $(autotools-package))