comparison src/libgsf.mk @ 3135:8147e6f8659a

[MSVC] enable libgsf compilation - bump version to 1.14.27 - update generic patch - add MSVC-specific patch
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 13 Jul 2013 00:35:02 -0400
parents 5ef49fb3299d
children 6c87330db7c6
comparison
equal deleted inserted replaced
3134:d0564e676d38 3135:8147e6f8659a
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := libgsf 4 PKG := libgsf
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := 4f19933342b2d42246200e3522b0797a032fdf19 6 $(PKG)_CHECKSUM := b6082b71bf9d6e1cdafde9628cae58fcedc4a8fd
7 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION)
8 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz 8 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) 9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
10 $(PKG)_DEPS := zlib bzip2 glib libxml2 10 $(PKG)_DEPS := zlib bzip2 glib libxml2
11
12 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
13 $(PKG)_DEPS += intltool
14 endif
11 15
12 define $(PKG)_UPDATE 16 define $(PKG)_UPDATE
13 $(WGET) -q -O- 'http://git.gnome.org/browse/libgsf/refs/tags' | \ 17 $(WGET) -q -O- 'http://git.gnome.org/browse/libgsf/refs/tags' | \
14 grep '<a href=' | \ 18 grep '<a href=' | \
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGSF_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \ 19 $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGSF_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
25 $(ENABLE_SHARED_OR_STATIC) \ 29 $(ENABLE_SHARED_OR_STATIC) \
26 --prefix='$(HOST_PREFIX)' \ 30 --prefix='$(HOST_PREFIX)' \
27 --disable-nls \ 31 --disable-nls \
28 --disable-gtk-doc \ 32 --disable-gtk-doc \
29 --without-python \
30 --with-zlib \ 33 --with-zlib \
31 --with-bz2 \ 34 --with-bz2 \
32 --with-gio \ 35 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
33 PKG_CONFIG='$(MXE_PKG_CONFIG)' 36 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
34 $(MAKE) -C '$(1)' -j '$(JOBS)' install-pkgconfigDATA 37 && $(CONFIGURE_POST_HOOK)
35 $(MAKE) -C '$(1)/gsf' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 38
39 $(MAKE) -C '$(1)' -j '$(JOBS)'
40 $(MAKE) -C '$(1)' -j 1 install
36 endef 41 endef