diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-06-14 14:29:35 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-06-14 14:29:35 +0200 |
commit | 88a978f46b2a3c7bb61af367bd5fa40541539056 (patch) | |
tree | 3827ed7212955b6a0e1eaaf0e52f5533d58acef5 | |
parent | x11-wm/xpra: Remove old (diff) | |
download | gentoo-88a978f46b2a3c7bb61af367bd5fa40541539056.tar.gz gentoo-88a978f46b2a3c7bb61af367bd5fa40541539056.tar.bz2 gentoo-88a978f46b2a3c7bb61af367bd5fa40541539056.zip |
media-radio/wsjtx: add 2.7.0_rc4
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
-rw-r--r-- | media-radio/wsjtx/Manifest | 1 | ||||
-rw-r--r-- | media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index 5709ec122aaa..c534b146e1ac 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1 +1,2 @@ DIST wsjtx-2.6.1.tgz 25624658 BLAKE2B 16181ea18611bf1bfaae78e4c5bf000d53cdb4401d1d07a7bd96a041c6da3bc385df71ddabb13a191fa32bd5579c7a330c2dff9a7b3e438222fd8a4ebb44412c SHA512 0f151c10b75798ab28a01604b08981f399d612135b7e9ddc3e66f9121fd49c97bb9508ce649e342791705ee5e1247f8e461a31afa871ddd46da1cf7fd5826c74 +DIST wsjtx-2.7.0-rc4.tgz 26111191 BLAKE2B 5cdbcf988209fbdad3e632cdea1535378ab69848308abc59b729a2ab3fc892319ce135b620ff8b531d9afc276c18cef65ca2560874190a57fc06990742bae16c SHA512 0960b48d83fcf1461217a15472530d04ad6276b9fe54ee33ac5ad7b32a2346e52fdfa72966c2263816066155b5ef9f1ff1a941704979f097501361c9fb379c1a diff --git a/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild b/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild new file mode 100644 index 000000000000..19392764677e --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edos2unix flag-o-matic + +MY_P=${P/_/-} + +DESCRIPTION="Weak signal ham radio communication" +HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html" +SRC_URI="https://downloads.sourceforge.net/wsjt/${MY_P}.tgz" + +S=${WORKDIR}/wsjtx + +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}" +BDEPEND="dev-qt/linguist-tools" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.0-werror.patch" + "${FILESDIR}/${PN}-2.3.0-drop-docs.patch" + "${FILESDIR}/${PN}-clang.patch" +) + +DOCS=( AUTHORS BUGS NEWS README THANKS ) + +src_unpack() { + unpack ${A} + unpack "${WORKDIR}/${PN}-2.7.0/src/wsjtx.tgz" +} + +src_prepare() { + edos2unix "${S}/message_aggregator.desktop" + edos2unix "${S}/wsjtx.desktop" + edos2unix "${S}/CMakeLists.txt" + sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \ + manpages/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # fails to compile with -flto (bug #860417) + filter-lto + + local mycmakeargs=( + -DWSJT_GENERATE_DOCS="$(usex doc)" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + append-ldflags -no-pie + cmake_src_configure +} + +src_install() { + cmake_src_install + rm "${D}"/usr/bin/rigctl{,d,com}-wsjtx || die + rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die +} |