diff options
author | Saikrishna Arcot <saiarcot895@gmail.com> | 2016-06-04 18:10:55 (GMT) |
---|---|---|
committer | Saikrishna Arcot <saiarcot895@gmail.com> | 2016-06-05 14:48:36 (GMT) |
commit | 62c2fcbb154fbf5e899f90f492fb124158a1030c (patch) | |
tree | a776ba4c35611a37997d3e76055374e17cecec6d /plugins | |
parent | 02995af840e2d2fb450d9fec3a24aa82f0380860 (diff) | |
download | mxe-62c2fcbb154fbf5e899f90f492fb124158a1030c.zip mxe-62c2fcbb154fbf5e899f90f492fb124158a1030c.tar.gz mxe-62c2fcbb154fbf5e899f90f492fb124158a1030c.tar.bz2 |
Add plugin file to compile some libraries with Qt 5 only (instead of using Qt 4).
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/qt5-deps/overrides.mk | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/plugins/qt5-deps/overrides.mk b/plugins/qt5-deps/overrides.mk new file mode 100644 index 0000000..403f1b3 --- /dev/null +++ b/plugins/qt5-deps/overrides.mk @@ -0,0 +1,60 @@ +# This file is part of MXE. +# See index.html for further information. + +poppler_DEPS := gcc cairo curl freetype glib jpeg lcms libpng qtbase tiff zlib + +define poppler_BUILD + # Note: Specifying LIBS explicitly is necessary for configure to properly + # pick up libtiff (otherwise linking a minimal test program fails not + # because libtiff is not found, but because some references are + # undefined) + cd '$(1)' \ + && PATH='$(PREFIX)/$(TARGET)/qt/bin:$(PATH)' \ + ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-silent-rules \ + --disable-shared \ + --enable-static \ + --enable-xpdf-headers \ + --enable-poppler-qt5 \ + --enable-zlib \ + --enable-cms=lcms2 \ + --enable-libcurl \ + --enable-libtiff \ + --enable-libjpeg \ + --enable-libpng \ + --enable-poppler-glib \ + --enable-poppler-cpp \ + --enable-cairo-output \ + --enable-splash-output \ + --enable-compile-warnings=yes \ + --enable-introspection=auto \ + --disable-libopenjpeg \ + --disable-gtk-test \ + --disable-utils \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --with-font-configuration=win32 \ + PKG_CONFIG_PATH_$(subst .,_,$(subst -,_,$(TARGET)))='$(PREFIX)/$(TARGET)/qt/lib/pkgconfig' \ + CXXFLAGS=-D_WIN32_WINNT=0x0500 \ + LIBTIFF_LIBS="`'$(TARGET)-pkg-config' libtiff-4 --libs`" + PATH='$(PREFIX)/$(TARGET)/qt/bin:$(PATH)' \ + $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + + # Test program + '$(TARGET)-g++' \ + -W -Wall -Werror -ansi -pedantic \ + '$(2).cxx' -o '$(PREFIX)/$(TARGET)/bin/test-poppler.exe' \ + `'$(TARGET)-pkg-config' poppler poppler-cpp --cflags --libs` +endef + +poppler_BUILD_SHARED = + +openscenegraph_DEPS := gcc boost curl dcmtk freetype gdal giflib gstreamer \ + gta jasper jpeg libpng openal openexr openthreads poppler \ + qtbase tiff zlib + |