28b597f5d6
Since version 10.0.0 the program does not use external utilities to calculate Replay Gain, the built-in method is used instead. This accelerated the conversion process and reduced the number of dependencies (particularly, metaflac, mp3gain, vorbisgain, and wvgain are no longer needed). Reported by: portscout
32 lines
896 B
Makefile
32 lines
896 B
Makefile
PORTNAME= flacon
|
|
PORTVERSION= 11.1.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 sox:audio/sox \
|
|
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>
|