Mercurial > mxe-octave
comparison src/gtk.mk @ 904:5274217e4095
upgrade patckages glib gtk
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Tue, 20 Apr 2010 14:43:08 +0200 |
parents | 0ed1ba56ce8e |
children | f0e89176cc72 |
comparison
equal
deleted
inserted
replaced
903:a8550358d2db | 904:5274217e4095 |
---|---|
2 # See doc/index.html for further information. | 2 # See doc/index.html for further information. |
3 | 3 |
4 # GTK+ | 4 # GTK+ |
5 PKG := gtk | 5 PKG := gtk |
6 $(PKG)_IGNORE := | 6 $(PKG)_IGNORE := |
7 $(PKG)_VERSION := 2.19.6 | 7 $(PKG)_VERSION := 2.20.0 |
8 $(PKG)_CHECKSUM := 0a42eeee67fe2f3022f39fdf1a2a3817e520c0ff | 8 $(PKG)_CHECKSUM := db8a8f1040a813fc1a7872d38b675b4805fa0446 |
9 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) | 9 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) |
10 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.bz2 | 10 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.bz2 |
11 $(PKG)_WEBSITE := http://www.gtk.org/ | 11 $(PKG)_WEBSITE := http://www.gtk.org/ |
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc gettext libpng jpeg tiff jasper glib atk pango cairo | 13 $(PKG)_DEPS := gcc gettext libpng jpeg tiff jasper glib atk pango cairo |
32 $(SED) -i 's,"[^"]*must build as DLL[^"]*","(disabled warning)",' '$(1)/configure' | 32 $(SED) -i 's,"[^"]*must build as DLL[^"]*","(disabled warning)",' '$(1)/configure' |
33 $(SED) -i 's,enable_static=no,enable_static=yes,' '$(1)/configure' | 33 $(SED) -i 's,enable_static=no,enable_static=yes,' '$(1)/configure' |
34 $(SED) -i 's,enable_shared=yes,enable_shared=no,' '$(1)/configure' | 34 $(SED) -i 's,enable_shared=yes,enable_shared=no,' '$(1)/configure' |
35 $(SED) -i 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJASPER,\1 $$LIBJASPER $$LIBJPEG,' '$(1)/configure' | 35 $(SED) -i 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJASPER,\1 $$LIBJASPER $$LIBJPEG,' '$(1)/configure' |
36 $(SED) -i 's/-Wl,-luuid/-luuid/' '$(1)/configure' | 36 $(SED) -i 's/-Wl,-luuid/-luuid/' '$(1)/configure' |
37 $(SED) -i 's/gio-unix/gio-windows/' '$(1)/configure' | |
37 # wine confuses the cross-compiling detection, so set it explicitly | 38 # wine confuses the cross-compiling detection, so set it explicitly |
38 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' | 39 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
39 cd '$(1)' && ./configure \ | 40 cd '$(1)' && ./configure \ |
40 --host='$(TARGET)' \ | 41 --host='$(TARGET)' \ |
41 --disable-shared \ | 42 --disable-shared \ |