testing/goxel: upgrade to 0.14.0

This commit is contained in:
mio 2024-05-18 21:51:43 +00:00 committed by Celeste
parent 34b68676e5
commit ac9042cadc
3 changed files with 12 additions and 18 deletions

View file

@ -1,17 +1,17 @@
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=goxel
pkgver=0.12.0
pkgver=0.14.0
pkgrel=0
pkgdesc="Open source 3D voxel editor"
url="https://goxel.xyz/"
arch="all"
license="GPL-3.0-only"
makedepends="scons glfw-dev gtk+3.0-dev"
install="$pkgname.post-install"
makedepends="scons glfw-dev libpng-dev"
options="!check" # check function not implemented
source="https://github.com/guillaumechereau/goxel/archive/refs/tags/v$pkgver/goxel-$pkgver.tar.gz
goxel.desktop
fix-musl.patch
"
build() {
@ -28,7 +28,6 @@ package() {
}
sha512sums="
6895d57eb393996e833b210dda09a442dc49d4cb42b2111114e925d8a0281c4f389d951d339dc2c475f59f66509e93e61deaa985860be9907d4ab222240a7080 goxel-0.12.0.tar.gz
0be5b347e67eedb544c42ed4d9427fd704b50cb21132922388d76b7fb8baad2d7551b98374ccdfdbc369f79b6398dc13251dbbaa72c31669378358d0fc010ec7 goxel-0.14.0.tar.gz
10662d11d73a51d06db753b4f1727e05b1b9a5ef63ee4321cd4f445806f6162af010f89d7f98ff3ba25df14df1fb9bc8693a98d93206af208fdb28b7a49e46e9 goxel.desktop
f4305e54a67c4dc36386ba7943294537e38020c010b2483b2446a716f44072ed699358348101b2eb9229ef911b50141daab08a5462172d121f57e7ba9a8db59f fix-musl.patch
"

View file

@ -1,13 +0,0 @@
diff --git a/ext_src/yocto/ext/filesystem.hpp b/ext_src/yocto/ext/filesystem.hpp
index 860f5b2..c41e0e7 100644
--- a/ext_src/yocto/ext/filesystem.hpp
+++ b/ext_src/yocto/ext/filesystem.hpp
@@ -1525,7 +1525,7 @@ GHC_INLINE std::string systemErrorText(ErrorNumber code = 0)
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 true || defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN)
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

@ -0,0 +1,8 @@
#!/bin/sh
cat >&2 <<-EOF
* For GUI file selection dialogs, please install kdialog, yad or zenity.
* File selection will otherwise be done by console input.
EOF
exit 0