Mercurial > mxe-octave
annotate src/nsis.mk @ 6113:24e29dcb2e64
Qt5: Update to version 5.15.3.
* src/qtbase.mk: Update version and checksum.
* src/qtbase-2-gcc11.patch: Remove hunks from patch that have been applied
upstream.
* src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslationse.mk:
Update checksum.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 05 Mar 2022 10:59:53 +0100 |
parents | cc4e170df9d3 |
children | bcdb1e0924d9 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1838
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:
389
diff
changeset
|
3 |
322 | 4 PKG := nsis |
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 := |
5910
cc4e170df9d3
* src/nsis.mk: update to v3.08
John Donoghue <john.donoghue@ieee.org>
parents:
5861
diff
changeset
|
6 $(PKG)_VERSION := 3.08 |
cc4e170df9d3
* src/nsis.mk: update to v3.08
John Donoghue <john.donoghue@ieee.org>
parents:
5861
diff
changeset
|
7 $(PKG)_CHECKSUM := 784061fd42bf5e838e40e9f4504fd3e696d5d9a1 |
322 | 8 $(PKG)_SUBDIR := nsis-$($(PKG)_VERSION)-src |
324
beb10af0e886
improved coding style: use a consistent order of variables
Volker Grabsch <vog@notjusthosting.com>
parents:
322
diff
changeset
|
9 $(PKG)_FILE := nsis-$($(PKG)_VERSION)-src.tar.bz2 |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
10 $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 3/$($(PKG)_VERSION)/$($(PKG)_FILE) |
5861
44be3d301611
Switch NSIS and its dependencies to use python3.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5854
diff
changeset
|
11 $(PKG)_DEPS := build-scons build-setuptools |
322 | 12 |
13 define $(PKG)_UPDATE | |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
14 $(WGET) -q -O- 'https://nsis.sourceforge.io/Download' | \ |
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
15 $(SED) -n 's,.*nsis-\([0-9.]\+\)-src.tar.*,\1,p' | \ |
3561
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 tail -1 |
322 | 17 endef |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
18 |
3804
7e15ef9bf1e5
Update build-gcc, nsis to compile when in w64 mode.
John D
parents:
3745
diff
changeset
|
19 ifeq ($(ENABLE_WINDOWS_64),yes) |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
20 $(PKG)_PREBUILD = \ |
4608 | 21 $(SED) -i 's/pei-i386/pei-x86-64/' '$(1)/SCons/Config/linker_script' && \ |
5854
cd3b48c30641
* src/nsis.mk: update to v3.07
John Donoghue <john.donoghue@ieee.org>
parents:
5540
diff
changeset
|
22 $(SED) -i 's/m_target_type=TARGET_X86UNICODE/m_target_type=TARGET_AMD64/' '$(1)/Source/build.cpp' |
4608 | 23 |
24 $(PKG)_TARGET_SCON_OPTIONS := TARGET_ARCH=amd64 | |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
25 endif |
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
26 |
3804
7e15ef9bf1e5
Update build-gcc, nsis to compile when in w64 mode.
John D
parents:
3745
diff
changeset
|
27 define $(PKG)_BUILD |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
28 $($(PKG)_PREBUILD) |
5861
44be3d301611
Switch NSIS and its dependencies to use python3.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5854
diff
changeset
|
29 cd '$(1)' && scons VERBOSE=1 \ |
4604
db65981db893
* nsis.mk: Provide PATH as argument to scons.
John W. Eaton <jwe@octave.org>
parents:
4543
diff
changeset
|
30 PATH='$(PATH)' \ |
4814 | 31 XGCC_W32_PREFIX='$(MXE_TOOL_PREFIX)' \ |
4173
1d86cb0348ff
nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents:
4118
diff
changeset
|
32 PREFIX='$(BUILD_TOOLS_PREFIX)' \ |
4608 | 33 $($(PKG)_TARGET_SCON_OPTIONS) \ |
4173
1d86cb0348ff
nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents:
4118
diff
changeset
|
34 SKIPUTILS='MakeLangId,Makensisw,NSIS Menu,zip2exe' \ |
4605
a62c4469e2aa
nsis: update to version 3.03
John W. Eaton <jwe@octave.org>
parents:
4604
diff
changeset
|
35 NSIS_MAX_STRLEN=8192 \ |
3804
7e15ef9bf1e5
Update build-gcc, nsis to compile when in w64 mode.
John D
parents:
3745
diff
changeset
|
36 install |
7e15ef9bf1e5
Update build-gcc, nsis to compile when in w64 mode.
John D
parents:
3745
diff
changeset
|
37 $(INSTALL) -m755 '$(BUILD_TOOLS_PREFIX)/bin/makensis' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)makensis' |
7e15ef9bf1e5
Update build-gcc, nsis to compile when in w64 mode.
John D
parents:
3745
diff
changeset
|
38 endef |