aboutsummaryrefslogtreecommitdiff
path: root/audio/pcaudiolib/Makefile
blob: 40667846d79f8c5f724f74e5203f6b6e44694aeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	pcaudiolib
DISTVERSION=	1.2
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${DISTVERSION}/

MAINTAINER=	se@FreeBSD.org
COMMENT=	Portable C audio library
WWW=		https://github.com/espeak-ng/pcaudiolib

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		libtool pkgconfig
#USE_GITHUB=	yes
GH_ACCOUNT=	espeak-ng
GNU_CONFIGURE=	yes

OPTIONS_DEFAULT=	OSS
OPTIONS_MULTI=		BACKEND
OPTIONS_MULTI_BACKEND=	ALSA OSS PULSEAUDIO

ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio

ALSA_CONFIGURE_WITH=		alsa
OSS_CONFIGURE_WITH=		oss
PULSEAUDIO_CONFIGURE_WITH=	pulseaudio

.include <bsd.port.mk>