Mercurial > mxe-octave
comparison src/graphicsmagick.mk @ 4527:d3c12e857e9b
graphicsmagick: enable jbig
* src/graphicsmagick.mk: and as dependancy and enable jbig, in windows dont use clock_xxxx functions
author | John D |
---|---|
date | Wed, 08 Nov 2017 15:55:54 -0500 |
parents | d9c87a876215 |
children | 50ce0842665c |
comparison
equal
deleted
inserted
replaced
4526:c283aa086767 | 4527:d3c12e857e9b |
---|---|
6 $(PKG)_VERSION := 1.3.26 | 6 $(PKG)_VERSION := 1.3.26 |
7 $(PKG)_CHECKSUM := 2cc885d1b157996aa14c98e34f7aa17815d00c41 | 7 $(PKG)_CHECKSUM := 2cc885d1b157996aa14c98e34f7aa17815d00c41 |
8 $(PKG)_SUBDIR := GraphicsMagick-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := GraphicsMagick-$($(PKG)_VERSION) |
9 $(PKG)_FILE := GraphicsMagick-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := GraphicsMagick-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := zlib bzip2 jpeg jasper lcms libpng tiff freetype libxml2 | 11 $(PKG)_DEPS := zlib bzip2 libjbig jpeg jasper lcms libpng tiff freetype libxml2 |
12 ifneq ($(MXE_SYSTEM),msvc) | 12 ifneq ($(MXE_SYSTEM),msvc) |
13 $(PKG)_DEPS += pthreads libtool | 13 $(PKG)_DEPS += pthreads libtool |
14 endif | 14 endif |
15 | |
16 $(PKG)_CONFIGURE_OPTIONS := | |
17 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
18 $(PKG)_CONFIGURE_OPTIONS += ac_cv_func_clock_getres=no ac_cv_func_clock_gettime=no | |
19 endif | |
20 | |
15 | 21 |
16 define $(PKG)_UPDATE | 22 define $(PKG)_UPDATE |
17 $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \ | 23 $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \ |
18 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | 24 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
19 head -1 | 25 head -1 |
21 | 27 |
22 define $(PKG)_BUILD | 28 define $(PKG)_BUILD |
23 # This can be removed once the patch "graphicsmagick-1-fix-xml2-config.patch" is accepted by upstream | 29 # This can be removed once the patch "graphicsmagick-1-fix-xml2-config.patch" is accepted by upstream |
24 cd '$(1)' && autoconf | 30 cd '$(1)' && autoconf |
25 cd '$(1)' && ./configure \ | 31 cd '$(1)' && ./configure \ |
32 $($(PKG)_CONFIGURE_OPTIONS) \ | |
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
27 $(ENABLE_SHARED_OR_STATIC) \ | 34 $(ENABLE_SHARED_OR_STATIC) \ |
28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 35 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
29 --prefix='$(HOST_PREFIX)' \ | 36 --prefix='$(HOST_PREFIX)' \ |
30 --disable-openmp \ | 37 --disable-openmp \ |
34 --without-perl \ | 41 --without-perl \ |
35 --with-bzlib \ | 42 --with-bzlib \ |
36 --without-dps \ | 43 --without-dps \ |
37 --without-fpx \ | 44 --without-fpx \ |
38 --without-gslib \ | 45 --without-gslib \ |
39 --without-jbig \ | 46 --with-jbig \ |
40 --with-jpeg \ | 47 --with-jpeg \ |
41 --with-jp2 \ | 48 --with-jp2 \ |
42 --with-lcms2 \ | 49 --with-lcms2 \ |
43 --with-png \ | 50 --with-png \ |
44 --with-tiff \ | 51 --with-tiff \ |