New package: simage-1.7.0

This commit is contained in:
yopito 2016-05-22 18:55:44 +02:00 committed by Toyam Cox
parent 75cdae3ea4
commit c2573a797a
3 changed files with 35 additions and 0 deletions

View File

@ -2482,3 +2482,4 @@ liblttng-ust-dl.so.0 lttng-ust-2.7.2_1
liblttng-ust-tracepoint.so.0 lttng-ust-2.7.2_1
libtwaindsm.so.2 twaindsm-2.3.0_1
libspnav.so.0 libspnav-0.2.3_1
libsimage.so.20 simage-1.7.0_1

1
srcpkgs/simage-devel Symbolic link
View File

@ -0,0 +1 @@
simage

33
srcpkgs/simage/template Normal file
View File

@ -0,0 +1,33 @@
# 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
}
}