# HG changeset patch # User John Donoghue # Date 1579259887 18000 # Node ID 8ce9f378be7ced75c4d7ba97c34c3440b350cb1d # Parent 225fc4d8f5988161420854c856d3dd84f2c7a8da 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 diff -r 225fc4d8f598 -r 8ce9f378be7c Makefile.in --- 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))) diff -r 225fc4d8f598 -r 8ce9f378be7c binary-dist-rules.mk --- 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 := \ diff -r 225fc4d8f598 -r 8ce9f378be7c dist-files.mk --- 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 \ diff -r 225fc4d8f598 -r 8ce9f378be7c index.html --- 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 @@ Octave Forge actuarial package + of-audio + Octave Forge audio package + + of-communications Octave Forge communications package diff -r 225fc4d8f598 -r 8ce9f378be7c src/of-audio.mk --- /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