diff options
author | root <root@zonker.localdomain> | 2011-08-21 14:16:44 +0200 |
---|---|---|
committer | root <root@zonker.localdomain> | 2011-08-21 14:16:44 +0200 |
commit | 705c4bd055b54ceaea30ce4361f9d0d57785f924 (patch) | |
tree | 3a3e4b6f0151d82f7fb1e5026a2beadbefce3495 /media-libs/opencollada | |
download | mistafunk-705c4bd055b54ceaea30ce4361f9d0d57785f924.tar.gz mistafunk-705c4bd055b54ceaea30ce4361f9d0d57785f924.tar.bz2 mistafunk-705c4bd055b54ceaea30ce4361f9d0d57785f924.zip |
import from svn
Diffstat (limited to 'media-libs/opencollada')
-rw-r--r-- | media-libs/opencollada/Manifest | 2 | ||||
-rw-r--r-- | media-libs/opencollada/files/opencollada-r736-expat-and-include-fixes.patch | 47 | ||||
-rw-r--r-- | media-libs/opencollada/opencollada-9999.ebuild | 34 |
3 files changed, 83 insertions, 0 deletions
diff --git a/media-libs/opencollada/Manifest b/media-libs/opencollada/Manifest new file mode 100644 index 0000000..4e69392 --- /dev/null +++ b/media-libs/opencollada/Manifest @@ -0,0 +1,2 @@ +AUX opencollada-r736-expat-and-include-fixes.patch 1622 RMD160 121524c0cc9c376bef119a871fdd1b9ce3b2889d SHA1 51f1bf309f296960f95ad81bf897e82180535244 SHA256 49e5897338ebdb15757eadd7f7448b662a115204ee99327a1d2b5b969eeb409e +EBUILD opencollada-9999.ebuild 817 RMD160 5498e42844d50f7b33ddd3cf3986018364f30bba SHA1 9fff10dbae1c002cbd308f1b247c07ce56262a3b SHA256 a91dd588b2770ad37280dfff7ab9c40f401e25bcc5d9b6e4c92f870af281237a diff --git a/media-libs/opencollada/files/opencollada-r736-expat-and-include-fixes.patch b/media-libs/opencollada/files/opencollada-r736-expat-and-include-fixes.patch new file mode 100644 index 0000000..d23aa69 --- /dev/null +++ b/media-libs/opencollada/files/opencollada-r736-expat-and-include-fixes.patch @@ -0,0 +1,47 @@ +Index: common/libBuffer/src/CommonFWriteBufferFlusher.cpp +=================================================================== +--- common/libBuffer/src/CommonFWriteBufferFlusher.cpp (revision 736) ++++ common/libBuffer/src/CommonFWriteBufferFlusher.cpp (working copy) +@@ -10,7 +10,8 @@ + + #include "CommonFWriteBufferFlusher.h" + +- #include <errno.h> ++#include <errno.h> ++#include <cstdio> + + namespace Common + { +Index: dae2ogre/include/DAE2OgreSerializer.h +=================================================================== +--- dae2ogre/include/DAE2OgreSerializer.h (revision 736) ++++ dae2ogre/include/DAE2OgreSerializer.h (working copy) +@@ -30,6 +30,8 @@ + #ifndef __DAE2OGRE_OGRESERIALIZER_H__
+ #define __DAE2OGRE_OGRESERIALIZER_H__
+
++#include <cstdio>
++
+ #include "DAE2OgrePrerequisites.h"
+
+ namespace DAE2Ogre
+Index: Externals/expat/SConscript +=================================================================== +--- Externals/expat/SConscript (revision 736) ++++ Externals/expat/SConscript (working copy) +@@ -11,7 +11,7 @@ + targetPath = outputDir + libName + + +-incDirs = ['include/'] ++incDirs = ['include/', '.'] + + src = [ variantDir + str(p) for p in Glob(srcDir + '*.c')] + VariantDir(variant_dir=variantDir + srcDir, src_dir=srcDir, duplicate=False) +@@ -19,5 +19,5 @@ + if env['SHAREDLIB']: + SharedLibrary(target=targetPath, source=src, CPPPATH=incDirs, CCFLAGS=env['CPPFLAGS']) + else: +- StaticLibrary(target=targetPath, source=src, CPPPATH=incDirs, CCFLAGS=env['CPPFLAGS']) ++ StaticLibrary(target=targetPath, source=src, CPPPATH=incDirs, CCFLAGS=env['CPPFLAGS'] + ' -DHAVE_EXPAT_CONFIG_H') + diff --git a/media-libs/opencollada/opencollada-9999.ebuild b/media-libs/opencollada/opencollada-9999.ebuild new file mode 100644 index 0000000..0573425 --- /dev/null +++ b/media-libs/opencollada/opencollada-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils +inherit subversion + +DESCRIPTION="OpenCOLLADA is a stream based reader and writer library for COLLADA files" +HOMEPAGE="http://www.opencollada.org/" +LICENSE="MIT" + +ESVN_REPO_URI="http://opencollada.googlecode.com/svn/trunk" +ESVN_PROJECT="opencollada-trunk" +ESVN_PATCHES="${FILESDIR}/opencollada-r736-expat-and-include-fixes.patch" + +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + # call configure for bundled expat to generate a missing header file + cd $S/Externals/expat + sh configure + + cd $S + scons RELEASE=1 XMLPARSER=expat PCRENATIVE=0 || die "emake failed" +} + +#src_install() { + #dodir /usr/include/opencollada/ + #dodir /usr/lib/opencollada/ +#} |