mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 22:33:29 +08:00
306878fa02
Fixes: http://autobuild.buildroot.net/results/555/555bfc97b39eb9b0f1e516ffb7ae375ca2c43d5f/ The configure options to enable/disable sound through sdl_mixer are called --enable/--disable-sound, not --enable/--disable-audio. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
916 B
Makefile
34 lines
916 B
Makefile
################################################################################
|
|
#
|
|
# ltris
|
|
#
|
|
################################################################################
|
|
|
|
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris
|
|
LTRIS_VERSION = 1.0.19
|
|
LTRIS_LICENSE = GPLv2+
|
|
LTRIS_LICENSE_FILES = COPYING
|
|
|
|
LTRIS_DEPENDENCIES = sdl
|
|
|
|
LTRIS_CONF_ENV = \
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
|
LIBS="$(LTRIS_LIBS)"
|
|
|
|
ifeq ($(BR2_PACKAGE_LTRIS_AUDIO),y)
|
|
LTRIS_DEPENDENCIES += sdl_mixer host-pkgconf
|
|
LTRIS_CONF_OPTS += --enable-sound
|
|
# configure script does NOT use pkg-config to figure out how to link
|
|
# with sdl_mixer, breaking static linking as sdl_mixer can use libmad
|
|
LTRIS_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs SDL_mixer`
|
|
else
|
|
LTRIS_CONF_OPTS += --disable-sound
|
|
endif
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
LTRIS_DEPENDENCIES += gettext
|
|
LTRIS_LIBS += -lintl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|