2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-07-17 15:20:05 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# sdl_image
|
2008-07-17 15:20:05 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-11-02 20:21:21 +01:00
|
|
|
|
2013-06-12 23:42:46 +02:00
|
|
|
SDL_IMAGE_VERSION = 1.2.12
|
2013-01-20 10:45:47 +01:00
|
|
|
SDL_IMAGE_SOURCE = SDL_image-$(SDL_IMAGE_VERSION).tar.gz
|
|
|
|
SDL_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
|
|
|
|
SDL_IMAGE_INSTALL_STAGING = YES
|
2013-06-12 23:42:46 +02:00
|
|
|
SDL_IMAGE_LICENSE = zlib
|
|
|
|
SDL_IMAGE_LICENSE_FILES = COPYING
|
2013-01-20 10:45:47 +01:00
|
|
|
|
|
|
|
SDL_IMAGE_CONF_OPT = --with-sdl-prefix=$(STAGING_DIR)/usr \
|
2008-11-02 20:21:21 +01:00
|
|
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
|
|
|
|
--disable-sdltest \
|
|
|
|
--disable-static \
|
2009-11-23 23:05:23 +01:00
|
|
|
--disable-jpg-shared \
|
|
|
|
--disable-png-shared \
|
|
|
|
--disable-tif-shared \
|
2008-11-02 20:21:21 +01:00
|
|
|
--enable-bmp=$(if $(BR2_PACKAGE_SDL_IMAGE_BMP),yes,no) \
|
|
|
|
--enable-gif=$(if $(BR2_PACKAGE_SDL_IMAGE_GIF),yes,no) \
|
|
|
|
--enable-jpg=$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),yes,no) \
|
|
|
|
--enable-lbm=$(if $(BR2_PACKAGE_SDL_IMAGE_LBM),yes,no) \
|
|
|
|
--enable-pcx=$(if $(BR2_PACKAGE_SDL_IMAGE_PCX),yes,no) \
|
|
|
|
--enable-png=$(if $(BR2_PACKAGE_SDL_IMAGE_PNG),yes,no) \
|
|
|
|
--enable-pnm=$(if $(BR2_PACKAGE_SDL_IMAGE_PNM),yes,no) \
|
|
|
|
--enable-tga=$(if $(BR2_PACKAGE_SDL_IMAGE_TARGA),yes,no) \
|
|
|
|
--enable-tif=$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),yes,no) \
|
2013-06-12 23:42:46 +02:00
|
|
|
--enable-webp=$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),yes,no) \
|
2008-11-02 20:21:21 +01:00
|
|
|
--enable-xcf=$(if $(BR2_PACKAGE_SDL_IMAGE_XCF),yes,no) \
|
|
|
|
--enable-xpm=$(if $(BR2_PACKAGE_SDL_IMAGE_XPM),yes,no) \
|
|
|
|
--enable-xv=$(if $(BR2_PACKAGE_SDL_IMAGE_XV),yes,no) \
|
|
|
|
|
2013-01-20 10:45:47 +01:00
|
|
|
SDL_IMAGE_DEPENDENCIES = sdl \
|
2008-11-02 20:21:21 +01:00
|
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),jpeg) \
|
|
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_PNG),libpng) \
|
2013-06-12 23:42:46 +02:00
|
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
|
|
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
|
2008-11-02 20:21:21 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|