summaryrefslogtreecommitdiff
path: root/media-radio/wsjtx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /media-radio/wsjtx
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'media-radio/wsjtx')
-rw-r--r--media-radio/wsjtx/Manifest2
-rw-r--r--media-radio/wsjtx/wsjtx-2.4.0.ebuild80
2 files changed, 82 insertions, 0 deletions
diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest
index cbac31dca944..6162a3aca825 100644
--- a/media-radio/wsjtx/Manifest
+++ b/media-radio/wsjtx/Manifest
@@ -4,5 +4,7 @@ AUX wsjtx-2.2.0-werror.patch 434 BLAKE2B c36c445cb7216b2cb2d1a7888aa480f0b6ffbb0
AUX wsjtx-2.3.0-drop-docs.patch 676 BLAKE2B b5d6edb900dd9f26026ba3752ad14bd4b944b7829a00c9cc10194e95ac623c7f0bd1b9deee869360cf763e16966dd9a9a974cf80c12173d3346b767e6f3f47ac SHA512 193577a652fa90f23b43a052c1efb085c2ed244b318c34dab972ae6ec16c05ad290c2bd76a40502765d5964b82ceac6326f33a6d434f292e4830983be57c2ce4
AUX wsjtx-clang.patch 619 BLAKE2B 8019381b563bfede3977e37c96c0c664089458f0be7704a5267eece14a48b8cbd4a6348803d4a4e4ef0023006363e26f89f03788ac20f01d227126952f8d2375 SHA512 cf40f9ad542ca07f70ae507a74625663541c05968e1cac78eff7ec1fc0668b683b62ed35effc03b7028a317694e1056b70b862169900f3dc9655ae1ba057210d
DIST wsjtx-2.3.1.tgz 18040272 BLAKE2B 37b90842470d5565d49d5ed7b9d92207904216d29b8a9966dc38142303d48e92eb640901e4f0a80350f915963f725e36daa7c6fe8034743d30a253eeb02f9e1d SHA512 0a709ca605fb8d93f7583393ec4bdf6416b93233e2910e7e59942f4e40bdb9f2591e3e4b8e0822f49e104e74198a861ed2995cbb4976c7597ef1a1bd6fc43b44
+DIST wsjtx-2.4.0.tgz 18239827 BLAKE2B c58081fe4fe8afe08a137727ea492e61060f8bd4e5674a3c8daba35e4f89bc925d9e6d4ecbd8e1ed003ab4ad9bca71df24d6012456d5a64eb899fb79ba0be40e SHA512 c40e145ccab9e7339046994a08394f5a41604762e7998431648beb4b7c3067a87e32e346e3fb74615f7be64c71151c80286ffb217589f1f7e276dcc4761a9406
EBUILD wsjtx-2.3.1.ebuild 1687 BLAKE2B 9332b16222b137b0226429aaa4940fe8c968e2f4d23d7a3221d74fe1cef0e543f8a33e75cad5e497af79fed0b97a0ef30ac444f92506c956572bb2b92ca4dc0e SHA512 1a8258078a1a8cc10e011e27d31de464320a5acb41368c7ed874cd0ce7dd4b1d960ae78a9c0e719b6e90c696d8cd1c27c8597cc51a9a36e53c339ed3415cac27
+EBUILD wsjtx-2.4.0.ebuild 1689 BLAKE2B 32bf6dfe6f88afcb127de463177b0412ffa034239a643c56049be36462ccd5938bf01a370e9a266352f6d189b7357cb14d32100c68ed09b4dee763d3a1d8354c SHA512 f2dcfdaca4039e6fca1a3c6a2ed7c96e91adf15a6c675553033f695d52bee478ee6b428c7865c7a9153632f1c176233a47ac7f8ee3ebcb2d77934b7269708f3a
MISC metadata.xml 411 BLAKE2B b18268ad951aaeb11cb490e4b02fa063915d2862f81e1a9f4ef69bf391c0628e75258d4bc66ce942a51d88369033b4e9dc8f5b8fff1c26bd33a4560ca493d70e SHA512 1b11819a29e25cf3ce3932bfb200ce65fd69c0872149acb54d3c67fb35d9977feee5d87e7412d75751cbc6a9b76010a2bcbc8b3a47a50d11a0c011abc5a83efc
diff --git a/media-radio/wsjtx/wsjtx-2.4.0.ebuild b/media-radio/wsjtx/wsjtx-2.4.0.ebuild
new file mode 100644
index 000000000000..3e8edfacb9a0
--- /dev/null
+++ b/media-radio/wsjtx/wsjtx-2.4.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake flag-o-matic
+
+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-libs/boost:=[nls,python]
+ 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/qttest:5
+ dev-qt/qtprintsupport:5
+ virtual/libusb:1
+ >=media-libs/hamlib-4.0:=
+ 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}-2.3.0-drop-docs.patch"
+ "${FILESDIR}/${PN}-2.1.2-qt_helpers.patch"
+ "${FILESDIR}/${PN}-2.2.0-werror.patch"
+ "${FILESDIR}/${PN}-clang.patch" )
+
+DOCS=( AUTHORS BUGS NEWS README THANKS )
+
+src_unpack() {
+ unpack ${A}
+ unpack "${WORKDIR}/${MY_P}/src/wsjtx.tgz"
+}
+
+src_prepare() {
+ sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \
+ manpages/CMakeLists.txt || die
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWSJT_GENERATE_DOCS="$(usex doc)"
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
+ )
+ append-ldflags -no-pie
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ rm "${D}"/usr/bin/rigctl{,d}-wsjtx || die
+ rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die
+}