annotate src/cairo.mk @ 261:779eb35575ed

corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 01 Mar 2009 02:26:09 +0100
parents 51a5ca86e401
children 5bf9071e67b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # cairo
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # http://cairographics.org/
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := cairo
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_VERSION := 1.8.6
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := cairo-$($(PKG)_VERSION)
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := cairo-$($(PKG)_VERSION).tar.gz
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://cairographics.org/releases/$($(PKG)_FILE)
261
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
9 $(PKG)_DEPS := gcc zlib libpng fontconfig freetype pthreads pixman
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://cairographics.org/releases/' | \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 grep 'LATEST-cairo-' | \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*"LATEST-cairo-\([1-9][^"]*\)".*,\1,p' | \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
261
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
19 sed 's,^\(Libs:.*\),\1 @CAIRO_NONPKGCONFIG_LIBS@,' -i '$(1)/src/cairo.pc.in'
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
261
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
24 --disable-gtk-doc \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
25 --disable-test-surfaces \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
26 --disable-gcov \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
27 --disable-xlib \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
28 --disable-xlib-xrender \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
29 --disable-xcb \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
30 --disable-quartz \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
31 --disable-quartz-font \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
32 --disable-quartz-image \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
33 --disable-os2 \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
34 --disable-beos \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
35 --disable-glitz \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
36 --disable-directfb \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
37 --enable-win32 \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
38 --enable-win32-font \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
39 --enable-png \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
40 --enable-ft \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
41 --enable-ps \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
42 --enable-pdf \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
43 --enable-svg \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
44 --enable-pthread \
779eb35575ed corrected library dependencies and disabled dangling DLL stuff in packages atk, cairo, fontconfig, glib, gtk and pango
Volker Grabsch <vog@notjusthosting.com>
parents: 260
diff changeset
45 LIBS="-lmsimg32 -lpthread -lws2_32 `$(TARGET)-pkg-config pixman-1 --libs`"
260
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
51a5ca86e401 new packages: jasper, pixman, cairo, pango, atk and gtk
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 endef