fontconfig: needs host-gperf
[buildroot-gz.git] / package / sdl_image / sdl_image.mk
blobf88aa0e7c7a52c2a29452b3fa1e84b966f44bdfd
1 ################################################################################
3 # sdl_image
5 ################################################################################
7 SDL_IMAGE_VERSION = 1.2.12
8 SDL_IMAGE_SOURCE = SDL_image-$(SDL_IMAGE_VERSION).tar.gz
9 SDL_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
10 SDL_IMAGE_INSTALL_STAGING = YES
11 SDL_IMAGE_LICENSE = zlib
12 SDL_IMAGE_LICENSE_FILES = COPYING
14 SDL_IMAGE_CONF_OPTS = \
15 --with-sdl-prefix=$(STAGING_DIR)/usr \
16 --with-sdl-exec-prefix=$(STAGING_DIR)/usr \
17 --disable-sdltest \
18 --disable-static \
19 --enable-bmp=$(if $(BR2_PACKAGE_SDL_IMAGE_BMP),yes,no) \
20 --enable-gif=$(if $(BR2_PACKAGE_SDL_IMAGE_GIF),yes,no) \
21 --enable-jpg=$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),yes,no) \
22 --enable-lbm=$(if $(BR2_PACKAGE_SDL_IMAGE_LBM),yes,no) \
23 --enable-pcx=$(if $(BR2_PACKAGE_SDL_IMAGE_PCX),yes,no) \
24 --enable-png=$(if $(BR2_PACKAGE_SDL_IMAGE_PNG),yes,no) \
25 --enable-pnm=$(if $(BR2_PACKAGE_SDL_IMAGE_PNM),yes,no) \
26 --enable-tga=$(if $(BR2_PACKAGE_SDL_IMAGE_TARGA),yes,no) \
27 --enable-tif=$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),yes,no) \
28 --enable-webp=$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),yes,no) \
29 --enable-xcf=$(if $(BR2_PACKAGE_SDL_IMAGE_XCF),yes,no) \
30 --enable-xpm=$(if $(BR2_PACKAGE_SDL_IMAGE_XPM),yes,no) \
31 --enable-xv=$(if $(BR2_PACKAGE_SDL_IMAGE_XV),yes,no)
33 SDL_IMAGE_DEPENDENCIES = sdl \
34 $(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),jpeg) \
35 $(if $(BR2_PACKAGE_SDL_IMAGE_PNG),libpng) \
36 $(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
37 $(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
39 HOST_SDL_IMAGE_CONF_OPTS = \
40 --with-sdl-prefix=$(HOST_DIR)/usr \
41 --with-sdl-exec-prefix=$(HOST_DIR)/usr \
42 --disable-sdltest \
43 --disable-static \
44 --disable-jpg-shared \
45 --disable-png-shared \
46 --disable-tif-shared
48 HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
50 $(eval $(autotools-package))
51 $(eval $(host-autotools-package))