Skip to content
Snippets Groups Projects
Commit a6e4e0d3 authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

audio/portaudio: Install missing source files to build examples.

PR: 267181
Approved by: pi (implicit)
parent f7ed2f7d
No related branches found
No related tags found
No related merge requests found
PORTNAME= portaudio
PORTVERSION= 19.6.0
PORTREVISION= 6
PORTREVISION= 7
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
......@@ -34,6 +34,8 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES JACK PATEST SNDIO
OPTIONS_SUB= yes
SUB_FILES= pkg-message
PATEST_DESC= PortAudio Test Programs
DOXYGEN_IMPLIES= DOCS
......@@ -69,6 +71,8 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/bindings/cpp/example/*.cxx \
${WRKSRC}/examples/*.c ${WRKSRC}/examples/*.cpp \
${WRKSRC}/src/os/unix/*.[ch] \
${WRKSRC}/src/common/*.[ch] \
${STAGEDIR}${EXAMPLESDIR}
post-install-PATEST-on:
......
[
{ type: install
message: <<EOM
%%EXAMPLES%%#
%%EXAMPLES%%# PortAudio test programs can be built like this:
%%EXAMPLES%%#
%%EXAMPLES%%# cd %%EXAMPLESDIR%%
%%EXAMPLES%%# cc -L%%PREFIX%%/lib -lm -lpthread -lportaudio -I%%PREFIX%%/include \
%%EXAMPLES%%# pa_unix*.c pa_allocation.c pa_ringbuffer.c pa_debugprint.c \
%%EXAMPLES%%# pa_front.c paex_ocean_shore.c
%%EXAMPLES%%#
EOM
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment