Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
201 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
assimp | ||
------------------------------------------ | ||
Open Asset Import Library is a library to load various 3d file formats into a | ||
shared, in-memory format. It supports more than 40 file formats for import and | ||
a growing selection of file formats for export. | ||
|
||
Runtime requirements: | ||
cygwin-2.3.0-1 | ||
libassimp-devel-3.2-1bl1 | ||
libassimp3-3.2-1bl1 | ||
libgcc1-4.9.3-1 | ||
libminizip1-1.2.8-3 | ||
libstdc++6-4.9.3-1 | ||
zlib-devel-1.2.8-3 | ||
zlib0-1.2.8-3 | ||
|
||
Build requirements: | ||
(besides corresponding -devel packages) | ||
binutils-2.25-2 | ||
cmake-3.3.2-1 | ||
cygport-0.20.2-1 | ||
gcc-core-4.9.3-1 | ||
gcc-g++-4.9.3-1 | ||
gcc-objc-4.9.3-1 | ||
gcc-objc++-4.9.3-1 | ||
make-4.1-1 | ||
|
||
Canonical website: | ||
http://assimp.sf.net/ | ||
|
||
Canonical download: | ||
https://github.com/assimp/assimp/archive/v3.2.tar.gz | ||
|
||
------------------------------------------- | ||
|
||
Build instructions: | ||
1. unpack assimp-3.2-X-src.tar.xz | ||
2. if you use setup to install this src package, | ||
it will be unpacked under /usr/src automatically | ||
% cd /usr/src | ||
% cygport ./assimp-3.2-X.cygport all | ||
|
||
This will create: | ||
/usr/src/assimp-3.2-X-src.tar.xz | ||
/usr/src/assimp-3.2-X.tar.xz | ||
/usr/src/libassimp3-3.2-X.tar.xz | ||
/usr/src/libassimp-devel-3.2-X.tar.xz | ||
|
||
------------------------------------------- | ||
|
||
Files included in the binary package: | ||
|
||
(assimp) | ||
/usr/bin/assimp.exe | ||
/usr/share/doc/Cygwin/assimp.README | ||
/usr/share/doc/assimp/CHANGES | ||
/usr/share/doc/assimp/CREDITS | ||
/usr/share/doc/assimp/CodeConventions.md | ||
/usr/share/doc/assimp/LICENSE | ||
/usr/share/doc/assimp/README | ||
/usr/share/doc/assimp/Readme.md | ||
|
||
(libassimp3) | ||
/usr/bin/cygassimp-3.dll | ||
|
||
(libassimp-devel) | ||
/usr/include/assimp/Compiler/poppack1.h | ||
/usr/include/assimp/Compiler/pstdint.h | ||
/usr/include/assimp/Compiler/pushpack1.h | ||
/usr/include/assimp/DefaultLogger.hpp | ||
/usr/include/assimp/Exporter.hpp | ||
/usr/include/assimp/IOStream.hpp | ||
/usr/include/assimp/IOSystem.hpp | ||
/usr/include/assimp/Importer.hpp | ||
/usr/include/assimp/LogStream.hpp | ||
/usr/include/assimp/Logger.hpp | ||
/usr/include/assimp/NullLogger.hpp | ||
/usr/include/assimp/ProgressHandler.hpp | ||
/usr/include/assimp/ai_assert.h | ||
/usr/include/assimp/anim.h | ||
/usr/include/assimp/camera.h | ||
/usr/include/assimp/cexport.h | ||
/usr/include/assimp/cfileio.h | ||
/usr/include/assimp/cimport.h | ||
/usr/include/assimp/color4.h | ||
/usr/include/assimp/color4.inl | ||
/usr/include/assimp/config.h | ||
/usr/include/assimp/defs.h | ||
/usr/include/assimp/importerdesc.h | ||
/usr/include/assimp/light.h | ||
/usr/include/assimp/material.h | ||
/usr/include/assimp/material.inl | ||
/usr/include/assimp/matrix3x3.h | ||
/usr/include/assimp/matrix3x3.inl | ||
/usr/include/assimp/matrix4x4.h | ||
/usr/include/assimp/matrix4x4.inl | ||
/usr/include/assimp/mesh.h | ||
/usr/include/assimp/metadata.h | ||
/usr/include/assimp/postprocess.h | ||
/usr/include/assimp/quaternion.h | ||
/usr/include/assimp/quaternion.inl | ||
/usr/include/assimp/scene.h | ||
/usr/include/assimp/texture.h | ||
/usr/include/assimp/types.h | ||
/usr/include/assimp/vector2.h | ||
/usr/include/assimp/vector2.inl | ||
/usr/include/assimp/vector3.h | ||
/usr/include/assimp/vector3.inl | ||
/usr/include/assimp/version.h | ||
/usr/lib/cmake/assimp/assimp-config-version.cmake | ||
/usr/lib/cmake/assimp/assimp-config.cmake | ||
/usr/lib/libassimp.dll.a | ||
/usr/lib/pkgconfig/assimp.pc | ||
|
||
------------------ | ||
|
||
Port Notes: | ||
|
||
----- version 3.2-1bl1 ----- | ||
Initial release by fd0 <https://github.com/fd00/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
HOMEPAGE="http://${PN}.sf.net/" | ||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz" | ||
|
||
CATEGORY="Libs" | ||
SUMMARY="Open Asset Import Library" | ||
DESCRIPTION="Open Asset Import Library is a library to load various 3d file formats into a | ||
shared, in-memory format. It supports more than 40 file formats for import and | ||
a growing selection of file formats for export." | ||
|
||
inherit cmake | ||
|
||
DOCS=" | ||
*.md | ||
" | ||
|
||
PKG_NAMES=" | ||
${PN} | ||
lib${PN}3 | ||
lib${PN}-devel | ||
" | ||
assimp_CONTENTS=" | ||
usr/bin/*.exe | ||
usr/share | ||
" | ||
libassimp3_CONTENTS=" | ||
usr/bin/*.dll | ||
" | ||
libassimp_devel_CONTENTS=" | ||
usr/include | ||
usr/lib | ||
" | ||
assimp_SUMMARY="${SUMMARY} (utilities)" | ||
libassimp3_SUMMARY="${SUMMARY} (runtime)" | ||
libassimp_devel_SUMMARY="${SUMMARY} (development)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/assimp-3.2/CMakeLists.txt src/assimp-3.2/CMakeLists.txt | ||
--- origsrc/assimp-3.2/CMakeLists.txt 2015-11-04 03:47:37.000000000 +0900 | ||
+++ src/assimp-3.2/CMakeLists.txt 2015-11-14 13:36:09.924877900 +0900 | ||
@@ -66,8 +66,10 @@ endif() | ||
|
||
if((CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) AND NOT CMAKE_COMPILER_IS_MINGW) | ||
if (BUILD_SHARED_LIBS AND CMAKE_SIZEOF_VOID_P EQUAL 8) # -fPIC is only required for shared libs on 64 bit | ||
+ if (NOT CYGWIN) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") | ||
endif() | ||
+ endif() | ||
# hide all not-exported symbols | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Wall" ) | ||
elseif(MSVC) | ||
@@ -141,7 +143,7 @@ ENDIF ( ASSIMP_ENABLE_BOOST_WORKAROUND ) | ||
# cmake configuration files | ||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/assimp-config.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/assimp-config.cmake" @ONLY IMMEDIATE) | ||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/assimp-config-version.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/assimp-config-version.cmake" @ONLY IMMEDIATE) | ||
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/assimp-config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/assimp-config-version.cmake" DESTINATION "${ASSIMP_LIB_INSTALL_DIR}/cmake/assimp-${ASSIMP_VERSION_MAJOR}.${ASSIMP_VERSION_MINOR}" COMPONENT ${LIBASSIMP-DEV_COMPONENT}) | ||
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/assimp-config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/assimp-config-version.cmake" DESTINATION "${ASSIMP_LIB_INSTALL_DIR}/cmake/assimp" COMPONENT ${LIBASSIMP-DEV_COMPONENT}) | ||
|
||
FIND_PACKAGE( DirectX ) | ||
|
||
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/assimp-3.2/tools/assimp_cmd/CMakeLists.txt src/assimp-3.2/tools/assimp_cmd/CMakeLists.txt | ||
--- origsrc/assimp-3.2/tools/assimp_cmd/CMakeLists.txt 2015-11-04 03:47:37.000000000 +0900 | ||
+++ src/assimp-3.2/tools/assimp_cmd/CMakeLists.txt 2015-11-14 13:31:10.507706100 +0900 | ||
@@ -3,6 +3,7 @@ cmake_minimum_required( VERSION 2.6 ) | ||
INCLUDE_DIRECTORIES( | ||
${Assimp_SOURCE_DIR}/include | ||
${Assimp_SOURCE_DIR}/code | ||
+ ${Assimp_BINARY_DIR} | ||
) | ||
|
||
LINK_DIRECTORIES( ${Assimp_BINARY_DIR} ${Assimp_BINARY_DIR}/lib ) | ||
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/assimp-3.2/tools/assimp_cmd/assimp_cmd.rc src/assimp-3.2/tools/assimp_cmd/assimp_cmd.rc | ||
--- origsrc/assimp-3.2/tools/assimp_cmd/assimp_cmd.rc 2015-11-04 03:47:37.000000000 +0900 | ||
+++ src/assimp-3.2/tools/assimp_cmd/assimp_cmd.rc 2015-11-14 13:32:31.339142000 +0900 | ||
@@ -1,7 +1,9 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
+#if !defined(__CYGWIN__) | ||
#include "../../revision.h" | ||
+#endif | ||
|
||
#define APSTUDIO_READONLY_SYMBOLS | ||
///////////////////////////////////////////////////////////////////////////// |