annotate src/portaudio.mk @ 4300:90a5bdf9f501

portaudio: update to v19.6 * src/portaudio-1-win32.patch: updated patch * src/portaudio.mk: update version, checksum
author John D
date Fri, 30 Dec 2016 08:53:44 -0500
parents f96ff976ede7
children 843dc4524892
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 :=
4300
90a5bdf9f501 portaudio: update to v19.6
John D
parents: 3955
diff changeset
6 $(PKG)_VERSION := 190600_20161030
90a5bdf9f501 portaudio: update to v19.6
John D
parents: 3955
diff changeset
7 $(PKG)_CHECKSUM := 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
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
8 $(PKG)_SUBDIR := portaudio
2688
52c2d81ac7d5 Update PortAudio v19 from 20071207 to 20111121
Stefan Hajnoczi <stefanha@gmail.com>
parents: 2525
diff changeset
9 $(PKG)_FILE := pa_stable_v$($(PKG)_VERSION).tgz
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
10 $(PKG)_URL := http://www.portaudio.com/archives/$($(PKG)_FILE)
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
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
22 $(WGET) -q -O- 'http://www.portaudio.com/download.html' | \
2804
f61e6eda0c2b package portaudio: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents: 2733
diff changeset
23 $(SED) -n 's,.*pa_stable_v\([0-9][^>]*\)\.tgz.*,\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