SDL2_image: use pkg-config to detect SDL2.

This commit is contained in:
Juan RP 2014-05-13 11:20:29 +02:00
parent 1928ba35c6
commit 7b942495d6

View file

@ -1,11 +1,11 @@
# Template file for 'SDL2_image' # Template file for 'SDL2_image'
pkgname=SDL2_image pkgname=SDL2_image
version=2.0.0 version=2.0.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-jpg-shared configure_args="--disable-static --disable-jpg-shared
--disable-png-shared --disable-webp-shared --disable-tif-shared --disable-png-shared --disable-webp-shared --disable-tif-shared"
--with-sdl-prefix=${XBPS_CROSS_BASE}/usr" hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.6 tiff-devel SDL2-devel libwebp-devel>=0.4.0" makedepends="libpng-devel>=1.6 tiff-devel SDL2-devel libwebp-devel>=0.4.0"
short_desc="Load images as SDL surfaces (SDL 2.x)" short_desc="Load images as SDL surfaces (SDL 2.x)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"