2009-12-29 23:53:26 +01:00
|
|
|
# Template file for 'SDL_image'
|
|
|
|
pkgname=SDL_image
|
2012-01-21 21:11:44 +01:00
|
|
|
version=1.2.12
|
2014-05-13 11:08:03 +02:00
|
|
|
revision=11
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-12-09 10:38:24 +01:00
|
|
|
configure_args="--disable-static"
|
2014-05-13 11:08:03 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libpng-devel tiff-devel SDL-devel libwebp-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
# The following are dlopen(3)ed at runtime.
|
2014-02-03 09:56:34 +01:00
|
|
|
depends="libpng>=1.6 tiff libjpeg-turbo libwebp>=0.4.0"
|
2009-12-29 23:53:26 +01:00
|
|
|
short_desc="Load images as SDL surfaces"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-01-16 15:19:45 +01:00
|
|
|
license="BSD"
|
2012-06-06 10:34:27 +02:00
|
|
|
homepage="http://www.libsdl.org/projects/SDL_image/"
|
|
|
|
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
|
2012-01-21 21:11:44 +01:00
|
|
|
checksum=0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
|
2009-12-29 23:53:26 +01:00
|
|
|
|
2012-01-16 15:19:45 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 09:01:46 +02:00
|
|
|
|
|
|
|
SDL_image-devel_package() {
|
|
|
|
depends="SDL-devel ${sourcepkg}>=${version}"
|
2013-04-30 10:24:12 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-03 09:56:34 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:01:46 +02:00
|
|
|
}
|
|
|
|
}
|