Mercurial > mxe-octave
view src/gtk3.mk @ 4606:86c3c1fd16f1
build-gcc, native-gcc: build with --enable-threads=posix
* build-gcc.mk, native-gcc.mk: Use --enable-threads=posix. Update
build rules. Disable multilib (no longer needed for nsis).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 26 Feb 2018 10:37:40 -0500 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gtk3 $(PKG)_IGNORE := $(PKG)_VERSION := 3.8.2 $(PKG)_CHECKSUM := c519b553b618588f288c70ea5dce1145588944eb $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := gettext libpng jpeg tiff jasper glib atk pango cairo gdk-pixbuf define $(PKG)_UPDATE $(WGET) -q -O- 'http://git.gnome.org/browse/gtk+/refs/tags' | \ grep '<a href=' | \ $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ grep -v '^3\.9' | \ grep '^3\.' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-explicit-deps \ --disable-glibtest \ --disable-modules \ --disable-cups \ --disable-test-print-backend \ --disable-gtk-doc \ --disable-man \ --with-included-immodules \ --without-x \ PKG_CONFIG='$(MXE_PKG_CONFIG)' \ PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= endef