changeset 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 225fc4d8f598
children ed0f6eaf1280
files Makefile.in binary-dist-rules.mk dist-files.mk index.html src/of-audio.mk
diffstat 5 files changed, 31 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Wed Jan 15 09:33:28 2020 -0500
+++ b/Makefile.in	Fri Jan 17 06:18:07 2020 -0500
@@ -513,7 +513,7 @@
 OCTAVE_FORGE_BASE_URL := 'https://sourceforge.net/projects/octave/files/Octave Forge Packages/Individual Package Releases'
 ## Packages removed from list because build is broken:
 ## None.
-OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim general signal communications image io statistics control geometry windows linear-algebra sockets data-smoothing fuzzy-logic-toolkit quaternion fits tsa netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq gsl optiminterp dicom sparsersb)
+OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim general signal communications image io statistics control geometry windows linear-algebra sockets data-smoothing fuzzy-logic-toolkit quaternion fits tsa netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq gsl optiminterp dicom sparsersb audio)
 # get ALL deps for all of- packages, regardless of whether building the actual forge package in the installer
 OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_FORGE_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p)))
 
--- a/binary-dist-rules.mk	Wed Jan 15 09:33:28 2020 -0500
+++ b/binary-dist-rules.mk	Fri Jan 17 06:18:07 2020 -0500
@@ -52,8 +52,7 @@
 
   # other packages we want to include
   WINDOWS_BINARY_DIST_DEPS += \
-    libbiosig \
-    rtmidi
+    libbiosig
 endif
 
 BINARY_DIST_DEPS := \
--- a/dist-files.mk	Wed Jan 15 09:33:28 2020 -0500
+++ b/dist-files.mk	Fri Jan 17 06:18:07 2020 -0500
@@ -451,6 +451,7 @@
   ocaml-native-1-fixes.patch \
   ocaml-native.mk \
   of-actuarial.mk \
+  of-audio.mk \
   of-communications.mk \
   of-control.mk \
   of-data-smoothing.mk \
--- a/index.html	Wed Jan 15 09:33:28 2020 -0500
+++ b/index.html	Fri Jan 17 06:18:07 2020 -0500
@@ -2170,6 +2170,10 @@
         <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge actuarial package</a></td>
     </tr>
     <tr>
+        <td class="package">of-audio</td>
+        <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge audio package</a></td>
+    </tr>
+    <tr>
         <td class="package">of-communications</td>
         <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge communications package</a></td>
     </tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-audio.mk	Fri Jan 17 06:18:07 2020 -0500
@@ -0,0 +1,24 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-audio
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 2.0.0
+$(PKG)_CHECKSUM := 2cdadf269fb2652667ab69c52bf24b69ccd69b7d
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := audio-$($(PKG)_VERSION)
+$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
+$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
+$(PKG)_DEPS     := rtmidi
+
+ifeq ($(ENABLE_BINARY_PACKAGES),yes)
+    $(PKG)_DEPS += $(OCTAVE_TARGET)
+endif
+
+define $(PKG)_UPDATE
+    $(OCTAVE_FORGE_PKG_UPDATE)
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef