Mercurial > mxe-octave
view src/rtmidi.mk @ 7136:f076b7e562b0
of-communications: Add patch for missing include of <cassert>.
* src/of-communications-1-cassert.patch: Add new file.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 28 Mar 2024 19:46:19 +0100 |
parents | 9b15f341bf2b |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := rtmidi $(PKG)_IGNORE := $(PKG)_VERSION := 6.0.0 $(PKG)_CHECKSUM := baca7e388062ec406cbcfe3ea7a2697541428a1e $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := https://github.com/thestk/$(PKG)/archive/$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := $(PKG)_CMAKE_FLAGS := define $(PKG)_UPDATE $(call GITHUB_PKG_UPDATE,thestk,rtmidi,[v]*) endef define $(PKG)_BUILD cd '$(1)' && ./autogen.sh --no-configure && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ ac_cv_prog_DOXYGEN= \ --prefix='$(HOST_PREFIX)' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= $(MXE_DISABLE_DOCS) if [ "$(MXE_WINDOWS_BUILD)" == "no" ]; then \ $(SED) -i 's,^Requires,PrivateRequires,' '$(1)/rtmidi.pc'; \ fi $(MAKE) -C '$(1)' -j '1' noinst_PROGRAMS= DESTDIR='$(3)' $(MXE_DISABLE_DOCS) install endef