Mercurial > mxe-octave
annotate src/physfs.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 | b19fb3ed330c |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1707
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. |
1615 | 3 |
4 PKG := physfs | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 2.0.3 |
2833 | 7 $(PKG)_CHECKSUM := 327308c777009a41bbabb9159b18c4c0ac069537 |
1615 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2833 | 9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 |
1615 | 10 $(PKG)_URL := http://icculus.org/physfs/downloads/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := zlib |
1615 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://icculus.org/physfs/downloads/?M=D' | \ |
1615 | 15 $(SED) -n 's,.*<a href="physfs-\([0-9][^"]*\)\.tar.*,\1,pI' | \ |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
20 cd '$(1)' && cmake . \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
3480
diff
changeset
|
21 $(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
|
22 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
24 -DPHYSFS_BUILD_SHARED=FALSE \ |
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
25 -DPHYSFS_INTERNAL_ZLIB=FALSE \ |
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
26 -DPHYSFS_BUILD_TEST=FALSE \ |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
1701
diff
changeset
|
27 -DPHYSFS_BUILD_WX_TEST=FALSE |
1615 | 28 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
29 | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
30 '$(MXE_CC)' \ |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1615
diff
changeset
|
31 -W -Wall -Werror -ansi -pedantic -std=c99 \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
32 '$(2).c' -o '$(HOST_BINDIR)/test-physfs.exe' \ |
1615 | 33 -lphysfs -lz |
34 endef |