annotate src/gtk2.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 8d5fed273e3c
children
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: 2154
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.
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
3
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
4 PKG := gtk2
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
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.24.10
2619
6d33640e2024 update package gtk2
Hans Petter Jansson <hpj@cl.no>
parents: 2525
diff changeset
7 $(PKG)_CHECKSUM := baf5c73e186352cad767392a6b55840be0326ddc
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION)
2619
6d33640e2024 update package gtk2
Hans Petter Jansson <hpj@cl.no>
parents: 2525
diff changeset
9 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.xz
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := gettext libpng jpeg tiff jasper glib atk pango cairo gdk-pixbuf
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
12
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4843
8d5fed273e3c * src/gtk2.mk: page update rule results to get 2.X versions
John Donoghue
parents: 4618
diff changeset
14 $(WGET) -q -O- 'https://github.com/GNOME/gtk/tags?after=3.23.0' | \
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3480
diff changeset
15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
16 grep -v '^2\.9' | \
1773
ec591e415800 improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 1764
diff changeset
17 grep '^2\.' | \
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3480
diff changeset
18 $(SORT) -Vr | \
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
19 head -1
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
20 endef
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
21
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
22 define $(PKG)_BUILD
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
24 $(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: 2620
diff changeset
25 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
26 --prefix='$(HOST_PREFIX)' \
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
27 --enable-explicit-deps \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
28 --disable-glibtest \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
29 --disable-modules \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
30 --disable-cups \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
31 --disable-test-print-backend \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
32 --disable-gtk-doc \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
33 --disable-man \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
34 --with-included-immodules \
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
35 --without-x
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
36 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
37
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
38 '$(MXE_CC)' \
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
39 -W -Wall -Werror -ansi -pedantic \
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: 3013
diff changeset
40 '$(2).c' -o '$(HOST_BINDIR)/test-gtk2.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
41 `'$(MXE_PKG_CONFIG)' gtk+-2.0 --cflags --libs`
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
42 endef