summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-01-06 17:32:47 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2022-01-06 17:33:37 +0100
commit69bf615cc87216494aa38f7250eaa29711e378df (patch)
tree6e5eb082dbea23918eef1892533545fc0df129b7 /media-radio/wsjtx
parentdev-python/numpy: fix blas patch (diff)
downloadgentoo-69bf615cc87216494aa38f7250eaa29711e378df.tar.gz
gentoo-69bf615cc87216494aa38f7250eaa29711e378df.tar.bz2
gentoo-69bf615cc87216494aa38f7250eaa29711e378df.zip
media-radio/wsjtx: Minor bug fix release
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/wsjtx')
-rw-r--r--media-radio/wsjtx/Manifest1
-rw-r--r--media-radio/wsjtx/wsjtx-2.5.4.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
index 47dede994db3..069e5c371d67 100644
--- a/media-radio/wsjtx/Manifest
+++ b/media-radio/wsjtx/Manifest
@@ -2,3 +2,4 @@ DIST wsjtx-2.5.0.tgz 25180010 BLAKE2B 09a50f8bbaca4fa6883ad335a6eb3e0d60d3e20382
DIST wsjtx-2.5.1.tgz 25249461 BLAKE2B fe858e4a21434c7357aa5baab8f4aff206a22bec7305b2d7c6a3860a389ca19779f4775a5618c046b25a71006a882f7a33b30baebe6e848182bd434ff82bb9aa SHA512 bce84766ea1eb13e899ccfc252ee3bcdb6f1d50afa6b312b0509d1eea8e5dcfc958c772fee2a2c40d43058e06ecda798fa9136252e3de0c4a40df27217a4b362
DIST wsjtx-2.5.2.tgz 25246974 BLAKE2B ada5fc73a600477fa7f1f68c9c8c53e26c56d60aea1c28edc8c35e4ff67a309bf61e82f58c93c05a24c08ed7e77419c2a6ef6862b7cac059cccbebe66512afaf SHA512 cdccbb824614d391aa8f750e3c7e47d1fe8a9704f50d8a361e8741fadea971683383d9dfe0456c674b4584a47eb9a0fdce9c36a608d164de5ae98538e9b83705
DIST wsjtx-2.5.3.tgz 25599071 BLAKE2B c62fc1f4ce23ce99ddea475039b99d40b23d2a42f7d9995395ea0f2655b3b01595539ae40f78dc29bc5c97ba1f165dcd8a5daef6d4f9b55c2260667a09d47e30 SHA512 ed6664223069c7b44dac8c995b4beaa96e2a839a9049e5805d93b1f0ffe03d310b7a301150d693fcc22f96a97ed86c4948059f1e18b23cd2c9a5e44665100862
+DIST wsjtx-2.5.4.tgz 25369854 BLAKE2B 674cb64f8f30114dd4e857181502e39d5a61fdb487ef503fd945d1e91853f8aab4dead7c2e9daf4ed2863b07b9760ceec3b6c79c30b64c0c2e3115efc1e20be6 SHA512 c4092d03af3346f0244d942c3db693f5d2c1ed7a2ec9077ded039b7d162e15abdaf09dcb9997d1833d25c366eb03a0dab6114313d423e7e2c9ff37d965261efc
diff --git a/media-radio/wsjtx/wsjtx-2.5.4.ebuild b/media-radio/wsjtx/wsjtx-2.5.4.ebuild
new file mode 100644
index 000000000000..88d2e49b406f
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-2.5.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake flag-o-matic
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Weak signal ham radio communication"
+HOMEPAGE="http://physics.princeton.edu/pulsar/K1JT/wsjtx.html"
+SRC_URI="https://physics.princeton.edu/pulsar/k1jt/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ dev-libs/boost:=[nls,python]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtserialport:5
+ dev-qt/qtsql:5
+ dev-qt/qttest:5
+ dev-qt/qtprintsupport:5
+ virtual/libusb:1
+ >=media-libs/hamlib-4.0:=
+ media-libs/portaudio
+ sci-libs/fftw:3.0[threads,fortran]
+ virtual/fortran
+ app-text/asciidoc
+ doc? ( dev-ruby/asciidoctor )"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools
+ "
+
+S=${WORKDIR}/wsjtx
+
+PATCHES=( "${FILESDIR}/${PN}-2.0.1-hamlib.patch"
+ "${FILESDIR}/${PN}-2.3.0-drop-docs.patch"
+ "${FILESDIR}/${PN}-2.1.2-qt_helpers.patch"
+ "${FILESDIR}/${PN}-2.2.0-werror.patch"
+ "${FILESDIR}/${PN}-clang.patch" )
+
+DOCS=( AUTHORS BUGS NEWS README THANKS )
+
+src_unpack() {
+ unpack ${A}
+ unpack "${WORKDIR}/${MY_P}/src/wsjtx.tgz"
+}
+
+src_prepare() {
+ sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \
+ manpages/CMakeLists.txt || die
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWSJT_GENERATE_DOCS="$(usex doc)"
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
+ )
+ append-ldflags -no-pie
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ rm "${D}"/usr/bin/rigctl{,d}-wsjtx || die
+ rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die
+}