Mercurial > mxe-octave
annotate src/jasper.mk @ 7220:d3087afece14 default tip @
* src/gdal.mk, src/xcb.mk: disable doxygen docs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 22 May 2024 10:31:54 -0400 |
parents | 19a46de50b18 |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
714
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:
306
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := jasper |
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 := |
7186
19a46de50b18
* src/jasper.mk: update to v4.2.4
John Donoghue <john.donoghue@ieee.org>
parents:
7157
diff
changeset
|
6 $(PKG)_VERSION := 4.2.4 |
19a46de50b18
* src/jasper.mk: update to v4.2.4
John Donoghue <john.donoghue@ieee.org>
parents:
7157
diff
changeset
|
7 $(PKG)_CHECKSUM := ca712364562cbaf3eb985069db81802684e64138 |
7009
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
8 $(PKG)_SUBDIR := jasper-version-$($(PKG)_VERSION) |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
9 $(PKG)_FILE := jasper-version-$($(PKG)_VERSION).tar.gz |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
10 $(PKG)_URL := https://github.com/jasper-software/$(PKG)/archive/version-$($(PKG)_VERSION).tar.gz |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := jpeg |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
7009
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
13 |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
14 ifeq ($(MXE_NATIVE_BUILD),no) |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
15 $(PKG)_CMAKE_FLAGS = -DJAS_STDC_VERSION="`'$(MXE_CC)' -dM -E - < /dev/null | grep __STDC_VERSION__ | '$(SED)' 's/^\([^ ]\+ \)\{2\}//;'`" |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
16 else |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
17 $(PKG)_CMAKE_FLAGS := |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
18 endif |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
19 |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_UPDATE |
7009
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
21 $(call GITHUB_PKG_UPDATE,jasper-software,jasper,version-) |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 endef |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 |
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 define $(PKG)_BUILD |
7009
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
25 mkdir $(1).build && cd '$(1).build' && cmake \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
26 $($(PKG)_CMAKE_FLAGS) \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
27 -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
28 -DJAS_ENABLE_LIBJPEG=ON \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
29 -DJAS_ENABLE_OPENGL=OFF \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
30 -DJAS_ENABLE_PROGRAMS=OFF \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
31 -DJAS_ENABLE_DOC=OFF \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
32 -DJAS_ENABLE_SHARED=$(if $(findstring yes,$(BUILD_SHARED)),ON,OFF) \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
33 -DBUILD_TESTING=NO \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
34 $(CMAKE_CCACHE_FLAGS) \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
35 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
36 $(1) |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
37 |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
38 $(MAKE) -C '$(1).build' -j '$(JOBS)' VERBOSE=1 |
59b146523889
jasper: update to v4.1.1
John Donoghue <john.donoghue@ieee.org>
parents:
5412
diff
changeset
|
39 $(MAKE) -C '$(1).build' -j '1' VERBOSE=1 DESTDIR='$(3)' install |
260
51a5ca86e401
new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
40 endef |