summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2017-07-17 17:31:03 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2017-07-17 17:33:30 +0200
commit47174cafd729561202c931675e9d1e55f50f94dc (patch)
tree0c4e51e154ded3b722f3751f531c05c02119e0e3 /media-radio
parentsys-apps/systemd: look for generators in {,/usr}/lib/systemd/system-generators (diff)
downloadgentoo-47174cafd729561202c931675e9d1e55f50f94dc.tar.gz
gentoo-47174cafd729561202c931675e9d1e55f50f94dc.tar.bz2
gentoo-47174cafd729561202c931675e9d1e55f50f94dc.zip
media-radio/wsjtx: Initial commit
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/wsjtx/Manifest1
-rw-r--r--media-radio/wsjtx/metadata.xml11
-rw-r--r--media-radio/wsjtx/wsjtx-1.7.0.ebuild49
3 files changed, 61 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
new file mode 100644
index 000000000000..12021186569b
--- /dev/null
+++ b/media-radio/wsjtx/Manifest
@@ -0,0 +1 @@
+DIST wsjtx-1.7.0.tgz 21293155 SHA256 e7b3f31dad87b2b9cfb0a39bbba466f7039200541d37bfd181974fd11956a358 SHA512 9d03b7cac598a61967453c97b3e9bcc904378f3a1980537e2b95b48a9daf666eda33c09699269cbd2d135473b41bd485173d514f9bbf957365f986e45606136f WHIRLPOOL 3653d6f7fdbb1cefb7d6363581e3b741d728984bc6e8cb323e1ae51ae4dc1d6afb7a1a7c19f819a3bcae7b6ab88271bcac0896fd5cd42aa7a7d60e18aa7212e9
diff --git a/media-radio/wsjtx/metadata.xml b/media-radio/wsjtx/metadata.xml
new file mode 100644
index 000000000000..95677f990a67
--- /dev/null
+++ b/media-radio/wsjtx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">wsjt</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/media-radio/wsjtx/wsjtx-1.7.0.ebuild b/media-radio/wsjtx/wsjtx-1.7.0.ebuild
new file mode 100644
index 000000000000..e8f7591ebbf2
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-1.7.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Weak signal ham radio communication"
+HOMEPAGE="http://physics.princeton.edu/pulsar/K1JT/wsjtx.html"
+SRC_URI="mirror://sourceforge/wsjt/${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}"
+
+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/${PF}/{copyright,changelog.Debian.gz,INSTALL,COPYING} || die
+}