diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2021-10-09 12:43:07 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2021-10-09 12:43:26 +0200 |
commit | 4cdbe0e84d81fdcd140a4f2f548ce7632d4b550b (patch) | |
tree | 6f650aee875377a692eb91cf812550d8cb67ecdc /media-radio | |
parent | net-libs/webkit-gtk: security cleanup (diff) | |
download | gentoo-4cdbe0e84d81fdcd140a4f2f548ce7632d4b550b.tar.gz gentoo-4cdbe0e84d81fdcd140a4f2f548ce7632d4b550b.tar.bz2 gentoo-4cdbe0e84d81fdcd140a4f2f548ce7632d4b550b.zip |
media-radio/wsjtx: Version bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/wsjtx/Manifest | 1 | ||||
-rw-r--r-- | media-radio/wsjtx/wsjtx-2.5.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index 22d138249af0..80dc39dcae99 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1,2 +1,3 @@ DIST wsjtx-2.3.1.tgz 18040272 BLAKE2B 37b90842470d5565d49d5ed7b9d92207904216d29b8a9966dc38142303d48e92eb640901e4f0a80350f915963f725e36daa7c6fe8034743d30a253eeb02f9e1d SHA512 0a709ca605fb8d93f7583393ec4bdf6416b93233e2910e7e59942f4e40bdb9f2591e3e4b8e0822f49e104e74198a861ed2995cbb4976c7597ef1a1bd6fc43b44 DIST wsjtx-2.4.0.tgz 18239827 BLAKE2B c58081fe4fe8afe08a137727ea492e61060f8bd4e5674a3c8daba35e4f89bc925d9e6d4ecbd8e1ed003ab4ad9bca71df24d6012456d5a64eb899fb79ba0be40e SHA512 c40e145ccab9e7339046994a08394f5a41604762e7998431648beb4b7c3067a87e32e346e3fb74615f7be64c71151c80286ffb217589f1f7e276dcc4761a9406 +DIST wsjtx-2.5.0.tgz 25180010 BLAKE2B 09a50f8bbaca4fa6883ad335a6eb3e0d60d3e20382140ab69e3165ba4a38c9e96b059831db9a28452b15f5a0b98118e1269f3484ac8f375525135236b9d7ce02 SHA512 d5f801c9ec038a84d5b12a3843de9af7bbd6d628bd5eb8d3dd1e1621f04b319f9cc2ed01c882bf09ad3801800ee1b1fbeb49c8a9f991a2c03f3170ac192a6017 diff --git a/media-radio/wsjtx/wsjtx-2.5.0.ebuild b/media-radio/wsjtx/wsjtx-2.5.0.ebuild new file mode 100644 index 000000000000..aef0bd374750 --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.5.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 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="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 +} |