2009-12-29 23:53:26 +01:00
|
|
|
# Template file for 'SDL_image'
|
|
|
|
pkgname=SDL_image
|
2012-01-16 15:19:45 +01:00
|
|
|
version=1.2.11
|
|
|
|
homepage="http://www.libsdl.org/projects/SDL_image/"
|
2009-12-29 23:53:26 +01:00
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-29 23:53:26 +01:00
|
|
|
short_desc="Load images as SDL surfaces"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 15:19:45 +01:00
|
|
|
license="BSD"
|
|
|
|
checksum=0b8f51af8c77a6849501fed675d49808ae6fbf1429d32ccbd958b7ba7c04be3b
|
2009-12-29 23:53:26 +01:00
|
|
|
long_desc="
|
|
|
|
This is a simple library to load images of various formats as SDL
|
|
|
|
surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM,
|
|
|
|
PCX, GIF, JPEG, PNG, TGA, and TIFF formats."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
2012-01-16 15:19:45 +01:00
|
|
|
# The following are dlopen(3)ed at runtime.
|
2009-12-29 23:53:26 +01:00
|
|
|
Add_dependency run libpng
|
|
|
|
Add_dependency run tiff
|
|
|
|
Add_dependency run jpeg
|
2012-01-16 15:19:45 +01:00
|
|
|
Add_dependency run libwebp
|
|
|
|
|
2009-12-29 23:53:26 +01:00
|
|
|
Add_dependency build libpng-devel
|
|
|
|
Add_dependency build tiff-devel
|
|
|
|
Add_dependency build jpeg-devel
|
|
|
|
Add_dependency build SDL-devel
|
2012-01-16 15:19:45 +01:00
|
|
|
Add_dependency build libwebp-devel
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|