aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-29 11:20:20 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-11-29 11:20:21 +0000
commitd6fce2bfd6e19a48689ca8a9c945ac89d0e727e0 (patch)
treef054d6fddc28b3a1f3a4f2fed367038c8ea4ecc7
parent0ee74bb4ac1de34791796fd2821f979642758023 (diff)
downloadports-d6fce2bfd6e19a48689ca8a9c945ac89d0e727e0.tar.gz
ports-d6fce2bfd6e19a48689ca8a9c945ac89d0e727e0.zip
audio/flacon: the port had been updated to version 8.1.0
Enable tests; one test fails when invoked by our framework (with LC_ALL=C) because of some encoding bug, but we're debugging this issue with upstream author. Reported by: portscout
-rw-r--r--audio/flacon/Makefile12
-rw-r--r--audio/flacon/distinfo6
2 files changed, 12 insertions, 6 deletions
diff --git a/audio/flacon/Makefile b/audio/flacon/Makefile
index 3314e001067f..affabc69622c 100644
--- a/audio/flacon/Makefile
+++ b/audio/flacon/Makefile
@@ -1,7 +1,7 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= flacon
-PORTVERSION= 6.1.0
+PORTVERSION= 8.1.0
DISTVERSIONPREFIX= v
CATEGORIES= audio
@@ -10,11 +10,17 @@ COMMENT= Graphical audio file extractor and encoder
LICENSE= LGPL21+
-LIB_DEPENDS= libuchardet.so:textproc/uchardet
+LIB_DEPENDS= libtag.so:audio/taglib \
+ libuchardet.so:textproc/uchardet
+TEST_DEPENDS= mac:audio/mac ttaenc:audio/tta
USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig qt:5
USE_GITHUB= yes
-USE_QT= buildtools_build concurrent_build qmake_build \
+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} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
.include <bsd.port.mk>
diff --git a/audio/flacon/distinfo b/audio/flacon/distinfo
index 72d346ba2f4a..d1a0b776734e 100644
--- a/audio/flacon/distinfo
+++ b/audio/flacon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1593183665
-SHA256 (flacon-flacon-v6.1.0_GH0.tar.gz) = b6af83ed30697ed82369d3eefaf8fcceabea69fc86a1d6d1a5594cc5768bad7b
-SIZE (flacon-flacon-v6.1.0_GH0.tar.gz) = 2352185
+TIMESTAMP = 1637871978
+SHA256 (flacon-flacon-v8.1.0_GH0.tar.gz) = 26830ef5eaf2c91d0a4802630c904b448235cb0f72ebfd470a76423bee4de8d8
+SIZE (flacon-flacon-v8.1.0_GH0.tar.gz) = 3720292