commit:     d2a0ea41cea08a8ef750260ac6579357d94d385d
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 14:59:13 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 14:59:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2a0ea41

media-radio/wsjtx: bump

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 media-radio/wsjtx/Manifest           |  1 +
 media-radio/wsjtx/wsjtx-2.1.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
index 71680b062d6..f40dba12796 100644
--- a/media-radio/wsjtx/Manifest
+++ b/media-radio/wsjtx/Manifest
@@ -2,3 +2,4 @@ DIST wsjtx-1.8.0.tgz 29041865 BLAKE2B 
3eb3d4e2711443a9e895c1b5771ae6378b13cccbe9
 DIST wsjtx-1.9.1.tgz 29264406 BLAKE2B 
0eb00737851a7877d894a21218c6a408eac30caa4114a0edd69400701f0c8c702d4c373adc5c9f7896a4d8f96c338a92e0a997e0270240917b5e236db36c9aa0
 SHA512 
16c84e7bb8cf9e6eff288b74ee1f9083e0133ff69fdefca7fbc986c912663f744a75db353242024fe8c64ff9e6e8558fd825b9b106abf02cdd4b43be91680557
 DIST wsjtx-2.0.0.tgz 42090145 BLAKE2B 
8a439dc37daaa7e989dc1cbe007a9493268e2590282f1d88781f8f8bc40690511533a0c668654ada81a0504af880eb7d361b305ca523fc432603eafdcccc88eb
 SHA512 
9cbda699345c4e18ae450415701700f19219f81b75080abf04a9136e40017d7113dd099bdff44414a1f0060c8687e46d6df2dd5cd15730c98eed36f9765ef82d
 DIST wsjtx-2.0.1.tgz 43779157 BLAKE2B 
ecebc4020ff6d095f550aafda59ab1b7de197dbbec2c0278fa00a3f30cb63bd41ebfe135ed4f2583953e4d895b2a93ae3fb474977945bec5922650c0bfc060c2
 SHA512 
c49a2148b009c1f485fb0a775708f248a7d3b7c0d240879fbd0ffd18e0181c6573b63dec96137ab6643314ff0e0b10661914400c877901475b0ebaba4569b297
+DIST wsjtx-2.1.0.tgz 44904654 BLAKE2B 
4d36a9099356225ff2cf12108c0f42da67396a2602c1dbcabcbb001684212fbc81a7f4be23b8d35e32903119cdf04a41fe199429dd8693452b17084481691d74
 SHA512 
3a76b879586d285d570d05ae5ecca4a27b2da2153d4845c5b3b0a047721ef153af8745764403cb85555097c6778032f559e5848bad7e1cc7d469a874858ad40e

diff --git a/media-radio/wsjtx/wsjtx-2.1.0.ebuild 
b/media-radio/wsjtx/wsjtx-2.1.0.ebuild
new file mode 100644
index 00000000000..4cba731ef52
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-2.1.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+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}"
+
+S=${WORKDIR}/wsjtx
+
+PATCHES=( "${FILESDIR}/${PN}-2.0.1-hamlib.patch" )
+
+src_unpack() {
+       unpack ${A}
+       unpack "${WORKDIR}/${MY_P}/src/wsjtx.tgz"
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DWSJT_GENERATE_DOCS="$(usex doc)"
+               -DWSJT_DOC_DESTINATION="/doc/${PF}"
+       )
+       cmake-utils_src_configure
+}
+
+src_compile() {
+       cmake-utils_src_compile
+}
+
+src_install() {
+       cmake-utils_src_install
+       rm "${D}"/usr/bin/rigctl{,d}-wsjtx || die
+       rm "${D}"/usr/share/man/man1/rigctl{,d}-wsjtx.1.gz || die
+       rm "${D}"/usr/share/doc/WSJT-X -R || die
+
+}

Reply via email to