From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AC8815800F for ; Sat, 28 Jan 2023 18:57:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9471E085A; Sat, 28 Jan 2023 18:57:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB83CE085A for ; Sat, 28 Jan 2023 18:57:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBD15340E58 for ; Sat, 28 Jan 2023 18:57:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54B2385B for ; Sat, 28 Jan 2023 18:57:40 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1674932221.1e5e5e6541dbf2ba842ea8cadc47dec1f82c41e4.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/wsjtx/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/wsjtx/Manifest media-radio/wsjtx/wsjtx-2.6.1.ebuild X-VCS-Directories: media-radio/wsjtx/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 1e5e5e6541dbf2ba842ea8cadc47dec1f82c41e4 X-VCS-Branch: master Date: Sat, 28 Jan 2023 18:57:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84e8ecb2-d9f7-482c-8a17-18785a312486 X-Archives-Hash: a27b9b8be31e3eef210c101529b8ec70 commit: 1e5e5e6541dbf2ba842ea8cadc47dec1f82c41e4 Author: Thomas Beierlein gentoo org> AuthorDate: Sat Jan 28 18:55:37 2023 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Sat Jan 28 18:57:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5e5e65 media-radio/wsjtx: add 2.6.1 Signed-off-by: Thomas Beierlein gentoo.org> media-radio/wsjtx/Manifest | 1 + media-radio/wsjtx/wsjtx-2.6.1.ebuild | 78 ++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index c907ecb10224..5ea6098a49dd 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1 +1,2 @@ DIST wsjtx-2.5.4.tgz 25369854 BLAKE2B 674cb64f8f30114dd4e857181502e39d5a61fdb487ef503fd945d1e91853f8aab4dead7c2e9daf4ed2863b07b9760ceec3b6c79c30b64c0c2e3115efc1e20be6 SHA512 c4092d03af3346f0244d942c3db693f5d2c1ed7a2ec9077ded039b7d162e15abdaf09dcb9997d1833d25c366eb03a0dab6114313d423e7e2c9ff37d965261efc +DIST wsjtx-2.6.1.tgz 25624658 BLAKE2B 16181ea18611bf1bfaae78e4c5bf000d53cdb4401d1d07a7bd96a041c6da3bc385df71ddabb13a191fa32bd5579c7a330c2dff9a7b3e438222fd8a4ebb44412c SHA512 0f151c10b75798ab28a01604b08981f399d612135b7e9ddc3e66f9121fd49c97bb9508ce649e342791705ee5e1247f8e461a31afa871ddd46da1cf7fd5826c74 diff --git a/media-radio/wsjtx/wsjtx-2.6.1.ebuild b/media-radio/wsjtx/wsjtx-2.6.1.ebuild new file mode 100644 index 000000000000..5d8fbb34179b --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.6.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edos2unix flag-o-matic + +DESCRIPTION="Weak signal ham radio communication" +HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html" +SRC_URI="mirror://sourceforge/wsjt/${P}.tgz" +S=${WORKDIR}/wsjtx + +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}" +BDEPEND="dev-qt/linguist-tools" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.0-werror.patch" + "${FILESDIR}/${PN}-2.3.0-drop-docs.patch" + "${FILESDIR}/${PN}-clang.patch" +) + +DOCS=( AUTHORS BUGS NEWS README THANKS ) + +src_unpack() { + unpack ${A} + unpack "${WORKDIR}/${P/_/-}/src/wsjtx.tgz" +} + +src_prepare() { + edos2unix "${S}/message_aggregator.desktop" + edos2unix "${S}/wsjtx.desktop" + edos2unix "${S}/CMakeLists.txt" + sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \ + manpages/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # fails to complie with -flto (bug #860417) + filter-lto + + local mycmakeargs=( + -DWSJT_GENERATE_DOCS="$(usex doc)" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + append-ldflags -no-pie + cmake_src_configure +} + +src_install() { + cmake_src_install + rm "${D}"/usr/bin/rigctl{,d,com}-wsjtx || die + rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die +}