Mercurial > mxe-octave
view src/libgsf.mk @ 5271:8ce9f378be7c
Add of-audio package
* src/of-audio.mk: new file
* Makefile.in, index.html, dist-files.mk: add of-audio
* binary-dist-rules.mk: remove windows dep on rtmidi as is included from of-audio
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 17 Jan 2020 06:18:07 -0500 |
parents | 038985c3bde2 |
children | b19af28f7ee3 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libgsf $(PKG)_IGNORE := $(PKG)_VERSION := 1.14.27 $(PKG)_CHECKSUM := b6082b71bf9d6e1cdafde9628cae58fcedc4a8fd $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION) $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := zlib bzip2 glib libxml2 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS += intltool endif define $(PKG)_UPDATE $(WGET) -q -O- https://github.com/GNOME/libgsf/tags | \ $(SED) -n 's|.*releases/tag/LIBGSF_\([^"]*\).*|\1|p' | \ $(SED) 's,_,.,g' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in $(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --disable-nls \ --disable-gtk-doc \ --with-zlib \ --with-bz2 \ PKG_CONFIG='$(MXE_PKG_CONFIG)' \ PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef