9d92a2f2e5
SDL2 should be only one required to be interacting with rpi-userland, those settings are propagated.
29 lines
913 B
Bash
29 lines
913 B
Bash
# Template file for 'SDL2_image'
|
|
pkgname=SDL2_image
|
|
version=2.0.5
|
|
revision=2
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="Zlib"
|
|
homepage="http://www.libsdl.org/projects/SDL_image/"
|
|
distfiles="http://www.libsdl.org/projects/SDL_image/release/${pkgname}-${version}.tar.gz"
|
|
checksum=bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0
|
|
|
|
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"
|
|
}
|
|
}
|