annotate src/gtk3.mk @ 4618:de2eedecd6ba

update broken PKG_UPDATE rules, handle missing update rules * Makefile.in: add handling for packages with no update rule * src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk, src/hunspell.mk, src/vala.mk : use github tags for version info * src/llvm.mk: add '?' to update url * src/openscenegraph.mk: update SED rule for version extraction * src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk, src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule * src/qscintilla.mk: change search name for version extraction * src/qtbase.mk: use short pkg version in update path * src/suitesparse.mk: update change in main url/version url * src/tre.mk: update download page link * src/vmime.mk: update download and update url * src/wget.mk, src/xapian-core.mk: update url, sed rule * src/wt.mk: update to use github download/update * src/src-msys-libcrypt.mk: update sed rule
author John Donoghue
date Fri, 09 Mar 2018 11:46:42 -0500
parents 13be64f9f16d
children 82606cd21c6b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3480
diff changeset
14 $(WGET) -q -O- 'https://github.com/GNOME/gtk/tags' | \
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3480
diff changeset
15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \
3176
0fc090129214 [MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
16 grep -v '^3\.9' | \
0fc090129214 [MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
17 grep '^3\.' | \
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 3480
diff changeset
18 $(SORT) -Vr | \
3176
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