diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2020-07-04 13:42:34 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2020-07-04 13:42:34 +0200 |
commit | 07171c6829b22d04b2c4649698ddefb9c94857e0 (patch) | |
tree | 64e2207752917be721e6dc4fec8062d5ec1188ac /media-radio/wsjtx | |
parent | media-radio/wsjtx: Drop old (diff) | |
download | gentoo-07171c6829b22d04b2c4649698ddefb9c94857e0.tar.gz gentoo-07171c6829b22d04b2c4649698ddefb9c94857e0.tar.bz2 gentoo-07171c6829b22d04b2c4649698ddefb9c94857e0.zip |
media-radio/wsjtx: Version bump
Tnx P424D0X for reminding.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
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.2.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index 1f7f3dd192ad..239382f88865 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1 +1,2 @@ DIST wsjtx-2.1.2.tgz 44928980 BLAKE2B de4e4e892893e5087199385aaee8753c0f71eb36cd23734ae430f50d8a09520bf2bf3df7038bcf03ba4e9ca24534c98a1b6cb5dc444d68d3183279231cf18974 SHA512 037f0604b0a22f6d02f0979b94dd054157c96ee7a8c07284d072f87f6586901346bef1a3c7e19d367a82764dafc9f00b7d1a0929d163a46f1b249aaa3929b1a8 +DIST wsjtx-2.2.0.tgz 23158263 BLAKE2B e605447ffe0f7e4af4df3f15fced342aa61d40100778df731b1c419ac03fd569dde3547a7082fc41a6b07080b11305517a8cdca3a1b8404548ecffdb5b7b616d SHA512 7df7c80047b34097fc26b0d8c21de8b3ca27bae15602b1bb1ad117fe13f14931145bd55fcdceb86f2ee931d51285c6175f7b7cd89891b7e88c4baf7c17ed82cd diff --git a/media-radio/wsjtx/wsjtx-2.2.0.ebuild b/media-radio/wsjtx/wsjtx-2.2.0.ebuild new file mode 100644 index 000000000000..3abba8aeac25 --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.2.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake + +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-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/qtprintsupport:5 + virtual/libusb:1 + media-libs/hamlib + 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}-fix-unicode.patch" + "${FILESDIR}/${PN}-drop-docs.patch" + "${FILESDIR}/${PN}-2.1.2-qt_helpers.patch" ) + +DOCS=( AUTHORS BUGS NEWS README THANKS ) + +src_unpack() { + unpack ${A} + unpack "${WORKDIR}/${MY_P}/src/wsjtx.tgz" +} + +src_configure() { + cmake_comment_add_subdirectory debian + + local mycmakeargs=( + -DWSJT_GENERATE_DOCS="$(usex doc)" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + 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.gz || die +} |