diff options
author | Richard Freeman <rich0@gentoo.org> | 2018-10-20 11:03:04 -0400 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2018-10-20 11:03:04 -0400 |
commit | bed7c10fb71980041f5ed599c67ecfc8bd2f0c79 (patch) | |
tree | f334602e2025c579b6fa838ba428d3f0f80fd320 /media-radio | |
parent | sys-kernel/gentoo-sources: Linux patch 4.14.78 (diff) | |
download | gentoo-bed7c10fb71980041f5ed599c67ecfc8bd2f0c79.tar.gz gentoo-bed7c10fb71980041f5ed599c67ecfc8bd2f0c79.tar.bz2 gentoo-bed7c10fb71980041f5ed599c67ecfc8bd2f0c79.zip |
media-radio/js8call: new package, from rich0 overlay
Signed-off-by: Richard Freeman <rich0@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/js8call/Manifest | 1 | ||||
-rw-r--r-- | media-radio/js8call/files/0.7.5-makefile-removesymlink.patch | 20 | ||||
-rw-r--r-- | media-radio/js8call/js8call-0.7.5.ebuild | 58 | ||||
-rw-r--r-- | media-radio/js8call/metadata.xml | 11 |
4 files changed, 90 insertions, 0 deletions
diff --git a/media-radio/js8call/Manifest b/media-radio/js8call/Manifest new file mode 100644 index 000000000000..6b0f72f92f0c --- /dev/null +++ b/media-radio/js8call/Manifest @@ -0,0 +1 @@ +DIST js8call-0.7.5.tar.bz2 41230267 BLAKE2B 0d49f3d65ce7df501bdfee597ba8a7670dfb80217fec2f5d66859381cceaaf759e940c99b015246d58abe8549114ffe9ba3d67cebdee5122284fc2a221de02bf SHA512 e4e35a086a1443def71fe1bd9d057c3ec38f261b68818c841a90ef858d6c480b2cbb5f721ac26e1651836326b12059b2a01370a2c7c63925a40971d343e9f8e8 diff --git a/media-radio/js8call/files/0.7.5-makefile-removesymlink.patch b/media-radio/js8call/files/0.7.5-makefile-removesymlink.patch new file mode 100644 index 000000000000..c4c9e040a741 --- /dev/null +++ b/media-radio/js8call/files/0.7.5-makefile-removesymlink.patch @@ -0,0 +1,20 @@ +--- a/CMakeLists.txt 2018-10-08 10:25:35.183735723 -0400 ++++ a/CMakeLists.txt 2018-10-08 10:26:27.626449814 -0400 +@@ -1272,12 +1272,12 @@ + #COMPONENT runtime + ) + +- execute_process(COMMAND ln -s /opt/js8call/bin/js8call ljs8call) ++# execute_process(COMMAND ln -s /opt/js8call/bin/js8call ljs8call) + +- install(FILES +- ${CMAKE_BINARY_DIR}/ljs8call DESTINATION /usr/bin/ RENAME js8call +- #COMPONENT runtime +- ) ++# install(FILES ++# ${CMAKE_BINARY_DIR}/ljs8call DESTINATION /usr/bin/ RENAME js8call ++# #COMPONENT runtime ++# ) + endif (NOT WIN32 AND NOT APPLE) + + diff --git a/media-radio/js8call/js8call-0.7.5.ebuild b/media-radio/js8call/js8call-0.7.5.ebuild new file mode 100644 index 000000000000..a5e90d10cf0b --- /dev/null +++ b/media-radio/js8call/js8call-0.7.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils vcs-snapshot + +MY_P=${P/_/-} + +DESCRIPTION="Weak signal ham radio communication" +HOMEPAGE="https://groups.io/g/js8call" +SRC_URI="https://bitbucket.org/widefido/wsjtx/get/v${PV}.tar.bz2 -> ${P}.tar.bz2" + +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:5 + dev-qt/qtwidgets:5 + dev-qt/qtconcurrent:5 + dev-qt/qtserialport:5 + dev-qt/qtprintsupport:5 + virtual/libusb:1 + media-libs/portaudio + sci-libs/fftw:3.0[threads,fortran] + virtual/fortran + app-text/asciidoc + media-libs/hamlib + doc? ( dev-ruby/asciidoctor )" +DEPEND="${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}/${PV}-makefile-removesymlink.patch" + eapply_user +} + +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}-local || die +# rm "${D}"/usr/share/man/man1/rigctl{,d}-local.1.gz || die + rm "${D}"/usr/share/doc/JS8Call -R || die + +} diff --git a/media-radio/js8call/metadata.xml b/media-radio/js8call/metadata.xml new file mode 100644 index 000000000000..c9b47f5666c7 --- /dev/null +++ b/media-radio/js8call/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>rich0@gentoo.org</email> + <name>Rich Freeman</name> +</maintainer> +<upstream> + <remote-id type="bitbucket">wsjtx</remote-id> +</upstream> +</pkgmetadata> |