diff --git a/comms/redsea/Makefile b/comms/redsea/Makefile index a07d7454d534..42c6c2ea2aca 100644 --- a/comms/redsea/Makefile +++ b/comms/redsea/Makefile @@ -1,35 +1,35 @@ PORTNAME= redsea DISTVERSIONPREFIX= v -DISTVERSION= 0.21 +DISTVERSION= 1.2.0 CATEGORIES= comms MAINTAINER= morrand276@gmail.com COMMENT= Lightweight command-line FM-RDS decoder WWW= https://github.com/windytan/redsea/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libsndfile.so:audio/libsndfile +BUILD_DEPENDS= ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json +LIB_DEPENDS= libsndfile.so:audio/libsndfile \ + libliquid.so:comms/liquid-dsp -USES= autoreconf:build compiler:c++14-lang iconv localbase:ldflags +USES= compiler:c++14-lang iconv localbase:ldflags meson ninja pkgconfig USE_GITHUB= yes GH_ACCOUNT= windytan -GNU_CONFIGURE= yes -PLIST_FILES= bin/redsea ${DOCSDIR}/README.md +PLIST_FILES= bin/redsea +PORTDOCS= CHANGES.md CONTRIBUTING.md README.md -OPTIONS_DEFINE= DEMOD TMC -OPTIONS_DEFAULT= DEMOD TMC +OPTIONS_DEFINE= DOCS TEST +TEST_DESC= Build redsea_test in working directory +TEST_BUILD_DEPENDS= ${LOCALBASE}/include/catch2/catch_test_macros.hpp:devel/catch2 +TEST_MESON_TRUE= build_tests -DEMOD_DESC= Demodulation support via comms/liquid-dsp -TMC_DESC= Decoding support for TMC traffic messages (may slow building) - -DEMOD_CONFIGURE_WITH= liquid -DEMOD_LIB_DEPENDS= libliquid.so:comms/liquid-dsp -TMC_CONFIGURE_ENABLE= tmc - -pre-configure: - @cd ${WRKSRC} && ${AUTORECONF} -i +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +.endfor .include diff --git a/comms/redsea/distinfo b/comms/redsea/distinfo index 0f25e28cb8db..3df198c38816 100644 --- a/comms/redsea/distinfo +++ b/comms/redsea/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1706370704 -SHA256 (windytan-redsea-v0.21_GH0.tar.gz) = c0e72457b54b37b7a1a7dce71abb076b963f8510c1e6066610963283beac536e -SIZE (windytan-redsea-v0.21_GH0.tar.gz) = 132027 +TIMESTAMP = 1745460440 +SHA256 (windytan-redsea-v1.2.0_GH0.tar.gz) = eebe3b63b2348b724145916f858bd187462d78ef7e55af1b913bc1474b374a57 +SIZE (windytan-redsea-v1.2.0_GH0.tar.gz) = 112328