annotate src/nsis.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents 44be3d301611
children cc4e170df9d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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 :=
5854
cd3b48c30641 * src/nsis.mk: update to v3.07
John Donoghue <john.donoghue@ieee.org>
parents: 5540
diff changeset
6 $(PKG)_VERSION := 3.07
cd3b48c30641 * src/nsis.mk: update to v3.07
John Donoghue <john.donoghue@ieee.org>
parents: 5540
diff changeset
7 $(PKG)_CHECKSUM := a1f7d4de499e74413c0c9d186406a00e462093e7
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
dac40a0ff814 nsis: update for 64bit compile
John Donoghue
parents: 4605
diff changeset
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
dac40a0ff814 nsis: update for 64bit compile
John Donoghue
parents: 4605
diff changeset
23
dac40a0ff814 nsis: update for 64bit compile
John Donoghue
parents: 4605
diff changeset
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
3cb0c4f3e842 nsis: use recomennted nsis xcompile options
John Donoghue
parents: 4608
diff changeset
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
dac40a0ff814 nsis: update for 64bit compile
John Donoghue
parents: 4605
diff changeset
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