Skip to content
Permalink
Browse files

H3D-Components: Update to release H3D2.4

For all h3d ports:
* Bumped up version numbers and checksums
* Updated to cmake 1.1 portgroup
* Removed all previous patches
* Added size parameter

For h3dapi:
* Added patch to properly locate audiofile include dir
* Added build args to prevent h3dload/h3dviewer from being built
  • Loading branch information
jjandersson authored and mf2k committed Apr 15, 2019
1 parent e738eac commit 1f71664daf62aaf549734aa8a73c6e50e3b0dc25
@@ -1,18 +1,19 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup cmake 1.0
PortGroup cmake 1.1
PortGroup wxWidgets 1.0

name h3dapi
version 2.3.0
revision 2
version 2.4.0
revision 0
categories graphics
platforms darwin
maintainers {@SenseGraphics sensegraphics.com:support}
license GPL-2+

description Headers and libraries for H3DAPI development.

long_description H3DAPI provides is a scenegraph based API with one \
unified scene graph to handle both graphics and haptics\
based on the X3D standard.
@@ -27,23 +28,28 @@ subport h3dviewer {
}

homepage http://www.h3dapi.org
master_sites ftp://www.h3dapi.org/pub/releases/source
master_sites ftp://www.h3dapi.org/pub/releases/source/

checksums rmd160 ca60af0fcd89c309cd030ab509a640b28fd6b470 \
sha256 231104455feea6217c103ab0cbb2187e448000e6f02f9a1f2abb0161a13bbbd1
checksums rmd160 26e7ebf8dc1d315d8aa817c0db6ec6eefb293e36 \
sha256 5f3d9262f125324c8bc52f099214ce2a78b58f7e1ba15b16ff97cfaf40a8f853 \
size 29822042

cmake.out_of_source yes
patchfiles patch-FindAudiofile-PreventFramework.diff

patchfiles patch-CMakeLists.txt.diff \
patch-include-H3D-X3DParticleEmitterNode.h.diff \
patch-CMakeListsPython.diff \
patch-glutwindow.diff \
patch-h3dapicmake.diff \
patch-pythonmethods.diff \
patch-pythonscript.diff \
patch-pythontypes.diff \
patch-pytypewrapper.diff \
patch-pythontypesheader.diff
depends_lib port:audiofile \
port:bzip2 \
port:curl \
port:fontconfig \
port:freeglut \
port:freetype \
port:ftgl \
port:glew \
port:hapi \
port:libvorbis \
port:openexr \
port:python27 \
port:spidermonkey \
port:xercesc

if {${subport} eq ${name}} {

@@ -59,6 +65,10 @@ if {${subport} eq ${name}} {
configure.post_args \
${worksrcpath}/build

configure.args -DGENERATE_H3DAPI_loader_PROJECTS:BOOL=OFF \
-DGENERATE_H3DLoad_PROJECTS:BOOL=OFF \
-DGENERATE_H3DViewer_PROJECTS:BOOL=OFF

} elseif {${subport} eq "h3dload"} {

depends_lib port:h3dapi

This file was deleted.

This file was deleted.

@@ -0,0 +1,22 @@
--- build/modules/FindAudiofile.org.cmake 2019-01-30 08:16:11.000000000 +0100
+++ build/modules/FindAudiofile.cmake 2019-04-12 10:03:52.000000000 +0200
@@ -13,6 +13,9 @@
include( H3DCommonFindModuleFunctions )
get_filename_component( module_file_path ${CMAKE_CURRENT_LIST_FILE} PATH )
getExternalSearchPathsH3D( module_include_search_paths module_lib_search_paths ${module_file_path} "libaudiofile" )
+
+set( old_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK} )
+set( CMAKE_FIND_FRAMEWORK NEVER )

# Look for the header file.
find_path( Audiofile_INCLUDE_DIR NAMES audiofile.h
@@ -40,4 +43,6 @@
# Backwards compatibility values set here.
set( AUDIOFILE_INCLUDE_DIR ${Audiofile_INCLUDE_DIRS} )
set( AUDIOFILE_LIBRARIES ${Audiofile_LIBRARIES} )
-set( Audiofile_FOUND ${AUDIOFILE_FOUND} ) # find_package_handle_standard_args for CMake 2.8 only define the upper case variant.
\ No newline at end of file
+set( Audiofile_FOUND ${AUDIOFILE_FOUND} ) # find_package_handle_standard_args for CMake 2.8 only define the upper case variant.
+
+set( CMAKE_FIND_FRAMEWORK ${old_CMAKE_FIND_FRAMEWORK} )
\ No newline at end of file

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,30 +1,29 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup cmake 1.0
PortGroup cmake 1.1

name h3dmedx3d
version 1.4.0
version 1.5.0
categories graphics
platforms darwin
maintainers {@SenseGraphics sensegraphics.com:support}
license GPL-2+

description Extension for H3DAPI for support of the volume rendering component of X3D.

long_description ${description}

homepage http://www.h3dapi.org
master_sites ftp://www.h3dapi.org/pub/releases/source
master_sites ftp://www.h3dapi.org/pub/releases/source/

checksums rmd160 be169a9c2344f90aee5d35ef77c55a49e2a1713f \
sha256 97e9bf56b91a1e77ee8f2d737bdae601d02bac54a1bbc57a7d0f280841db9b01
checksums rmd160 95cc4fd1c9cc0681a2f26a935a86580906fdbeba \
sha256 8c0ce0118dd228d39efa0f3aca09245922619498983fed28417676ab0fddddf0 \
size 8141244

depends_lib port:h3dapi

patchfiles patch-build-CMakeLists.txt.diff

configure.post_args ${worksrcpath}/build
cmake.out_of_source yes

livecheck.type regex
livecheck.url ${master_sites}/

This file was deleted.

0 comments on commit 1f71664

Please sign in to comment.
You can’t perform that action at this time.