summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2019-04-10 16:13:01 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2019-04-10 16:14:14 +0200
commit7cc80f8970d2e9d0792b6bf6a5ae9b9e846a4583 (patch)
treea189738101aa48515d79b0b5a246de5430f8e5bb /media-radio
parentapp-portage/eix: s390 stable wrt bug #682792 (diff)
downloadgentoo-7cc80f8970d2e9d0792b6bf6a5ae9b9e846a4583.tar.gz
gentoo-7cc80f8970d2e9d0792b6bf6a5ae9b9e846a4583.tar.bz2
gentoo-7cc80f8970d2e9d0792b6bf6a5ae9b9e846a4583.zip
media-radio/wsjtx: Version bump
Closes: https://bugs.gentoo.org/679652 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/wsjtx/Manifest1
-rw-r--r--media-radio/wsjtx/files/wsjtx-2.0.1-hamlib.patch12
-rw-r--r--media-radio/wsjtx/wsjtx-2.0.1.ebuild63
3 files changed, 76 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
index 626c423eabbc..71680b062d65 100644
--- a/media-radio/wsjtx/Manifest
+++ b/media-radio/wsjtx/Manifest
@@ -1,3 +1,4 @@
DIST wsjtx-1.8.0.tgz 29041865 BLAKE2B 3eb3d4e2711443a9e895c1b5771ae6378b13cccbe9b50dce97e9551218700a4e22ae10b618e346b52d2037ee26c5d41f1cf2376d8cc19d143d263db5c683a482 SHA512 793e88604661b03e2e6d5a910ea4045f800b9c59174af3286fd8afdaf65d8a3ca7d1aeae557c6afc66d9bbe398be8c7030950dda03d6bc6279061c3a3107beaa
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
diff --git a/media-radio/wsjtx/files/wsjtx-2.0.1-hamlib.patch b/media-radio/wsjtx/files/wsjtx-2.0.1-hamlib.patch
new file mode 100644
index 000000000000..88fcc08f6581
--- /dev/null
+++ b/media-radio/wsjtx/files/wsjtx-2.0.1-hamlib.patch
@@ -0,0 +1,12 @@
+# use only installed hamlib version
+--- a/CMakeLists.txt 2019-04-10 15:47:58.372519159 +0200
++++ b/CMakeLists.txt 2019-04-10 15:48:07.576949145 +0200
+@@ -848,7 +848,7 @@
+ find_package (hamlib 3 REQUIRED)
+ find_program (RIGCTL_EXE rigctl)
+ find_program (RIGCTLD_EXE rigctld)
+-find_program (RIGCTLCOM_EXE rigctlcom)
++#find_program (RIGCTLCOM_EXE rigctlcom)
+
+ message (STATUS "hamlib_INCLUDE_DIRS: ${hamlib_INCLUDE_DIRS}")
+ message (STATUS "hamlib_LIBRARIES: ${hamlib_LIBRARIES}")
diff --git a/media-radio/wsjtx/wsjtx-2.0.1.ebuild b/media-radio/wsjtx/wsjtx-2.0.1.ebuild
new file mode 100644
index 000000000000..72bc67c88b13
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-2.0.1.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}/${P}-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
+
+}