summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2021-03-01 17:40:36 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2021-03-01 17:40:36 +0100
commit1355df3aebfceb0222c9e7b5b4e562f9914bbe1a (patch)
tree9a1cd6edfa1bd18145bcb727b8cc92f525ee45c6 /media-radio
parentdev-vcs/repo: version bump to 2.12 (diff)
downloadgentoo-1355df3aebfceb0222c9e7b5b4e562f9914bbe1a.tar.gz
gentoo-1355df3aebfceb0222c9e7b5b4e562f9914bbe1a.tar.bz2
gentoo-1355df3aebfceb0222c9e7b5b4e562f9914bbe1a.zip
media-radio/wsjtx: Add missing dependencies
Closes: https://bugs.gentoo.org/771204 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/wsjtx/files/wsjtx-2.3.0-drop-docs.patch33
-rw-r--r--media-radio/wsjtx/wsjtx-2.3.0.ebuild11
2 files changed, 41 insertions, 3 deletions
diff --git a/media-radio/wsjtx/files/wsjtx-2.3.0-drop-docs.patch b/media-radio/wsjtx/files/wsjtx-2.3.0-drop-docs.patch
new file mode 100644
index 000000000000..3654fda2f8f1
--- /dev/null
+++ b/media-radio/wsjtx/files/wsjtx-2.3.0-drop-docs.patch
@@ -0,0 +1,33 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f92d3a6..c5fb9b4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1497,10 +1497,6 @@ if (UNIX)
+ add_subdirectory (manpages)
+ add_dependencies (wsjtx manpages)
+ endif (NOT WSJT_SKIP_MANPAGES)
+- if (NOT APPLE)
+- add_subdirectory (debian)
+- add_dependencies (wsjtx debian)
+- endif (NOT APPLE)
+ endif (UNIX)
+
+ #
+@@ -1567,17 +1563,6 @@ install (PROGRAMS
+ RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
+ )
+
+-install (FILES
+- README
+- COPYING
+- AUTHORS
+- THANKS
+- NEWS
+- BUGS
+- DESTINATION ${CMAKE_INSTALL_DOCDIR}
+- #COMPONENT runtime
+- )
+-
+ install (FILES
+ cty.dat
+ cty.dat_copyright.txt
diff --git a/media-radio/wsjtx/wsjtx-2.3.0.ebuild b/media-radio/wsjtx/wsjtx-2.3.0.ebuild
index a76c66850fd8..65a0022c8f68 100644
--- a/media-radio/wsjtx/wsjtx-2.3.0.ebuild
+++ b/media-radio/wsjtx/wsjtx-2.3.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake
+inherit cmake flag-o-matic
MY_P=${P/_/-}
@@ -15,7 +15,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-RDEPEND="dev-qt/qtcore:5
+RDEPEND="
+ dev-libs/boost[python]
+ dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
@@ -23,9 +25,10 @@ RDEPEND="dev-qt/qtcore: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
+ >=media-libs/hamlib-4.0
media-libs/portaudio
sci-libs/fftw:3.0[threads,fortran]
virtual/fortran
@@ -38,6 +41,7 @@ DEPEND="${RDEPEND}
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" )
@@ -61,6 +65,7 @@ src_configure() {
-DWSJT_GENERATE_DOCS="$(usex doc)"
-DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
)
+ append-ldflags -no-pie
cmake_src_configure
}