summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2019-11-30 14:04:50 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2019-11-30 14:04:50 +0100
commit5216c497d2226379c0cd99881fd06ccd812185ef (patch)
treede5f1816f3461a2ec019d3ea8ea807221ed9fc03 /media-radio/wsjtx
parentmedia-radio/wsjtx: Drop old (diff)
downloadgentoo-5216c497d2226379c0cd99881fd06ccd812185ef.tar.gz
gentoo-5216c497d2226379c0cd99881fd06ccd812185ef.tar.bz2
gentoo-5216c497d2226379c0cd99881fd06ccd812185ef.zip
media-radio/wsjtx: Version bump
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/wsjtx')
-rw-r--r--media-radio/wsjtx/Manifest1
-rw-r--r--media-radio/wsjtx/wsjtx-2.1.2.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
index 5a80aa085ea1..546b64944319 100644
--- a/media-radio/wsjtx/Manifest
+++ b/media-radio/wsjtx/Manifest
@@ -1 +1,2 @@
DIST wsjtx-2.1.0.tgz 44904654 BLAKE2B 4d36a9099356225ff2cf12108c0f42da67396a2602c1dbcabcbb001684212fbc81a7f4be23b8d35e32903119cdf04a41fe199429dd8693452b17084481691d74 SHA512 3a76b879586d285d570d05ae5ecca4a27b2da2153d4845c5b3b0a047721ef153af8745764403cb85555097c6778032f559e5848bad7e1cc7d469a874858ad40e
+DIST wsjtx-2.1.2.tgz 44928980 BLAKE2B de4e4e892893e5087199385aaee8753c0f71eb36cd23734ae430f50d8a09520bf2bf3df7038bcf03ba4e9ca24534c98a1b6cb5dc444d68d3183279231cf18974 SHA512 037f0604b0a22f6d02f0979b94dd054157c96ee7a8c07284d072f87f6586901346bef1a3c7e19d367a82764dafc9f00b7d1a0929d163a46f1b249aaa3929b1a8
diff --git a/media-radio/wsjtx/wsjtx-2.1.2.ebuild b/media-radio/wsjtx/wsjtx-2.1.2.ebuild
new file mode 100644
index 000000000000..15c7d5cf22d8
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-2.1.2.ebuild
@@ -0,0 +1,69 @@
+# 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}
+ 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" )
+
+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-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,com}-wsjtx.1.gz || die
+}