Mercurial > mxe-octave
annotate src/gtk3.mk @ 4043:b54e00ea56bc
of-fl-core: readd fl-core patch in dos mode
* src/of-fl-core-1-fixes.patch: readd patch
author | John Donoghue |
---|---|
date | Fri, 02 Oct 2015 10:24:38 -0400 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
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 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 $(WGET) -q -O- 'http://git.gnome.org/browse/gtk+/refs/tags' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 grep '<a href=' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 grep -v '^3\.9' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 grep '^3\.' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 head -1 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 endef |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 $(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
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 --enable-explicit-deps \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 --disable-glibtest \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 --disable-modules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 --disable-cups \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
31 --disable-test-print-backend \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
32 --disable-gtk-doc \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
33 --disable-man \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
34 --with-included-immodules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
35 --without-x \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
36 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
|
37 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
|
38 && $(CONFIGURE_POST_HOOK) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
39 $(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
|
40 $(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
|
41 endef |