SDL_image: update to 1.2.11.

This commit is contained in:
Juan RP 2012-01-16 15:19:45 +01:00
parent 3be16d98bb
commit 60d24c10af
3 changed files with 18 additions and 13 deletions

View file

@ -1,22 +1,18 @@
# Template file for 'SDL_image-devel'. # Template file for 'SDL_image-devel'.
# #
short_desc="${short_desc} (development files)" short_desc="${short_desc} - development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=2
Add_dependency run libpng-devel Add_dependency run libpng-devel
Add_dependency run tiff-devel Add_dependency run tiff-devel
Add_dependency run jpeg-devel Add_dependency run jpeg-devel
Add_dependency run SDL-devel Add_dependency run SDL-devel
Add_dependency run SDL_image Add_dependency run SDL_image
do_install() do_install() {
{ vmove usr/include usr
mkdir -p ${DESTDIR}/usr/lib vmove "usr/lib/*.a" usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr vmove usr/lib/pkgconfig usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
} }

View file

@ -1,2 +1,2 @@
abi_depends=">=1.2.10" abi_depends=">=1.2.10"
api_depends="${abi_depends}" api_depends=">=1.2.11" # libwebp support

View file

@ -1,22 +1,31 @@
# Template file for 'SDL_image' # Template file for 'SDL_image'
pkgname=SDL_image pkgname=SDL_image
version=1.2.10 version=1.2.11
revision=5 homepage="http://www.libsdl.org/projects/SDL_image/"
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz" distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
short_desc="Load images as SDL surfaces" short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876 license="BSD"
checksum=0b8f51af8c77a6849501fed675d49808ae6fbf1429d32ccbd958b7ba7c04be3b
long_desc=" long_desc="
This is a simple library to load images of various formats as SDL This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM,
PCX, GIF, JPEG, PNG, TGA, and TIFF formats." PCX, GIF, JPEG, PNG, TGA, and TIFF formats."
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
# The following are dlopen(3)ed at runtime.
Add_dependency run libpng Add_dependency run libpng
Add_dependency run tiff Add_dependency run tiff
Add_dependency run jpeg Add_dependency run jpeg
Add_dependency run libwebp
Add_dependency build libpng-devel Add_dependency build libpng-devel
Add_dependency build tiff-devel Add_dependency build tiff-devel
Add_dependency build jpeg-devel Add_dependency build jpeg-devel
Add_dependency build SDL-devel Add_dependency build SDL-devel
Add_dependency build libwebp-devel
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}