Mercurial > mxe-octave
comparison src/openscenegraph.mk @ 3637:4866edf6f9f3
openscenegraph: update from mxe_devel
* src/openscenegraph.mk: update version 3.2.0
author | John Donoghue |
---|---|
date | Tue, 01 Jul 2014 08:39:54 -0400 |
parents | 13be64f9f16d |
children | af91c561ff39 |
comparison
equal
deleted
inserted
replaced
3636:7f8d5eecf152 | 3637:4866edf6f9f3 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := openscenegraph | 4 PKG := openscenegraph |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 3.0.1 | 6 $(PKG)_VERSION := 3.2.0 |
7 $(PKG)_CHECKSUM := 13c7e39f6d62047ad944d8d28a0f0eb60384ce33 | 7 $(PKG)_CHECKSUM := c20891862b5876983d180fc4a3d3cfb2b4a3375c |
8 $(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION) |
9 $(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip | 9 $(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip |
10 $(PKG)_URL := http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$($(PKG)_VERSION)/source/$($(PKG)_FILE) | 10 $(PKG)_URL := http://www.openscenegraph.org/downloads/developer_releases/$($(PKG)_FILE) |
11 $(PKG)_URL_2 := http://distfiles.macports.org/OpenSceneGraph/$($(PKG)_FILE) | 11 $(PKG)_DEPS := boost curl dcmtk ffmpeg freetype gdal giflib gta jasper jpeg libpng openal openexr poppler qt tiff xine-lib zlib |
12 $(PKG)_DEPS := curl ffmpeg freetype gdal giflib jasper jpeg libpng openexr tiff xine-lib zlib dcmtk qt | |
13 | 12 |
14 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
15 $(WGET) -q -O- 'http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/tags?order=date&desc=1' | \ | 14 $(WGET) -q -O- 'http://www.openscenegraph.org/downloads/developer_releases/?C=M;O=D' | \ |
16 grep '<a ' | \ | 15 $(SED) -n 's,.*OpenSceneGraph-\([0-9]*\.[0-9]*[02468]\.[^<]*\)\.zip.*,\1,p' | \ |
17 $(SED) -n 's,.*>OpenSceneGraph-\([0-9][^<]*\)<.*,\1,p' | \ | 16 grep -v rc | \ |
18 grep -v '^2\.9\.' | \ | 17 $(SORT) -V | \ |
19 head -1 | 18 tail -1 |
20 endef | 19 endef |
21 | 20 |
22 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
23 cd '$(1)' && cmake . \ | 22 cd '$(1)' && cmake . \ |
24 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ | 23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
25 -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS \ | 24 -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS \ |
26 -DCMAKE_HAVE_PTHREAD_H=OFF \ | 25 -DCMAKE_HAVE_PTHREAD_H=OFF \ |
26 -DPKG_CONFIG_EXECUTABLE='$(MXE_PKG_CONFIG)' \ | |
27 -DDYNAMIC_OPENTHREADS=OFF \ | 27 -DDYNAMIC_OPENTHREADS=OFF \ |
28 -DDYNAMIC_OPENSCENEGRAPH=OFF \ | 28 -DDYNAMIC_OPENSCENEGRAPH=OFF \ |
29 -DBUILD_OSG_APPLICATIONS=OFF \ | 29 -DBUILD_OSG_APPLICATIONS=OFF \ |
30 -DPOPPLER_HAS_CAIRO_EXITCODE=0 \ | |
30 -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 | 31 -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 |
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1 | 32 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 |
33 $(MAKE) -C '$(1)' -j 1 install | |
32 endef | 34 endef |
35 |