diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-29 19:28:47 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-29 19:28:47 +0200 |
commit | dc2b1b083810679236063ff6f8a45e97f81e4344 (patch) | |
tree | 85b50a1cba45c7eb8887900cf92c9e217727a9b6 /media-radio/wsjtx | |
parent | sci-electronics/puff: Minor maintenance release (diff) | |
download | gentoo-dc2b1b083810679236063ff6f8a45e97f81e4344.tar.gz gentoo-dc2b1b083810679236063ff6f8a45e97f81e4344.tar.bz2 gentoo-dc2b1b083810679236063ff6f8a45e97f81e4344.zip |
media-radio/wsjtx: Version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/wsjtx')
-rw-r--r-- | media-radio/wsjtx/Manifest | 1 | ||||
-rw-r--r-- | media-radio/wsjtx/wsjtx-2.4.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index dcdba836599d..22d138249af0 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1 +1,2 @@ DIST wsjtx-2.3.1.tgz 18040272 BLAKE2B 37b90842470d5565d49d5ed7b9d92207904216d29b8a9966dc38142303d48e92eb640901e4f0a80350f915963f725e36daa7c6fe8034743d30a253eeb02f9e1d SHA512 0a709ca605fb8d93f7583393ec4bdf6416b93233e2910e7e59942f4e40bdb9f2591e3e4b8e0822f49e104e74198a861ed2995cbb4976c7597ef1a1bd6fc43b44 +DIST wsjtx-2.4.0.tgz 18239827 BLAKE2B c58081fe4fe8afe08a137727ea492e61060f8bd4e5674a3c8daba35e4f89bc925d9e6d4ecbd8e1ed003ab4ad9bca71df24d6012456d5a64eb899fb79ba0be40e SHA512 c40e145ccab9e7339046994a08394f5a41604762e7998431648beb4b7c3067a87e32e346e3fb74615f7be64c71151c80286ffb217589f1f7e276dcc4761a9406 diff --git a/media-radio/wsjtx/wsjtx-2.4.0.ebuild b/media-radio/wsjtx/wsjtx-2.4.0.ebuild new file mode 100644 index 000000000000..3e8edfacb9a0 --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.4.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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="mirror://sourceforge/wsjt/${MY_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 +} |