New package: SDL2_image-2.0.0.

This commit is contained in:
Juan RP 2014-04-16 18:50:00 +02:00
parent 51e64a3104
commit bab6048de6
3 changed files with 27 additions and 1 deletions

View file

@ -1556,4 +1556,4 @@ libogmrip-mplayer.so.1 ogmrip-1.0.0_1
libogmrip.so.1 ogmrip-1.0.0_1
libogmrip-lavc.so.1 ogmrip-1.0.0_1
libogmdvd-gtk.so.1 ogmrip-1.0.0_1
libSDL2_image-2.0.so.0 SDL2_image-2.0.0_1

1
srcpkgs/SDL2_image-devel Symbolic link
View file

@ -0,0 +1 @@
SDL2_image

View file

@ -0,0 +1,25 @@
# Template file for 'SDL2_image'
pkgname=SDL2_image
version=2.0.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-jpg-shared
--disable-png-shared --disable-webp-shared --disable-tif-shared
--with-sdl-prefix=${XBPS_CROSS_BASE}/usr"
makedepends="libpng-devel>=1.6 tiff-devel SDL2-devel libwebp-devel>=0.4.0"
short_desc="Load images as SDL surfaces (SDL 2.x)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.libsdl.org/projects/SDL_image/"
distfiles="http://www.libsdl.org/projects/SDL_image/release/$pkgname-$version.tar.gz"
checksum=b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234
SDL2_image-devel_package() {
depends="SDL2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}