Mercurial > mxe-octave
annotate src/gtk3.mk @ 6513:82606cd21c6b
* src/gtk3.mk: disable update
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 09 Nov 2022 07:21:25 -0500 |
parents | de2eedecd6ba |
children |
rev | line source |
---|---|
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := gtk3 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.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:
3176
diff
changeset
|
6 $(PKG)_VERSION := 3.8.2 |
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := c519b553b618588f288c70ea5dce1145588944eb |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.xz |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := gettext libpng jpeg tiff jasper glib atk pango cairo gdk-pixbuf |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
6513
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
15 echo $($(PKG)_VERSION) |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
16 # last version of gtk3 no longer appears on tag list |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
17 #$(WGET) -q -O- 'https://github.com/GNOME/gtk/tags' | \ |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
18 #$(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \ |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
19 #grep -v '^3\.9' | \ |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
20 #grep '^3\.' | \ |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
21 #$(SORT) -Vr | \ |
82606cd21c6b
* src/gtk3.mk: disable update
John Donoghue <john.donoghue@ieee.org>
parents:
4618
diff
changeset
|
22 #head -1 |
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 endef |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 define $(PKG)_BUILD |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 $(ENABLE_SHARED_OR_STATIC) \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 --prefix='$(HOST_PREFIX)' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 --enable-explicit-deps \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
31 --disable-glibtest \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
32 --disable-modules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
33 --disable-cups \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
34 --disable-test-print-backend \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
35 --disable-gtk-doc \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
36 --disable-man \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
37 --with-included-immodules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
38 --without-x \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
39 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
40 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
41 && $(CONFIGURE_POST_HOOK) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
42 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
43 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
44 endef |