summaryrefslogtreecommitdiffstats
path: root/src/cairo.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-03-01 01:26:09 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-03-01 01:26:09 (GMT)
commit78ccfaaa6503d81ae2a1166ea455ac722647de8f (patch)
tree4490ccf7607998eb805bf81bb48d34d5c9c2184d /src/cairo.mk
parent15da76cfb3242059fde1d65a19823b005b39963e (diff)
downloadmxe-78ccfaaa6503d81ae2a1166ea455ac722647de8f.zip
mxe-78ccfaaa6503d81ae2a1166ea455ac722647de8f.tar.gz
mxe-78ccfaaa6503d81ae2a1166ea455ac722647de8f.tar.bz2
corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Diffstat (limited to 'src/cairo.mk')
-rw-r--r--src/cairo.mk26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/cairo.mk b/src/cairo.mk
index c5008de..a81bdef 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -6,7 +6,7 @@ $(PKG)_VERSION := 1.8.6
$(PKG)_SUBDIR := cairo-$($(PKG)_VERSION)
$(PKG)_FILE := cairo-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc zlib libpng fontconfig freetype pthreads
+$(PKG)_DEPS := gcc zlib libpng fontconfig freetype pthreads pixman
define $(PKG)_UPDATE
wget -q -O- 'http://cairographics.org/releases/' | \
@@ -16,10 +16,32 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ sed 's,^\(Libs:.*\),\1 @CAIRO_NONPKGCONFIG_LIBS@,' -i '$(1)/src/cairo.pc.in'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
- --disable-gtk-doc
+ --disable-gtk-doc \
+ --disable-test-surfaces \
+ --disable-gcov \
+ --disable-xlib \
+ --disable-xlib-xrender \
+ --disable-xcb \
+ --disable-quartz \
+ --disable-quartz-font \
+ --disable-quartz-image \
+ --disable-os2 \
+ --disable-beos \
+ --disable-glitz \
+ --disable-directfb \
+ --enable-win32 \
+ --enable-win32-font \
+ --enable-png \
+ --enable-ft \
+ --enable-ps \
+ --enable-pdf \
+ --enable-svg \
+ --enable-pthread \
+ LIBS="-lmsimg32 -lpthread -lws2_32 `$(TARGET)-pkg-config pixman-1 --libs`"
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef