summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2017-10-31 19:40:17 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2017-10-31 19:43:16 +0100
commitf6752fb05846b7f65270ff769cdcce940ff94239 (patch)
tree49f683ea22c8ff7b9e421b1c392f56ea5f5b35c4 /media-radio/wsjtx/wsjtx-1.8.0.ebuild
parentmedia-radio/fldigi: Version bump (diff)
downloadgentoo-f6752fb05846b7f65270ff769cdcce940ff94239.tar.gz
gentoo-f6752fb05846b7f65270ff769cdcce940ff94239.tar.bz2
gentoo-f6752fb05846b7f65270ff769cdcce940ff94239.zip
media-radio/wsjtx: Version bump
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'media-radio/wsjtx/wsjtx-1.8.0.ebuild')
-rw-r--r--media-radio/wsjtx/wsjtx-1.8.0.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-radio/wsjtx/wsjtx-1.8.0.ebuild b/media-radio/wsjtx/wsjtx-1.8.0.ebuild
new file mode 100644
index 00000000000..3c7dc85c303
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-1.8.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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"
+IUSE="doc"
+
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork
+ dev-qt/qtwidgets
+ dev-qt/qtconcurrent
+ dev-qt/qtserialport
+ virtual/libusb:1
+ media-libs/portaudio
+ sci-libs/fftw:3.0[threads]
+ virtual/fortran
+ app-text/asciidoc
+ doc? ( dev-ruby/asciidoctor )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+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
+
+}