freebsd-ports/audio/praat/files/makefile.defs.freebsd.alsa
Jan Beich 71c5bb8a43 audio/praat: unbreak sound support
Portaudio doesn't work with alsa-plugins-oss, so switch to native OSS.

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[...]

PR:		208728
Reported by:	kaltheat@gmail.com
Approved by:	Jason Bacon <bacon4000@gmail.com> (maintainer)
MFH:		2016Q2
2016-04-14 21:35:33 +00:00

25 lines
983 B
Text

# $FreeBSD$
# File: makefile.defs.linux.alsa
# System: Linux
# Paul Boersma, 26 October 2013
CC ?= gcc
CXX ?= g++
CFLAGS = -std=gnu99 -DUNIX -Dlinux -DHAVE_SYS_SOUNDCARD_H `pkg-config --cflags gtk+-2.0` -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O1 -g1
CXXFLAGS = -std=gnu++11 -Wshadow -DUNIX -Dlinux -DHAVE_SYS_SOUNDCARD_H `pkg-config --cflags gtk+-2.0` -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O1 -g1 -I%%WRKSRC%%/sys -I%%WRKSRC%%/dwsys -I%%WRKSRC%%/num -I%%WRKSRC%%/stat -I%%WRKSRC%%/kar -I%%WRKSRC%%/dwtools -I%%WRKSRC%%/fon -I%%WRKSRC%%/LPC -I%%WRKSRC%%/EEG -I%%WRKSRC%%/external/espeak -I%%WRKSRC%%/external/flac -I%%WRKSRC%%/external/mp3 -I%%WRKSRC%%/external/gsl -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/unicode
LINK ?= $(CXX)
EXECUTABLE = praat
LIBS = `pkg-config --libs gtk+-2.0` -L%%LOCALBASE%%/lib -lm -lpthread -ltinfow
AR = ar
RANLIB = ls
ICON =
MAIN_ICON =
PA_BACKEND = pa_unix_oss.o