33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'simage'
|
|
pkgname=simage
|
|
version=1.7.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# XXX disable gif support since misuse of giflib 5.x API
|
|
# (3rd param "int *ErrorCode" is missing in all calls)
|
|
configure_args="--without-gif"
|
|
makedepends="libXt-devel libjpeg-turbo-devel libpng-devel tiff-devel jasper-devel
|
|
libsndfile-devel libogg-devel libvorbis-devel"
|
|
short_desc="Library with image format loaders for image files as texture"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="GPL-3"
|
|
homepage="https://bitbucket.org/Coin3D/simage"
|
|
distfiles="https://bitbucket.org/Coin3D/coin/downloads/${pkgname}-${version}.tar.gz"
|
|
checksum=c9a0c43e45f825c46941789f5a8f6c3b61da5ac87e4088cb611ac0fead494def
|
|
|
|
pre_configure() {
|
|
sed -i '326s/(setjmp(png_ptr->jmpbuf)/(setjmp(png_jmpbuf(png_ptr))/' \
|
|
src/simage_png.c
|
|
}
|
|
|
|
simage-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/bin
|
|
vmove "usr/lib/*.so"
|
|
vmove /usr/lib/pkgconfig
|
|
vmove /usr/share/aclocal
|
|
}
|
|
}
|