1 ################################################################################
5 ################################################################################
7 SDL_GFX_VERSION_MAJOR = 2.0
8 SDL_GFX_VERSION = $(SDL_GFX_VERSION_MAJOR).23
9 SDL_GFX_SOURCE = SDL_gfx-$(SDL_GFX_VERSION).tar.gz
10 SDL_GFX_SITE = http://www.ferzkopp.net/Software/SDL_gfx-$(SDL_GFX_VERSION_MAJOR)
11 SDL_GFX_LICENSE = zlib
12 SDL_GFX_LICENSE_FILES = COPYING LICENSE
13 SDL_GFX_INSTALL_STAGING = YES
14 SDL_GFX_DEPENDENCIES = sdl
16 --with-sdl-prefix=$(STAGING_DIR)/usr \
20 # Even though x86_64 processors support MMX, the MMX-specific assembly
21 # code in sdl_gfx is IA32 specific, and does not build for x86_64.
22 ifeq ($(BR2_i386)$(BR2_X86_CPU_HAS_MMX),yy)
23 SDL_GFX_CONF_OPTS += --enable-mmx
25 SDL_GFX_CONF_OPTS += --disable-mmx
28 $(eval $(autotools-package))