commit:     9e51e501d3b01d0aa2e620309920a035831ae9c4
Author:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 23:51:15 2020 +0000
Commit:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 23:51:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e51e501

media-radio/js8call: bump

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>

 media-radio/js8call/Manifest                       |  1 +
 .../js8call/files/js8call-2.2.0-hamlib-type.patch  | 20 +++++++++++
 media-radio/js8call/js8call-2.2.0.ebuild           | 40 ++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/media-radio/js8call/Manifest b/media-radio/js8call/Manifest
index 91af311ca54..a66803baee6 100644
--- a/media-radio/js8call/Manifest
+++ b/media-radio/js8call/Manifest
@@ -3,3 +3,4 @@ DIST js8call-1.1.0.tar.bz2 15993553 BLAKE2B 
3538f746b175d0623169d2a13b5c26b33456
 DIST js8call-2.0.0.tar.bz2 14434190 BLAKE2B 
2d016c93175fe41cd4c24b57fc0a6c65ff5d5630aff68aac4e3e941570f315abe9f083f1686cb95e49d90ea41ac82752fcdd37041727e95820d34bcd0e82e2b1
 SHA512 
58566d4e6009339ef9a1459bdf2902748200b7a002c8be22067ec97eae16cc42465001e7084ebc00b1e406ae47fe45092226e1c6568253a1bbf95c65f040ab75
 DIST js8call-2.1.0.tar.bz2 14432328 BLAKE2B 
3f48be58905cf05af8230b715956ecfec71fd792fafb029cba84c799e51bb1189e158c16ef05bd8959572778aad556a11b0896647a47cc1e6b10ddd48bd033cd
 SHA512 
0edfbc8cbbe3df551d7dc97c7362100d2714e2d37934a053233ca8107247f7fdc67a36b59b1fe701154c9348f27171ddab9c21ffc763072d390431f9dd5382a0
 DIST js8call-2.1.1.tar.bz2 14467115 BLAKE2B 
8ebac342a1fc0bd22d6d53d9d6548ba4ec8f49088aa4901fb542f1d82ecdb9c2a23024aa8638191a3e862ab689c004cdde1562a834029bf53c535510300ed82a
 SHA512 
deee4fe56f457b2bd533e9a44a812d8abcd5733079722504d4f06bee5c824a0a1b8c21ae805793fe419fde85f9e2e4aed10c33192f71378cf40afd68648a20a1
+DIST js8call-2.2.0.tar.bz2 16249923 BLAKE2B 
9bd3124bee7253f48adb0bea031f3c83c3e9487aac7208ce3dfc94208f4c861645bacd581bd44cde19ad3b3e3ac5f7f60993bece2d1fad0164afdae7b3bd290a
 SHA512 
3e66ba0b9bb88b834b0e025b37a395008a058b87fb70c09887936fa18c192c501d127eff6e9ccf792863ccc932aa76feacc4be903ebe7ab2915298aed3689672

diff --git a/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch 
b/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch
new file mode 100644
index 00000000000..54c5a8e0647
--- /dev/null
+++ b/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch
@@ -0,0 +1,20 @@
+--- a/HamlibTransceiver.hpp    2020-06-27 19:35:04.514472802 -0400
++++ b/HamlibTransceiver.hpp    2020-06-27 19:35:34.361368141 -0400
+@@ -12,17 +12,9 @@
+ 
+ extern "C"
+ {
+-#ifdef JS8_USE_HAMLIB_THREE
+   typedef struct rig RIG;
+-#else
+-  typedef struct s_rig RIG;
+-#endif
+   struct rig_caps;
+-#ifdef JS8_USE_HAMLIB_THREE
+   typedef int vfo_t;
+-#else
+-  typedef unsigned int vfo_t;
+-#endif
+ }
+ 
+ // hamlib transceiver and PTT mostly delegated directly to hamlib Rig class

diff --git a/media-radio/js8call/js8call-2.2.0.ebuild 
b/media-radio/js8call/js8call-2.2.0.ebuild
new file mode 100644
index 00000000000..8c4fdb77810
--- /dev/null
+++ b/media-radio/js8call/js8call-2.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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/js8call/get/v${PV}-ga.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-3.4
+       doc? ( dev-ruby/asciidoctor )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-hamlib-type.patch" )
+
+src_install() {
+       cmake-utils_src_install
+       rm "${D}"/usr/bin/rigctl{,d}-local || die
+}

Reply via email to