29 lines
907 B
Bash
29 lines
907 B
Bash
# Template file for 'SDL2_image'
|
|
pkgname=SDL2_image
|
|
version=2.0.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-jpg-shared
|
|
--disable-png-shared --disable-webp-shared --disable-tif-shared"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpng-devel tiff-devel SDL2-devel libwebp-devel"
|
|
short_desc="Load images as SDL surfaces (SDL 2.x)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="http://www.libsdl.org/projects/SDL_image/"
|
|
distfiles="http://www.libsdl.org/projects/SDL_image/release/$pkgname-$version.tar.gz"
|
|
checksum=3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt COPYING
|
|
}
|
|
|
|
SDL2_image-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|