![Peter Seiderer](/assets/img/avatar_default.png)
Fixes [1]: configure check for libasound failed because of missing pthread linkage. [1] http://autobuild.buildroot.net/results/f3a/f3a0b3ff15e729d223c8c8ee6af75c425cd344b6/ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
790 B
Makefile
23 lines
790 B
Makefile
################################################################################
|
|
#
|
|
# madplay
|
|
#
|
|
################################################################################
|
|
|
|
MADPLAY_VERSION = 0.15.2b
|
|
MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
|
|
MADPLAY_LICENSE = GPLv2+
|
|
MADPLAY_LICENSE_FILES = COPYING COPYRIGHT
|
|
MADPLAY_LIBTOOL_PATCH = NO
|
|
MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
|
|
|
|
# Check if ALSA is built, then we should configure after alsa-lib so
|
|
# ./configure can find alsa-lib.
|
|
ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
|
|
MADPLAY_CONF_OPTS += --with-alsa
|
|
MADPLAY_DEPENDENCIES += host-pkgconf alsa-lib
|
|
MADPLAY_CONF_ENV += LIBS="$(shell $(PKG_CONFIG_HOST_BINARY) --libs alsa)"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|