mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
10
package/sdl_gfx/Config.in
Normal file
10
package/sdl_gfx/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_SDL_GFX
|
||||
bool "SDL_gfx"
|
||||
depends on BR2_PACKAGE_SDL
|
||||
help
|
||||
The SDL_gfx library is an extension to the SDL library which
|
||||
provides basic antialiased drawing routines such as lines,
|
||||
circles or polygons, an interpolating rotozoomer for SDL
|
||||
surfaces, framerate control and MMX image filters.
|
||||
|
||||
http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
|
||||
3
package/sdl_gfx/sdl_gfx.hash
Normal file
3
package/sdl_gfx/sdl_gfx.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From http://sourceforge.net/projects/sdlgfx/files/
|
||||
md5 fcc3c4f2d1b4943409bf7e67dd65d03a SDL_gfx-2.0.23.tar.gz
|
||||
sha1 aae60e7fed539f3f8a0a0bd6da3bbcf625642596 SDL_gfx-2.0.23.tar.gz
|
||||
28
package/sdl_gfx/sdl_gfx.mk
Normal file
28
package/sdl_gfx/sdl_gfx.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# sdl_gfx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDL_GFX_VERSION_MAJOR = 2.0
|
||||
SDL_GFX_VERSION = $(SDL_GFX_VERSION_MAJOR).23
|
||||
SDL_GFX_SOURCE = SDL_gfx-$(SDL_GFX_VERSION).tar.gz
|
||||
SDL_GFX_SITE = http://www.ferzkopp.net/Software/SDL_gfx-$(SDL_GFX_VERSION_MAJOR)
|
||||
SDL_GFX_LICENSE = Zlib
|
||||
SDL_GFX_LICENSE_FILES = COPYING LICENSE
|
||||
SDL_GFX_INSTALL_STAGING = YES
|
||||
SDL_GFX_DEPENDENCIES = sdl
|
||||
SDL_GFX_CONF_OPTS = \
|
||||
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
||||
--disable-sdltest \
|
||||
--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)
|
||||
SDL_GFX_CONF_OPTS += --enable-mmx
|
||||
else
|
||||
SDL_GFX_CONF_OPTS += --disable-mmx
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user