mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
collada2gltf: remove unused
This was intended to be used in libreoffice but was always either too new or too old. Use libreoffice's internal collada2gltf instead.
This commit is contained in:
parent
2608262c5b
commit
603f435669
3 changed files with 0 additions and 69 deletions
|
@ -1,10 +0,0 @@
|
||||||
--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp
|
|
||||||
+++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp
|
|
||||||
@@ -146,6 +146,7 @@
|
|
||||||
return success;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+ return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace Common
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h
|
|
||||||
+++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h
|
|
||||||
@@ -35,15 +35,14 @@
|
|
||||||
#ifdef __GNUC__
|
|
||||||
# include <cstdlib> /* size_t */
|
|
||||||
# include <cstdio> /* FILE */
|
|
||||||
-#ifdef __FreeBSD__
|
|
||||||
-#include <stdint.h> /* int64_t */
|
|
||||||
-#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <stdint.h>
|
|
||||||
+
|
|
||||||
#if __cplusplus > 199711L
|
|
||||||
typedef int64_t __int64;
|
|
||||||
#else
|
|
||||||
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__MINGW32__)) || (__STDC_VERSION__ >= 199901L)
|
|
||||||
typedef int64_t __int64;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
|
@ -1,39 +0,0 @@
|
||||||
# Template file for 'collada2gltf'
|
|
||||||
pkgname=collada2gltf
|
|
||||||
version=1.0.20160229
|
|
||||||
revision=2
|
|
||||||
_gitrev=bc1fe2adaf3e0bec42750ade3bc1d763d0f298aa
|
|
||||||
wrksrc="glTF"
|
|
||||||
build_wrksrc="COLLADA2GLTF"
|
|
||||||
build_style=cmake
|
|
||||||
nopies=yes
|
|
||||||
hostmakedepends="git git-perl pkg-config"
|
|
||||||
makedepends="libpng-devel libxml2-devel pcre-devel"
|
|
||||||
short_desc="Converter for COLLADA to glTF"
|
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
||||||
license="MIT, BSD"
|
|
||||||
homepage="https://github.com/KhronosGroup/glTF/wiki/converter"
|
|
||||||
|
|
||||||
do_fetch() {
|
|
||||||
git clone --recurse-submodules https://github.com/KhronosGroup/glTF.git
|
|
||||||
cd glTF
|
|
||||||
git checkout ${_gitrev}
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
|
||||||
# Linking test_o3gdc fails in cross build with message:
|
|
||||||
# "relocation R_ARM_MOVW_ABS_NC against `__pthread_key_create' can not
|
|
||||||
# be used when making a shared object; recompile with -fPIC"
|
|
||||||
# Simply disable it because we don't need it for libreoffice
|
|
||||||
sed -i COLLADA2GLTF/dependencies/o3dgc/src/CMakeLists.txt \
|
|
||||||
-e 's;add_subdirectory ("${${PROJECT_NAME}_SOURCE_DIR}/test");;'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin build/bin/OpenCOLLADAValidator
|
|
||||||
vbin build/bin/collada2gltf
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
vbin build/bin/test_o3dgc
|
|
||||||
fi
|
|
||||||
cat ${wrksrc}/LICENSE.md | tr -d \013 > LICENSE
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue