2014-04-16 18:50:00 +02:00
|
|
|
# Template file for 'SDL2_image'
|
|
|
|
pkgname=SDL2_image
|
2016-01-05 11:16:01 +01:00
|
|
|
version=2.0.1
|
2016-03-19 00:11:00 +01:00
|
|
|
revision=2
|
2014-04-16 18:50:00 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --disable-jpg-shared
|
2014-05-13 11:20:29 +02:00
|
|
|
--disable-png-shared --disable-webp-shared --disable-tif-shared"
|
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libpng-devel tiff-devel SDL2-devel libwebp-devel"
|
2014-04-16 18:50:00 +02:00
|
|
|
short_desc="Load images as SDL surfaces (SDL 2.x)"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-04-16 18:50:00 +02:00
|
|
|
license="BSD"
|
|
|
|
homepage="http://www.libsdl.org/projects/SDL_image/"
|
|
|
|
distfiles="http://www.libsdl.org/projects/SDL_image/release/$pkgname-$version.tar.gz"
|
2016-01-05 11:16:01 +01:00
|
|
|
checksum=3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64
|
2014-04-16 18:50:00 +02:00
|
|
|
|
|
|
|
SDL2_image-devel_package() {
|
2016-01-05 11:16:01 +01:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2014-04-16 18:50:00 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|