2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-07-18 11:29:26 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# sdl_gfx
|
2009-07-18 11:29:26 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-17 11:08:38 +01:00
|
|
|
|
2013-12-18 19:20:02 +01:00
|
|
|
SDL_GFX_VERSION_MAJOR = 2.0
|
|
|
|
SDL_GFX_VERSION = $(SDL_GFX_VERSION_MAJOR).23
|
2012-06-02 14:08:46 +02:00
|
|
|
SDL_GFX_SOURCE = SDL_gfx-$(SDL_GFX_VERSION).tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
SDL_GFX_SITE = http://www.ferzkopp.net/Software/SDL_gfx-$(SDL_GFX_VERSION_MAJOR)
|
2013-01-17 11:08:38 +01:00
|
|
|
SDL_GFX_LICENSE = zlib
|
|
|
|
SDL_GFX_LICENSE_FILES = COPYING LICENSE
|
2012-06-02 14:08:46 +02:00
|
|
|
SDL_GFX_INSTALL_STAGING = YES
|
|
|
|
SDL_GFX_DEPENDENCIES = sdl
|
2014-09-27 21:32:44 +02:00
|
|
|
SDL_GFX_CONF_OPTS = \
|
2010-12-09 10:55:07 +01:00
|
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
|
|
--disable-sdltest \
|
2012-10-14 10:47:56 +02:00
|
|
|
--enable-static
|
|
|
|
|
|
|
|
# Even though x86_64 processors support MMX, the MMX-specific assembly
|
|
|
|
# code in sdl_gfx is IA32 specific, and does not build for x86_64.
|
|
|
|
ifeq ($(BR2_i386)$(BR2_X86_CPU_HAS_MMX),yy)
|
2014-09-27 21:32:44 +02:00
|
|
|
SDL_GFX_CONF_OPTS += --enable-mmx
|
2012-10-14 10:47:56 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
SDL_GFX_CONF_OPTS += --disable-mmx
|
2012-10-14 10:47:56 +02:00
|
|
|
endif
|
2009-07-18 11:29:26 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|