New package: opencollada-0.0.20160223

This commit is contained in:
Jürgen Buchmüller 2016-02-29 15:02:26 +01:00
parent 1a5ad4d8a7
commit d4f6351386
5 changed files with 62 additions and 0 deletions

View File

@ -2381,3 +2381,12 @@ liborcus-parser-0.11.so.0 liborcus-0.0.20160214_1
liborcus-mso-0.11.so.0 liborcus-0.0.20160214_1
liborcus-0.11.so.0 liborcus-0.0.20160214_1
liborcus-spreadsheet-model-0.11.so.0 liborcus-0.0.20160214_1
libGeneratedSaxParser.so opencollada-0.0.20160223_1
libMathMLSolver.so opencollada-0.0.20160223_1
libOpenCOLLADABaseUtils.so opencollada-0.0.20160223_1
libOpenCOLLADAFramework.so opencollada-0.0.20160223_1
libOpenCOLLADASaxFrameworkLoader.so opencollada-0.0.20160223_1
libOpenCOLLADAStreamWriter.so opencollada-0.0.20160223_1
libUTF.so opencollada-0.0.20160223_1
libbuffer.so opencollada-0.0.20160223_1
libftoa.so opencollada-0.0.20160223_1

1
srcpkgs/opencollada-devel Symbolic link
View File

@ -0,0 +1 @@
opencollada

View File

@ -0,0 +1,10 @@
--- common/libBuffer/src/CommonFWriteBufferFlusher.cpp 2016-02-23 00:57:35.000000000 +0100
+++ common/libBuffer/src/CommonFWriteBufferFlusher.cpp 2016-02-29 02:14:07.709567632 +0100
@@ -147,6 +147,7 @@
}
}
+ return false;
}
} // namespace Common

View File

@ -0,0 +1,10 @@
--- common/libBuffer/include/CommonFWriteBufferFlusher.h 2016-02-23 00:57:35.000000000 +0100
+++ common/libBuffer/include/CommonFWriteBufferFlusher.h 2016-02-29 02:18:38.673566829 +0100
@@ -44,6 +44,7 @@
typedef int64_t __int64;
#else
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__MINGW32__)) || (__STDC_VERSION__ >= 199901L)
+#include <stdint.h>
typedef int64_t __int64;
#endif
#endif

View File

@ -0,0 +1,32 @@
# Template file for 'opencollada'
pkgname=opencollada
version=0.0.20160223
revision=1
_gitrev=05bdf47679a29195a54ddaa1158b0d65a28421a9
wrksrc="OpenCOLLADA-${_gitrev}"
build_style=cmake
configure_args="-DUSE_SHARED=TRUE"
hostmakedepends="cmake pkg-config"
makedepends="libxml2-devel pcre-devel"
short_desc="Stream based reader and writer library for COLLADA files"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://github.com/KhronosGroup/OpenCOLLADA"
distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=031205ae7f6085b5fc480c150b6a484ab2e573cd01888010dbd1f492d0ef5559
post_install() {
# Move libraries to /usr/lib to avoid adding to /etc/ld.so.conf.d
mv ${DESTDIR}/usr/lib/opencollada/* ${DESTDIR}/usr/lib
}
opencollada-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
# usr/lib contains only unversioned *.so files
vmove usr/lib/*.a
vmove usr/lib/cmake
}
}