annotate src/pixman.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 2e51d71933e8
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: 2272
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: 409
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 PKG := pixman
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
5 $(PKG)_IGNORE :=
7096
2e51d71933e8 * src/pixman.mk: update to 0.43.4
John Donoghue <john.donoghue@ieee.org>
parents: 7052
diff changeset
6 $(PKG)_VERSION := 0.43.4
2e51d71933e8 * src/pixman.mk: update to 0.43.4
John Donoghue <john.donoghue@ieee.org>
parents: 7052
diff changeset
7 $(PKG)_CHECKSUM := ba12d7f44bde32d2c1b1ee9abfc633f5f9807c9f
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := pixman-$($(PKG)_VERSION)
5212
3401c6261852 * src/pixman.mk: fix primary url, use .tar.gz file
John Donoghue
parents: 4519
diff changeset
9 $(PKG)_FILE := pixman-$($(PKG)_VERSION).tar.gz
3401c6261852 * src/pixman.mk: fix primary url, use .tar.gz file
John Donoghue
parents: 4519
diff changeset
10 $(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 4292
diff changeset
11 $(PKG)_URL_2 := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
7028
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
12 $(PKG)_DEPS := build-meson build-ninja libpng
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
13
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
14 ifeq ($(MXE_NATIVE_BUILD),no)
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
15 $(PKG)_MESON_TOOLCHAIN_FILE := --cross-file '$(HOST_PREFIX)/share/meson/cross/mxe-conf.ini'
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
16 else
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
17 $(PKG)_MESON_TOOLCHAIN_FILE := --native-file '$(HOST_PREFIX)/share/meson/native/mxe-conf.ini'
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
18 endif
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
19
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
20 ifeq ($(BUILD_SHARED),yes)
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
21 $(PKG)_MESON_CONFIG_FLAGS += -Ddefault_library=shared
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
22 else
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
23 $(PKG)_MESON_CONFIG_FLAGS += -Ddefault_library=static
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
24 endif
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
25
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 define $(PKG)_UPDATE
5429
a0c6433aca80 * src/pixman.mk: update to v0.40.0
John Donoghue <john.donoghue@ieee.org>
parents: 5212
diff changeset
28 $(WGET) -q -O- 'http://cairographics.org/releases/?C=M;O=D' | \
1444
560b3cb89bab improved upgrade script of packages: cairo cairomm pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 1351
diff changeset
29 $(SED) -n 's,.*"pixman-\([0-9][^"]*\)\.tar.*,\1,p' | \
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 head -1
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 define $(PKG)_BUILD
7028
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
34 cd '$(1)' && \
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
35 meson $(1)/.build \
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
36 $($(PKG)_MESON_TOOLCHAIN_FILE) \
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
37 $($(PKG)_MESON_CONFIG_FLAGS) \
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
38 -Dprefix='$(HOST_PREFIX)'
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
39
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
40 cd '$(1)/.build' && DESTDIR=$(3) ninja -j $(JOBS)
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
41 cd '$(1)/.build' && DESTDIR=$(3) ninja -j 1 install
906320658624 * src/pixman.mk: update to v0.43.0, use meson build
John Donoghue <john.donoghue@ieee.org>
parents: 6506
diff changeset
42
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 endef