Mercurial > mxe-octave
annotate src/gdcm.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 | 1da8be1df40d |
children |
rev | line source |
---|---|
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := gdcm |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
7187
1da8be1df40d
* src/gdcm.mk: update to v3.0.24
John Donoghue <john.donoghue@ieee.org>
parents:
7030
diff
changeset
|
6 $(PKG)_VERSION := 3.0.24 |
1da8be1df40d
* src/gdcm.mk: update to v3.0.24
John Donoghue <john.donoghue@ieee.org>
parents:
7030
diff
changeset
|
7 $(PKG)_CHECKSUM := cb0f79c41a0c61c1c448d1881205634fe89e3b5c |
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
5818
ef468742d054
GDCM: Update to version 3.0.9
Markus Mützel <markus.muetzel@gmx.de>
parents:
5571
diff
changeset
|
10 $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG) 3.x/GDCM $($(PKG)_VERSION)/$($(PKG)_FILE) |
6041
add53481eef1
* src/gdcm.mk: Build with ninja.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5919
diff
changeset
|
11 $(PKG)_DEPS := expat zlib build-ninja |
3181
b89f8cfeff8e
Add build rule for non msvc build of gdcm
John Donoghue <john.donoghue@ieee.org>
parents:
3161
diff
changeset
|
12 |
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
5102 | 14 $(WGET) -q -O- 'http://sourceforge.net/projects/gdcm/files/gdcm 3.x/' | \ |
4832 | 15 $(SED) -n 's,.*title=\"GDCM \([0-9.]*\)\".*,\1,p' | \ |
16 $(SORT) -V | \ | |
17 tail -1 | |
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 endef |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 |
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 ifeq ($(MXE_SYSTEM),msvc) |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
21 define $(PKG)_BUILD |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
22 mkdir '$(1)/../.build' |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
23 cd '$(1)/../.build' && cmake \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
24 -G "NMake Makefiles" \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
25 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5546
diff
changeset
|
26 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
27 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
28 -DGDCM_BUILD_SHARED_LIBS:BOOL=TRUE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
29 -DGDCM_USE_SYSTEM_ZLIB:BOOL=TRUE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
30 -DGDCM_USE_SYSTEM_EXPAT:BOOL=TRUE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
31 -DGDCM_BUILD_TESTING:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
32 -DGDCM_DOCUMENTATION:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
33 -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
34 ../$($(PKG)_SUBDIR) |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
35 |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
36 cd '$(1)/../.build' && \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
37 env -u MAKE -u MAKEFLAGS nmake && \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
38 env -u MAKE -u MAKEFLAGS nmake install |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
39 endef |
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
40 else |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
41 define $(PKG)_BUILD |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
42 mkdir '$(1)/../.build' |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
43 cd '$(1)/../.build' && cmake \ |
6041
add53481eef1
* src/gdcm.mk: Build with ninja.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5919
diff
changeset
|
44 -GNinja \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
45 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5546
diff
changeset
|
46 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
47 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
48 -DGDCM_BUILD_SHARED_LIBS:BOOL=TRUE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
49 -DGDCM_BUILD_TESTING:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
50 -DGDCM_DOCUMENTATION:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
51 -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=FALSE \ |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
52 ../$($(PKG)_SUBDIR) |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
53 |
6041
add53481eef1
* src/gdcm.mk: Build with ninja.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5919
diff
changeset
|
54 cmake --build $(1)/../.build -j $(JOBS) |
add53481eef1
* src/gdcm.mk: Build with ninja.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5919
diff
changeset
|
55 DESTDIR=$(3) cmake --install $(1)/../.build |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5479
diff
changeset
|
56 endef |
3181
b89f8cfeff8e
Add build rule for non msvc build of gdcm
John Donoghue <john.donoghue@ieee.org>
parents:
3161
diff
changeset
|
57 |
3159
75eaca7603d8
Add GCDM module (currently only compiles with MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
58 endif |