goxel: update to 0.14.0.

This commit is contained in:
John 2024-02-11 23:35:58 +01:00 committed by John Zimmermann
parent ab2f020996
commit ab4ecc2cb2
2 changed files with 5 additions and 16 deletions

View file

@ -1,11 +0,0 @@
--- a/ext_src/yocto/ext/filesystem.hpp 2020-01-04 07:42:25.000000000 +0100
+++ b/ext_src/yocto/ext/filesystem.hpp 2020-01-04 07:42:25.000000000 +0100
@@ -1525,7 +1525,7 @@
std::string msg = toUtf8(std::wstring((LPWSTR)msgBuf));
LocalFree(msgBuf);
return msg;
-#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN)
+#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN) || !defined(__GLIBC__)
char buffer[512];
int rc = strerror_r(code ? code : errno, buffer, sizeof(buffer));
return rc == 0 ? (const char*)buffer : "Error in strerror_r!";

View file

@ -1,6 +1,6 @@
# Template file for 'goxel'
pkgname=goxel
version=0.12.0
version=0.14.0
revision=1
build_style=scons
make_build_args="mode=release werror=0"
@ -9,9 +9,9 @@ makedepends="glfw-devel gtk+3-devel"
short_desc="Open Source 3D voxel editor"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://guillaumechereau.github.io/goxel/"
distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz"
checksum=e3825625e1af9f58593695b0129e39f68a8f3c7d5696c096b8ed2d8b9ac69430
homepage="https://goxel.xyz/"
distfiles="https://github.com/guillaumechereau/goxel/archive/refs/tags/v${version}.tar.gz"
checksum=f22aef2cd520f0a13a6fb08c63c6c0f8abc9c9814b6e9ce8978fc834a1824696
pre_build() {
if [ "$CROSS_BUILD" ];then
@ -33,5 +33,5 @@ do_install() {
vinstall data/icons/icon${size}.png 644 \
usr/share/icons/hicolor/${size}x${size}/apps goxel.png
done
vinstall snap/gui/io.github.guillaumechereau.Goxel.appdata.xml 644 usr/share/metainfo
vinstall snap/gui/io.github.guillaumechereau.Goxel.metainfo.xml 644 usr/share/metainfo
}