summaryrefslogtreecommitdiff
path: root/audio/wavpack/Makefile
blob: f7142f1799741e70f758ce290611a71fcf1c3aa5 (plain)
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
# Created by: Koop Mast <kwm@FreeBSD.org>

PORTNAME=	wavpack
DISTVERSION=	5.5.0
CATEGORIES=	audio
MASTER_SITES=	https://github.com/dbry/WavPack/releases/download/${DISTVERSION}/ \
		http://www.wavpack.com/

PATCH_SITES=	https://github.com/dbry/WavPack/commit/
PATCHFILES=	081a14557ada1f76f8807e00fccc5d71b9c96313.patch:-p1

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	Audio codec for lossless, lossy, and hybrid compression

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cmake:testing cpe iconv pathfix pkgconfig ssl tar:xz
USE_LDCONFIG=	yes

CMAKE_OFF=	BUILD_TESTING WAVPACK_BUILD_DOCS
CMAKE_ON=	BUILD_SHARED_LIBS

OPTIONS_DEFINE=	ASM
OPTIONS_DEFAULT=ASM

ASM_CMAKE_BOOL=	WAVPACK_ENABLE_ASM

.include <bsd.port.mk>