SDL_image: use pkg-config to detect SDL.

This commit is contained in:
Juan RP 2014-05-13 11:08:03 +02:00
parent 79caf6beb1
commit 19c2c498c7

View file

@ -1,10 +1,10 @@
# Template file for 'SDL_image' # Template file for 'SDL_image'
pkgname=SDL_image pkgname=SDL_image
version=1.2.12 version=1.2.12
revision=10 revision=11
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
hostmakedepends="SDL-devel" hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.6 tiff-devel SDL-devel libwebp-devel>=0.4.0" makedepends="libpng-devel>=1.6 tiff-devel SDL-devel libwebp-devel>=0.4.0"
# The following are dlopen(3)ed at runtime. # The following are dlopen(3)ed at runtime.
depends="libpng>=1.6 tiff libjpeg-turbo libwebp>=0.4.0" depends="libpng>=1.6 tiff libjpeg-turbo libwebp>=0.4.0"