summaryrefslogtreecommitdiff
path: root/audio/flacon/Makefile
blob: 81bdf72142c0c4fbe91bd8ebb403eb122c8c10ae (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
30
31
32
PORTNAME=	flacon
PORTVERSION=	9.2.0
DISTVERSIONPREFIX=	v
CATEGORIES=	audio

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Graphical audio file extractor and encoder
WWW=		https://flacon.github.io/

LICENSE=	LGPL21+

LIB_DEPENDS=	libtag.so:audio/taglib \
		libuchardet.so:textproc/uchardet
TEST_DEPENDS=	alacenc:audio/alacenc \
		faac:audio/faac flac:audio/flac \
		lame:audio/lame mac:audio/mac \
		mediainfo:multimedia/mediainfo \
		oggenc:audio/vorbis-tools \
		opusenc:audio/opus-tools \
		ttaenc:audio/tta wavpack:audio/wavpack

USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig qt:5
USE_GITHUB=	yes
USE_QT=		buildtools_build concurrent_build qmake_build testlib_build \
		linguisttools_build core gui network widgets
CMAKE_ARGS=	-DBUILD_TESTS:BOOL=YES

do-test:
	@cd ${TEST_WRKSRC} && LC_ALL=C.UTF-8 ctest -C ${CMAKE_BUILD_TYPE} \
		${_MAKE_JOBS}

.include <bsd.port.mk>