comparison src/graphicsmagick.mk @ 5770:c23139e3560e

GraphicsMagick: Build upstream version of dcraw (bug #60664). * src/mingw-graphicsmagick-1-dcraw.patch: Add upstream version of dcraw (as of GraphicsMagick 1.3.36). * src/graphicsmagick.mk: Build (and install) dcraw. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 04 Jun 2021 13:27:22 +0200
parents e5f28b58b6d4
children 7ac858194666
comparison
equal deleted inserted replaced
5769:5bf7c01b1bf7 5770:c23139e3560e
30 cd '$(1)' && autoconf 30 cd '$(1)' && autoconf
31 cd '$(1)' && ./configure \ 31 cd '$(1)' && ./configure \
32 $($(PKG)_CONFIGURE_OPTIONS) \ 32 $($(PKG)_CONFIGURE_OPTIONS) \
33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
34 $(ENABLE_SHARED_OR_STATIC) \ 34 $(ENABLE_SHARED_OR_STATIC) \
35 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ 35 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
36 --prefix='$(HOST_PREFIX)' \ 36 --prefix='$(HOST_PREFIX)' \
37 --disable-openmp \ 37 --disable-openmp \
38 --with-modules \ 38 --with-modules \
39 --with-threads \ 39 --with-threads \
40 --with-magick-plus-plus \ 40 --with-magick-plus-plus \
53 --with-ttf='$(HOST_PREFIX)' \ 53 --with-ttf='$(HOST_PREFIX)' \
54 --without-wmf \ 54 --without-wmf \
55 --with-xml \ 55 --with-xml \
56 --with-zlib \ 56 --with-zlib \
57 --without-x \ 57 --without-x \
58 --with-quantum-depth=16 \ 58 --with-quantum-depth=16 \
59 ac_cv_prog_xml2_config='$(HOST_BINDIR)/xml2-config' \ 59 ac_cv_prog_xml2_config='$(HOST_BINDIR)/xml2-config' \
60 ac_cv_path_xml2_config='$(HOST_BINDIR)/xml2-config' \ 60 ac_cv_path_xml2_config='$(HOST_BINDIR)/xml2-config' \
61 && $(CONFIGURE_POST_HOOK) 61 && $(CONFIGURE_POST_HOOK)
62 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= 62 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS=
63 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= DESTDIR='$(3)' 63 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= DESTDIR='$(3)'
64 64
65 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ 65 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
66 rm -rf "$(3)$(HOST_PREFIX)/share/doc/GraphicsMagick"; \ 66 rm -rf "$(3)$(HOST_PREFIX)/share/doc/GraphicsMagick"; \
67 fi 67 fi
68
69 # Build (and install) fork of dcraw
70 if [ "x$(MXE_WINDOWS_BUILD)" == "xyes" ]; then \
71 cd '$(1)/dcraw' && $(MXE_CC) -O4 -o $(3)$(HOST_PREFIX)/bin/dcraw dcraw.c \
72 -Wall -Wno-unused-result -Wno-array-bounds -Wno-maybe-uninitialized \
73 -Wno-unused-but-set-variable \
74 -I$(HOST_PREFIX)/include -L$(HOST_PREFIX)/lib \
75 -lm -ljasper -ljpeg -llcms2 -lws2_32 -s; \
76 fi
77
68 endef 78 endef