2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-08 14:07:36 +01:00
|
|
|
#
|
|
|
|
# ltris
|
|
|
|
#
|
2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-08 14:07:36 +01:00
|
|
|
|
2014-07-31 10:46:58 +02:00
|
|
|
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris
|
2014-01-08 14:07:36 +01:00
|
|
|
LTRIS_VERSION = 1.0.19
|
2017-03-30 15:43:32 +02:00
|
|
|
LTRIS_LICENSE = GPL-2.0+
|
2014-01-08 14:07:36 +01:00
|
|
|
LTRIS_LICENSE_FILES = COPYING
|
|
|
|
|
2017-07-03 22:57:49 +02:00
|
|
|
LTRIS_DEPENDENCIES = sdl $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
LTRIS_LIBS = $(TARGET_NLS_LIBS)
|
2014-01-08 14:07:36 +01:00
|
|
|
|
|
|
|
LTRIS_CONF_ENV = \
|
2016-05-19 07:52:13 +02:00
|
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
|
|
|
LIBS="$(LTRIS_LIBS)"
|
2014-01-08 14:07:36 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LTRIS_AUDIO),y)
|
2016-05-19 07:52:13 +02:00
|
|
|
LTRIS_DEPENDENCIES += sdl_mixer host-pkgconf
|
2016-05-31 09:45:52 +02:00
|
|
|
LTRIS_CONF_OPTS += --enable-sound
|
2016-05-19 07:52:13 +02:00
|
|
|
# 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`
|
2014-01-08 14:07:36 +01:00
|
|
|
else
|
2016-05-31 09:45:52 +02:00
|
|
|
LTRIS_CONF_OPTS += --disable-sound
|
2014-01-08 14:07:36 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|