Mercurial > mxe-octave
annotate src/atk.mk @ 5947:09d3533acacf
* src/build-cmake.mk, src/cmake.mk: update v3.21.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 11 Nov 2021 09:49:11 -0500 |
parents | 5ec78153d54b |
children | 3b44978be611 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2313
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:
377
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
4 PKG := atk |
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 := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3164
diff
changeset
|
6 $(PKG)_VERSION := 2.8.0 |
3164
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
7 $(PKG)_CHECKSUM := e8a9dacd22b31a6cb733ce66fb1c220cc6720970 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
8 $(PKG)_SUBDIR := atk-$($(PKG)_VERSION) |
2482
d3034915cd6b
packages atk* glib* libsigc++ pango: use xz archives
Tony Theodore <tonyt@logyst.com>
parents:
2395
diff
changeset
|
9 $(PKG)_FILE := atk-$($(PKG)_VERSION).tar.xz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/atk/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := glib gettext |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4715 | 14 $(WGET) -q -O- https://github.com/GNOME/atk/tags | \ |
15 $(SED) -n 's|.*releases/tag/ATK_\([^"]*\).*|\1|p' | \ | |
16 $(SED) 's,_,.,g' | $(SORT) -V | \ | |
17 tail -1 | |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(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:
2820
diff
changeset
|
23 $(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
|
24 --prefix='$(HOST_PREFIX)' \ |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-glibtest \ |
3164
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
26 --disable-gtk-doc \ |
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
29 && $(CONFIGURE_POST_HOOK) |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |