Mercurial > mxe-octave
annotate src/wxwidgets.mk @ 6538:8e1e1a000deb
of-netcdf: Fix compatibility with Octave 9.
* src/of-netcdf-1-octave-9-compat.patch: Add patch that replaces class that
has been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 19 Nov 2022 12:54:37 +0100 |
parents | 4b8764444acb |
children | d6ee097db374 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2190
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
302
diff
changeset
|
4 PKG := wxwidgets |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
5 $(PKG)_IGNORE := |
6414
33804a879cc4
* src/wxwidgets.mk: update to v3.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
6304
diff
changeset
|
6 $(PKG)_VERSION := 3.2.1 |
33804a879cc4
* src/wxwidgets.mk: update to v3.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
6304
diff
changeset
|
7 $(PKG)_CHECKSUM := b5299275abddc7cb5fa92f75c17475ade3bc0532 |
4294 | 8 $(PKG)_SUBDIR := wxWidgets-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 | |
4414 | 10 $(PKG)_URL := https://github.com/wxWidgets/wxWidgets/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
6010
3aad637952e6
* src/ffmpeg.mk, src/wxwidgets.mk: set dependancy in sdl2
John Donoghue <john.donoghue@ieee.org>
parents:
5406
diff
changeset
|
11 $(PKG)_DEPS := libiconv libpng jpeg tiff sdl2 zlib expat |
244 | 12 |
13 define $(PKG)_UPDATE | |
6510
4b8764444acb
Create common github call define and start using it
John Donoghue <john.donoghue@ieee.org>
parents:
6414
diff
changeset
|
14 $(call GITHUB_PKG_UPDATE,wxWidgets,wxWidgets,v) |
244 | 15 endef |
16 | |
17 define $(PKG)_BUILD | |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
18 |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
19 # build the wxWidgets variant without unicode support |
4294 | 20 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
6304
c2b696402a1e
wxwidgets: update to 3.2.0
John Donoghue <john.donoghue@ieee.org>
parents:
6010
diff
changeset
|
22 $(if $(BUILD_SHARED),,--disable-shared) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
6304
c2b696402a1e
wxwidgets: update to 3.2.0
John Donoghue <john.donoghue@ieee.org>
parents:
6010
diff
changeset
|
24 --enable-compat28 \ |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
25 --enable-gui \ |
4353
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
26 --disable-stl \ |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
27 --enable-threads \ |
4353
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
28 --enable-unicode \ |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
29 --disable-universal \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
30 --with-themes=all \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
31 --with-msw \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
32 --with-opengl \ |
1621
64fdb94ef9f2
package wxwidgets: libpng 1.5 compatibility
Mark Brand <mabrand@mabrand.nl>
parents:
1619
diff
changeset
|
33 --with-libpng=sys \ |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
34 --with-libjpeg=sys \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
35 --with-libtiff=sys \ |
459
678687647a17
use wxwidget's internal regex library instead of tre
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
36 --with-regex=yes \ |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
37 --with-zlib=sys \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
38 --with-expat=sys \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
39 --with-sdl \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
40 --without-gtk \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
41 --without-macosx-sdk \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
42 --without-libxpm \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
43 --without-libmspack \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
44 --without-gnomevfs \ |
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
45 --without-dmalloc \ |
4353
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
46 LIBS=" `'$(MXE_PKG_CONFIG)' --libs-only-l libtiff-4`" \ |
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
47 CXXFLAGS='-std=gnu++11' \ |
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
48 CXXCPP='$(MXE_CXX) -E -std=gnu++11' |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
49 |
4353
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
50 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) |
268
996ac8524605
build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents:
267
diff
changeset
|
51 |
4353
ae1280afbc8c
wxwidgets: add fixes for stdc++11 issues in later gcc versions
John D
parents:
4298
diff
changeset
|
52 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) __install_wxrc___depname= |
1477
52b652c3e927
add test program for package wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
1462
diff
changeset
|
53 |
4294 | 54 $(INSTALL) -m755 '$(HOST_BINDIR)/wx-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)wx-config' |
55 | |
244 | 56 endef |