Mercurial > mxe-octave
annotate src/openscenegraph.mk @ 7225:48e5a8cd5086 default tip @
Qt6: Update to version 6.7.1
* qt6-qtbase.mk: Update version and checksum. Remove no longer recognized
configure switch.
* qt6-qtbase-1-fixes.patch: Adjust patch for reorganized CMake files. Remove
hunk that is no longer needed.
* qt6-qtbase-2-6.7.0-opengl-header.patch: Add new patch.
* dist-files.mk: Add new file to list.
* qt6-qt5compat.mk, qt6-qtimageformats.mk, qt6-qtsvg.mk, qt6-qttools.mk,
qt6-qttranslations.mk: Update checksum.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 31 May 2024 10:58:54 +0200 |
parents | 3b2d0f95b4d4 |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2016
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := openscenegraph |
884
32b20fee1d5d
upgrade package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
842
diff
changeset
|
5 $(PKG)_IGNORE := |
3637 | 6 $(PKG)_VERSION := 3.2.0 |
7111
3b2d0f95b4d4
* src/openscenegraph.mk: update urls for github
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
7 $(PKG)_CHECKSUM := 5435de08cd7f67691f6be7cfa0d36b80f04bcb34 |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1458
diff
changeset
|
9 $(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip |
7111
3b2d0f95b4d4
* src/openscenegraph.mk: update urls for github
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
10 $(PKG)_URL := https://github.com/openscenegraph/OpenSceneGraph/archive/refs/tags/$($(PKG)_FILE) |
3637 | 11 $(PKG)_DEPS := boost curl dcmtk ffmpeg freetype gdal giflib gta jasper jpeg libpng openal openexr poppler qt tiff xine-lib zlib |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
3638
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
13 ifeq ($(BUILD_SHARED),yes) |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
14 $(PKG)_SHARED := ON |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
15 else |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
16 $(PKG)_SHARED := OFF |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
17 endif |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
18 |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_UPDATE |
7111
3b2d0f95b4d4
* src/openscenegraph.mk: update urls for github
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
20 $(WGET) -q -O- 'https://github.com/openscenegraph/OpenSceneGraph/tags' | \ |
3b2d0f95b4d4
* src/openscenegraph.mk: update urls for github
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
21 $(SED) -n 's|.*releases/tag/OpenSceneGraph-\([^"]*\).*|\1|p' | $(SORT) -V | \ |
3637 | 22 tail -1 |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 endef |
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 |
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 define $(PKG)_BUILD |
3638
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
26 mkdir -p '$(1)/.build' |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
27 cd '$(1)/.build' && cmake .. \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4618
diff
changeset
|
28 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5541
diff
changeset
|
29 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1517
diff
changeset
|
30 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1517
diff
changeset
|
31 -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS \ |
3638
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
32 -DCMAKE_HAVE_PTHREAD_H=ON \ |
3637 | 33 -DPKG_CONFIG_EXECUTABLE='$(MXE_PKG_CONFIG)' \ |
3638
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
34 -DDYNAMIC_OPENTHREADS=$($(PKG)_SHARED) \ |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
35 -DDYNAMIC_OPENSCENEGRAPH=$($(PKG)_SHARED) \ |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1517
diff
changeset
|
36 -DBUILD_OSG_APPLICATIONS=OFF \ |
3637 | 37 -DPOPPLER_HAS_CAIRO_EXITCODE=0 \ |
3638
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
38 -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 \ |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
39 -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED_EXITCODE=0 |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
40 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' VERBOSE=1 |
af91c561ff39
openscenegraph: allow cross compile to succeed
John Donoghue
parents:
3637
diff
changeset
|
41 $(MAKE) -C '$(1)/.build' -j 1 install |
647
e62e7f0d2650
new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 endef |
3637 | 43 |