Mercurial > mxe-octave
annotate src/rtmidi.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | b2c17c16eb92 |
children | 9ac742fcf2d2 |
rev | line source |
---|---|
5154 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := rtmidi | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 4.0.0 | |
7 $(PKG)_CHECKSUM := 227513d9087d95e171ccf42c7b7e2fe9c5040e27 | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
10 $(PKG)_URL := https://github.com/thestk/$(PKG)/archive/$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_DEPS := | |
12 | |
13 $(PKG)_CMAKE_FLAGS := | |
14 | |
15 define $(PKG)_UPDATE | |
5155 | 16 $(WGET) -q -O- 'https://github.com/thestk/$(PKG)/tags' | \ |
17 $(SED) -n 's|.*releases/tag/[v]\{0,1\}\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
5154 | 18 tail -1 |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 | |
23 cd '$(1)' && ./autogen.sh --no-configure && ./configure \ | |
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
26 $(ENABLE_SHARED_OR_STATIC) \ | |
27 ac_cv_prog_DOXYGEN= \ | |
28 --prefix='$(HOST_PREFIX)' \ | |
29 && $(CONFIGURE_POST_HOOK) | |
30 | |
31 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= $(MXE_DISABLE_DOCS) | |
5275
b2c17c16eb92
* src/rtmidi.mk: disable pkg-config dependancies in native mode
John Donoghue
parents:
5155
diff
changeset
|
32 if [ "$(MXE_WINDOWS_BUILD)" == "no" ]; then \ |
b2c17c16eb92
* src/rtmidi.mk: disable pkg-config dependancies in native mode
John Donoghue
parents:
5155
diff
changeset
|
33 $(SED) -i 's,^Requires,PrivateRequires,' '$(1)/rtmidi.pc'; \ |
b2c17c16eb92
* src/rtmidi.mk: disable pkg-config dependancies in native mode
John Donoghue
parents:
5155
diff
changeset
|
34 fi |
5154 | 35 $(MAKE) -C '$(1)' -j '1' noinst_PROGRAMS= DESTDIR='$(3)' $(MXE_DISABLE_DOCS) install |
36 endef |