annotate src/graphicsmagick.mk @ 4280:503eebae5f78

* src/graphicsmagick.mk: update to 1.3.25
author John D
date Sat, 17 Dec 2016 18:56:49 -0500
parents 5e57f06cd77f
children 3d168da55e47
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: 2258
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.
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := graphicsmagick
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4280
503eebae5f78 * src/graphicsmagick.mk: update to 1.3.25
John D
parents: 4150
diff changeset
6 $(PKG)_VERSION := 1.3.25
503eebae5f78 * src/graphicsmagick.mk: update to 1.3.25
John D
parents: 4150
diff changeset
7 $(PKG)_CHECKSUM := 0dcf4c1f6f3ead29147ea0392a148ce50cd64bb4
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := GraphicsMagick-$($(PKG)_VERSION)
2698
ecda920960a0 package graphicsmagick: switch to xz archive
Mark Brand <mabrand@mabrand.nl>
parents: 2643
diff changeset
9 $(PKG)_FILE := GraphicsMagick-$($(PKG)_VERSION).tar.xz
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
3105
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
11 $(PKG)_DEPS := zlib bzip2 jpeg jasper lcms libpng tiff freetype libxml2
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
12 ifneq ($(MXE_SYSTEM),msvc)
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
13 $(PKG)_DEPS += pthreads libtool
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
14 endif
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2504
diff changeset
17 $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 # This can be removed once the patch "graphicsmagick-1-fix-xml2-config.patch" is accepted by upstream
2918
42b1909a6159 revert autoconf -> autoreconf change
John W. Eaton <jwe@octave.org>
parents: 2912
diff changeset
24 cd '$(1)' && autoconf
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2912
990071494633 use libtool for building graphics magick libs; restore build of test program
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
27 $(ENABLE_SHARED_OR_STATIC) \
3024
15cbbf983fa0 Update graphicsmagick and pstoedit to use XME_CONFIGURE flags.
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
29 --prefix='$(HOST_PREFIX)' \
4069
114be8cd075c graphicsmagick: disable use of openmp (Bug #46772)
John Donoghue <john.donoghue@ieee.org>
parents: 3881
diff changeset
30 --disable-openmp \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --without-modules \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-threads \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --with-magick-plus-plus \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --without-perl \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --with-bzlib \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 --without-dps \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --without-fpx \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --without-gslib \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --without-jbig \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --with-jpeg \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --with-jp2 \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --with-lcms \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 --with-png \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --with-tiff \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 --without-trio \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
46 --with-ttf='$(HOST_PREFIX)' \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 --without-wmf \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 --with-xml \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 --with-zlib \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 --without-x \
4150
5e57f06cd77f build graphicsmagick with --with-quantum-depth=16 --with-magick-plus-plus=yes
Markus Bergholz <markuman@gmail.com>
parents: 4139
diff changeset
51 --with-quantum-depth=16 \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
52 ac_cv_prog_xml2_config='$(HOST_BINDIR)/xml2-config' \
3105
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
53 ac_cv_path_xml2_config='$(HOST_BINDIR)/xml2-config' \
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
54 && $(CONFIGURE_POST_HOOK)
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
55 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS=
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3105
diff changeset
56 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= DESTDIR='$(3)'
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
57 endef