[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
There is a new pull request by yopito against master on the void-packages repository
https://github.com/yopito/void-packages simage.1.8.1
https://github.com/void-linux/void-packages/pull/27904
simage: update to 1.8.1
A patch file from https://github.com/void-linux/void-packages/pull/27904.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-simage.1.8.1-27904.patch --]
[-- Type: text/x-diff, Size: 2094 bytes --]
From f03c07ec6a0a201f7aeea3d77f6c202932994845 Mon Sep 17 00:00:00 2001
From: yopito <pierre.bourgin@free.fr>
Date: Wed, 13 Jan 2021 22:13:16 +0100
Subject: [PATCH] simage: update to 1.8.1
---
srcpkgs/simage/template | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
diff --git a/srcpkgs/simage/template b/srcpkgs/simage/template
index 7f26620e1dd..5bbddc3f0f4 100644
--- a/srcpkgs/simage/template
+++ b/srcpkgs/simage/template
@@ -1,23 +1,20 @@
# Template file for 'simage'
pkgname=simage
-version=1.7.0
-revision=2
-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"
+version=1.8.1
+revision=1
+wrksrc=simage
+build_style=cmake
+makedepends="libjpeg-turbo-devel libpng-devel tiff-devel jasper-devel
+ libsndfile-devel libvorbis-devel giflib-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
+license="0BSD"
+homepage="https://github.com/coin3d/simage"
+distfiles="https://github.com/coin3d/simage/releases/download/v${version}/simage-${version}-src.tar.gz"
+checksum=a0b85ffa14cc03dcd5e4918dac8982a280df229f7e5758d1c28281920e9f8e74
-pre_configure() {
- sed -i '326s/(setjmp(png_ptr->jmpbuf)/(setjmp(png_jmpbuf(png_ptr))/' \
- src/simage_png.c
+post_install() {
+ vlicense LICENSE
}
simage-devel_package() {
@@ -25,9 +22,8 @@ simage-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
- vmove usr/bin
+ vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove /usr/lib/pkgconfig
- vmove /usr/share/aclocal
}
}