annotate src/portaudio.mk @ 6234:97c5f8da5036 release

* src/librsb.mk: update to 1.2.0.11
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 27 May 2022 12:24:32 +0200
parents 117991e4ce12
children 4b8764444acb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1656
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := portaudio
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5866
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
6 $(PKG)_VERSION := 19.7.0
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
7 $(PKG)_CHECKSUM := 90676f9b7856bf100b396d8f14cc95bbfb91fa40
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
10 $(PKG)_URL := https://github.com/PortAudio/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
11 $(PKG)_DEPS :=
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
3955
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
13 $(PKG)_SYSDEP_OPTIONS :=
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
14 ifeq ($(MXE_SYSTEM),mingw)
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
15 $(PKG)_SYSDEP_OPTIONS += \
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
16 --with-host_os=mingw \
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
17 --with-winapi=wmme,directx \
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
18 --with-dxdir=$(HOST_PREFIX)
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
19 endif
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
20
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_UPDATE
5866
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
22 $(WGET) -q -O- 'https://github.com/PortAudio/portaudio/tags' | \
117991e4ce12 * src/portaudio.mk: use github files
John Donoghue <john.donoghue@ieee.org>
parents: 5754
diff changeset
23 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 head -1
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 endef
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 define $(PKG)_BUILD
670
73d6b9460f74 improved coding style in package portaudio
Volker Grabsch <vog@notjusthosting.com>
parents: 666
diff changeset
28 cd '$(1)' && autoconf
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
29 # libtool looks for a pei* format when linking shared libs
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
30 # apparently there's no real difference b/w pei and pe
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
31 # so we set the libtool cache variables
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
32 # https://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libpei.h?annotate=1.25&cvsroot=src
670
73d6b9460f74 improved coding style in package portaudio
Volker Grabsch <vog@notjusthosting.com>
parents: 666
diff changeset
33 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3942
f9273cae479a portaudio: add missing \ after configure prefix
John Donoghue
parents: 3776
diff changeset
35 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2804
diff changeset
36 $(ENABLE_SHARED_OR_STATIC) \
3955
f96ff976ede7 portaudio: only set mingw flags when compiling for mingw (Bug #45175)
John D
parents: 3942
diff changeset
37 $($(PKG)_SYSDEP_OPTIONS) \
3776
5fd074e27f85 audio: updates for libsound, portaudio
John Donoghue <john.donoghue@ieee.org>
parents: 3641
diff changeset
38 ac_cv_path_AR=$(MXE_AR) \
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
39 $(if $(filter $(BUILD_SHARED),yes),\
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
40 lt_cv_deplibs_check_method='file_magic file format (pe-i386|pe-x86-64)' \
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
41 lt_cv_file_magic_cmd='$$OBJDUMP -f')
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
42 $(MAKE) -C '$(1)' -j '$(JOBS)' $(if $(filter $(BUILD_STATIC),yes),SHARED_FLAGS=) TESTS=
1656
7fb51f6d31af package portaudio: add test program, disable built-in tests, and remove superflous shared flag
Tony Theodore <tonyt@logyst.com>
parents: 854
diff changeset
43 $(MAKE) -C '$(1)' -j 1 install
7fb51f6d31af package portaudio: add test program, disable built-in tests, and remove superflous shared flag
Tony Theodore <tonyt@logyst.com>
parents: 854
diff changeset
44
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 endef
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
46