Mercurial > mxe-octave
annotate src/libxml2.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 | ce8cf8007f40 |
children | f45197dc42a5 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1447
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:
306
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := libxml2 |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
6093
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
6 $(PKG)_VERSION := 2.9.13 |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
7 $(PKG)_CHECKSUM := 156b8938fe54b024bbd8a3db319a6b8a58f9c209 |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
8 $(PKG)_SUBDIR := libxml2-v$($(PKG)_VERSION) |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
9 $(PKG)_FILE := libxml2-v$($(PKG)_VERSION).tar.gz |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
10 $(PKG)_URL := https://gitlab.gnome.org/GNOME/$(PKG)/-/archive/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
5454
cd41c2d17ef3
Update dependancies on packages
John Donoghue <john.donoghue@ieee.org>
parents:
5269
diff
changeset
|
11 $(PKG)_DEPS := zlib libiconv |
3100
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
12 |
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
13 ifneq ($(MXE_SYSTEM),msvc) |
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
14 $(PKG)_DEPS := xz |
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
15 endif |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 define $(PKG)_UPDATE |
5269
76000d1e2282
* src/libxml2.mk: update to v2.9.10, use gitlab repo
John Donoghue
parents:
4924
diff
changeset
|
18 $(WGET) -q -O- https://gitlab.gnome.org/GNOME/libxml2/tags | \ |
76000d1e2282
* src/libxml2.mk: update to v2.9.10, use gitlab repo
John Donoghue
parents:
4924
diff
changeset
|
19 $(SED) -n 's|.*/tags/v\([^"]*\).*|\1|p' | grep -v 'rc' | $(SORT) -V | \ |
4710 | 20 tail -1 |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 endef |
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 |
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
6093
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
24 #$(SED) -i 's,`uname`,MinGW,g' '$(1)/xml2-config.in' |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
25 cd '$(1)' && ./autogen.sh \ |
2997 | 26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2810
diff
changeset
|
28 $(ENABLE_SHARED_OR_STATIC) \ |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --without-debug \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
30 --prefix='$(HOST_PREFIX)' \ |
3761
a5e6d54bcd60
libxml2: explicitly set use of zlib (Bug 43899)
John Donoghue <john.donoghue@ieee.org>
parents:
3750
diff
changeset
|
31 --with-zlib='$(HOST_PREFIX)' \ |
935
9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
891
diff
changeset
|
32 --without-python \ |
3100
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
33 --without-threads && $(CONFIGURE_POST_HOOK) |
3177
9e883aedbf4d
src/libxml2.mk: enable compilation of libxml2 binaries
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3100
diff
changeset
|
34 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3177
diff
changeset
|
35 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= DESTDIR='$(3)' |
4301 | 36 |
37 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
38 rm -rf "$(3)$(HOST_PREFIX)/share/gtk-doc"; \ | |
39 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$($(PKG)_SUBDIR)/html"; \ | |
40 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$($(PKG)_SUBDIR)/examples"; \ | |
41 fi | |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 endef |
4301 | 43 |